pkgsrc/sysutils/xapply/Makefile
epg 4492061965 Import xapply-3.4.
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 (a la make -j) for running many
jobs in parallel.
2004-11-10 00:47:44 +00:00

30 lines
769 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/11/10 00:47:44 epg Exp $
#
DISTNAME= xapply-3.4
CATEGORIES= mine
MASTER_SITES= http://archive.progeny.com/pundits/
EXTRACT_SUFX= .tgz
MAINTAINER= epg@NetBSD.org
COMMENT= Parallel Execution tool a la xargs/apply
BUILD_DEPENDS+= mkcmd>=8.14:../../devel/mkcmd
USE_BUILDLINK3= yes
INSTALLATION_DIRS= bin man/man1
PKG_INSTALLATION_TYPES= overwrite pkgviews
do-build:
cd ${WRKSRC}/bin/xapply && \
MKCMD='-I${LOCALBASE}/lib/mkcmd -I${LOCALBASE}/lib/mkcmd/type' \
HOSTTYPE= ${SH} ${FILESDIR}/makeme \
ROOT=${PREFIX} BIN=${PREFIX}/bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xapply/xapply ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/bin/xapply/xapply.man \
${PREFIX}/man/man1/xapply.1
.include "../../mk/bsd.pkg.mk"