Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2018 06:18:33 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487407 - in head/sysutils: . goawk
Message-ID:  <201812140618.wBE6IXj2031019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Dec 14 06:18:32 2018
New Revision: 487407
URL: https://svnweb.freebsd.org/changeset/ports/487407

Log:
  New port: sysutils/goawk: AWK interpreter written in Go

Added:
  head/sysutils/goawk/
  head/sysutils/goawk/Makefile   (contents, props changed)
  head/sysutils/goawk/distinfo   (contents, props changed)
  head/sysutils/goawk/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri Dec 14 05:42:00 2018	(r487406)
+++ head/sysutils/Makefile	Fri Dec 14 06:18:32 2018	(r487407)
@@ -445,6 +445,7 @@
     SUBDIR += gnome-system-monitor
     SUBDIR += gnome_subr
     SUBDIR += goaccess
+    SUBDIR += goawk
     SUBDIR += gomplate
     SUBDIR += google-compute-engine-oslogin
     SUBDIR += goss

Added: head/sysutils/goawk/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/goawk/Makefile	Fri Dec 14 06:18:32 2018	(r487407)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	goawk
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.1.2
+CATEGORIES=	sysutils
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	AWK interpreter written in Go
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/LICENSE.txt
+
+BUILD_DEPENDS=	go:lang/go
+
+USE_GITHUB=	nodefault # the main code is in GH_TUPLE
+GH_ACCOUNT=	benhoyt
+GH_TUPLE=	benhoyt:goawk:${DISTVERSIONFULL}:main/src/github.com/benhoyt/goawk
+GH_SUBDIR=	src/github.com/${GH_ACCOUNT}/${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-build:
+	@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
+		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./...
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/sysutils/goawk/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/goawk/distinfo	Fri Dec 14 06:18:32 2018	(r487407)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1544767814
+SHA256 (benhoyt-goawk-v1.1.2_GH0.tar.gz) = 84f45e33d0a9a0c37a67e826a81678f3769d8bb14a26de1021304d4b68bff77d
+SIZE (benhoyt-goawk-v1.1.2_GH0.tar.gz) = 1454270

Added: head/sysutils/goawk/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/goawk/pkg-descr	Fri Dec 14 06:18:32 2018	(r487407)
@@ -0,0 +1,3 @@
+Re-implementation of AWK, a popular text processing language, in Go.
+
+WWW: https://github.com/benhoyt/goawk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812140618.wBE6IXj2031019>