diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-11-13 17:28:18 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-11-13 17:28:18 +0000 |
commit | 34bf4de5e3b18affc3630af93090bc155fcebdd2 (patch) | |
tree | 233c4fa58b62e32b1cc2a4607e6579472e64a120 /sysutils/xapply | |
parent | Upgrade to 1.6.2. (diff) |
Add xapply 3.4, parallel Execution tool ala xargs/apply.
Submitted by: Stephen Gunn <csg@fedex.com>
Notes
Notes:
svn path=/head/; revision=70042
Diffstat (limited to 'sysutils/xapply')
-rw-r--r-- | sysutils/xapply/Makefile | 39 | ||||
-rw-r--r-- | sysutils/xapply/distinfo | 1 | ||||
-rw-r--r-- | sysutils/xapply/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/xapply/pkg-descr | 5 | ||||
-rw-r--r-- | sysutils/xapply/pkg-plist | 1 |
5 files changed, 47 insertions, 0 deletions
diff --git a/sysutils/xapply/Makefile b/sysutils/xapply/Makefile new file mode 100644 index 000000000000..1a8dd2540096 --- /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 000000000000..71994d72b2f5 --- /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 000000000000..0d0f0d806317 --- /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 000000000000..3f380d8f21e3 --- /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 000000000000..dd31ccde407a --- /dev/null +++ b/sysutils/xapply/pkg-plist @@ -0,0 +1 @@ +bin/xapply |