From 9d2f5014a690a68a6f89ddc06b2687ebe4f47cfd Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Tue, 18 Oct 2011 21:09:14 +0000 Subject: [PATCH] New port: textproc/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/ --- textproc/Makefile | 1 + textproc/fex/Makefile | 24 ++++++++++++++++++++++++ textproc/fex/distinfo | 2 ++ textproc/fex/pkg-descr | 8 ++++++++ 4 files changed, 35 insertions(+) create mode 100644 textproc/fex/Makefile create mode 100644 textproc/fex/distinfo create mode 100644 textproc/fex/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index d11bbec8f0d7..acc25408d6a1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -173,6 +173,7 @@ SUBDIR += exslt SUBDIR += ezxml SUBDIR += fa-aspell + SUBDIR += fex SUBDIR += ffe SUBDIR += fi-aspell SUBDIR += filepp diff --git a/textproc/fex/Makefile b/textproc/fex/Makefile new file mode 100644 index 000000000000..c1e711323177 --- /dev/null +++ b/textproc/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= textproc +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/textproc/fex/distinfo b/textproc/fex/distinfo new file mode 100644 index 000000000000..0c02c2c4bc72 --- /dev/null +++ b/textproc/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/textproc/fex/pkg-descr b/textproc/fex/pkg-descr new file mode 100644 index 000000000000..cec07fa24313 --- /dev/null +++ b/textproc/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/