1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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

This commit is contained in:
Yuri Victorovich 2018-12-14 06:18:32 +00:00
parent 178370196f
commit 08fe21f89a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487407
4 changed files with 37 additions and 0 deletions

View File

@ -445,6 +445,7 @@
SUBDIR += gnome-system-monitor
SUBDIR += gnome_subr
SUBDIR += goaccess
SUBDIR += goawk
SUBDIR += gomplate
SUBDIR += google-compute-engine-oslogin
SUBDIR += goss

30
sysutils/goawk/Makefile Normal file
View File

@ -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>

3
sysutils/goawk/distinfo Normal file
View File

@ -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

3
sysutils/goawk/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Re-implementation of AWK, a popular text processing language, in Go.
WWW: https://github.com/benhoyt/goawk