From 9989180feefad940420001df007d4406b7e8c3b2 Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Tue, 18 Oct 2011 11:27:43 +0000 Subject: [PATCH] New port: sysutils/fex fex works like cut or awk in its field navigation, but allows you to specify token-based fields in a much more concise, flexible, and readable way. Due to the simplicity of fex's language, it can enable you to replace many common invocations of cut and awk with a single invocation of fex. WWW: http://semicomplete.com/projects/fex/ --- sysutils/Makefile | 1 + sysutils/fex/Makefile | 24 ++++++++++++++++++++++++ sysutils/fex/distinfo | 2 ++ sysutils/fex/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) create mode 100644 sysutils/fex/Makefile create mode 100644 sysutils/fex/distinfo create mode 100644 sysutils/fex/pkg-descr diff --git a/sysutils/Makefile b/sysutils/Makefile index a91de9d149b6..b42adb53807b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -220,6 +220,7 @@ SUBDIR += fcron SUBDIR += fdupes SUBDIR += fetchlog + SUBDIR += fex SUBDIR += ffs2recov SUBDIR += file SUBDIR += filedupe diff --git a/sysutils/fex/Makefile b/sysutils/fex/Makefile new file mode 100644 index 000000000000..3e5ea72dc0b4 --- /dev/null +++ b/sysutils/fex/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: fex +# Date created: 17 October 2011 +# Whom: Ryan Steinmetz +# +# $FreeBSD$ +# + +PORTNAME= fex +PORTVERSION= 1.20111017.1 +CATEGORIES= sysutils +MASTER_SITES= http://semicomplete.com/files/${PORTNAME}/ \ + http://people.rit.edu/rpsfa/distfiles/ + +MAINTAINER= zi@FreeBSD.org +COMMENT= A powerful field extraction tool + +LICENSE= ASL + +PLIST_FILES= bin/fex + +post-patch: + @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|g' ${WRKSRC}/Makefile + +.include diff --git a/sysutils/fex/distinfo b/sysutils/fex/distinfo new file mode 100644 index 000000000000..0c02c2c4bc72 --- /dev/null +++ b/sysutils/fex/distinfo @@ -0,0 +1,2 @@ +SHA256 (fex-1.20111017.1.tar.gz) = 57ba2ac5dc97d25c1e7a2c80201085112fb1ee664e327948c4ba44a146b35ae0 +SIZE (fex-1.20111017.1.tar.gz) = 137755 diff --git a/sysutils/fex/pkg-descr b/sysutils/fex/pkg-descr new file mode 100644 index 000000000000..cec07fa24313 --- /dev/null +++ b/sysutils/fex/pkg-descr @@ -0,0 +1,8 @@ +fex works like cut or awk in its field navigation, but allows +you to specify token-based fields in a much more concise, flexible, +and readable way. + +Due to the simplicity of fex's language, it can enable you to replace +many common invocations of cut and awk with a single invocation of fex. + +WWW: http://semicomplete.com/projects/fex/