summaryrefslogtreecommitdiffstats
path: root/sysutils/xapply
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-11-13 17:28:18 +0000
committerpetef <petef@FreeBSD.org>2002-11-13 17:28:18 +0000
commit1e6b4bf67457bdfd85aaa1906294c7ab45ed4140 (patch)
tree0409835cf9667b398cfd445d6cd5292392dde449 /sysutils/xapply
parenteab652febfc1b0ef8c7c0840c400c03a3fa709ab (diff)
downloadFreeBSD-ports-1e6b4bf67457bdfd85aaa1906294c7ab45ed4140.zip
FreeBSD-ports-1e6b4bf67457bdfd85aaa1906294c7ab45ed4140.tar.gz
Add xapply 3.4, parallel Execution tool ala xargs/apply.
Submitted by: Stephen Gunn <csg@fedex.com>
Diffstat (limited to 'sysutils/xapply')
-rw-r--r--sysutils/xapply/Makefile39
-rw-r--r--sysutils/xapply/distinfo1
-rw-r--r--sysutils/xapply/pkg-comment1
-rw-r--r--sysutils/xapply/pkg-descr5
-rw-r--r--sysutils/xapply/pkg-plist1
5 files changed, 47 insertions, 0 deletions
diff --git a/sysutils/xapply/Makefile b/sysutils/xapply/Makefile
new file mode 100644
index 0000000..1a8dd25
--- /dev/null
+++ b/sysutils/xapply/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: xapply
+# Date created: Nov 1 2002
+# Whom: Stephen Gunn <csg@fedex.com>, <csg@waterspout.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xapply
+PORTVERSION= 3.4
+CATEGORIES= sysutils
+MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/ \
+ http://archive.progeny.com/pundits/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= csg@fedex.com
+
+BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 \
+ mkcmd:${PORTSDIR}/devel/mkcmd
+
+USE_REINPLACE= yes
+MAKE_FLAGS=
+MAKEFILE=
+MAN1= xapply.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,CFLAGS=,CFLAGS+=,' -e 's,^DEBUG,#DEBUG,'\
+ -e 's,gcc,${CC},' ${WRKSRC}/bin/xapply/Make.host
+
+do-build:
+ ( cd ${WRKSRC}/bin/${PORTNAME} && ${SETENV} ${MAKE_ENV} makeme \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET} )
+
+do-install:
+ ( cd ${WRKSRC}/bin/${PORTNAME} && ${SETENV} ${MAKENV} makeme \
+ ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} )
+ ${INSTALL_MAN} ${WRKSRC}/bin/xapply/${PORTNAME}.man \
+ ${PREFIX}/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/xapply/distinfo b/sysutils/xapply/distinfo
new file mode 100644
index 0000000..71994d7
--- /dev/null
+++ b/sysutils/xapply/distinfo
@@ -0,0 +1 @@
+MD5 (xapply-3.4.tgz) = 6e8b976cd3696c3d478e61104cc866e9
diff --git a/sysutils/xapply/pkg-comment b/sysutils/xapply/pkg-comment
new file mode 100644
index 0000000..0d0f0d8
--- /dev/null
+++ b/sysutils/xapply/pkg-comment
@@ -0,0 +1 @@
+Parallel Execution tool ala xargs/apply
diff --git a/sysutils/xapply/pkg-descr b/sysutils/xapply/pkg-descr
new file mode 100644
index 0000000..3f380d8
--- /dev/null
+++ b/sysutils/xapply/pkg-descr
@@ -0,0 +1,5 @@
+xapply (Extended Apply) is an clever derivative of xargs and apply.
+Using list or tabular input from one or more descriptors, xapply
+executes a template command modified for each input. It supports
+simple split on token expression, and has support (ala make -j)
+for running many jobs in parallel.
diff --git a/sysutils/xapply/pkg-plist b/sysutils/xapply/pkg-plist
new file mode 100644
index 0000000..dd31ccd
--- /dev/null
+++ b/sysutils/xapply/pkg-plist
@@ -0,0 +1 @@
+bin/xapply
OpenPOWER on IntegriCloud