aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2011-10-19 05:09:14 +0800
committerzi <zi@FreeBSD.org>2011-10-19 05:09:14 +0800
commit764ca817e5521eb3b3eeb3e5b5c357f25b700e8f (patch)
tree47d5fb0611a48a368d0e26796aba9b5716161c4d /textproc
parent50bf8d3442a6237cacd6613421fa0960bb57cede (diff)
downloadfreebsd-ports-gnome-764ca817e5521eb3b3eeb3e5b5c357f25b700e8f.tar.gz
freebsd-ports-gnome-764ca817e5521eb3b3eeb3e5b5c357f25b700e8f.tar.zst
freebsd-ports-gnome-764ca817e5521eb3b3eeb3e5b5c357f25b700e8f.zip
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/
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/fex/Makefile24
-rw-r--r--textproc/fex/distinfo2
-rw-r--r--textproc/fex/pkg-descr8
4 files changed, 35 insertions, 0 deletions
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 <zi@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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/