diff options
author | epg <epg@pkgsrc.org> | 2008-08-19 23:41:05 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-08-19 23:41:05 +0000 |
commit | da6a0f026fcc4d1ec2afb66e116d58ce8be42041 (patch) | |
tree | 60db186d10c53aacb75e2a6661dcfd05b1e2e8bb /sysutils/xapply | |
parent | 2cf4f664e11a75dcf9a5fc0d3c60caeb5146e98b (diff) | |
download | pkgsrc-da6a0f026fcc4d1ec2afb66e116d58ce8be42041.tar.gz |
Support user-destdir.
Diffstat (limited to 'sysutils/xapply')
-rw-r--r-- | sysutils/xapply/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/xapply/Makefile b/sysutils/xapply/Makefile index e5b9632a51c..a36c6f97628 100644 --- a/sysutils/xapply/Makefile +++ b/sysutils/xapply/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2007/01/07 09:14:13 rillig Exp $ +# $NetBSD: Makefile,v 1.6 2008/08/19 23:41:05 epg Exp $ # DISTNAME= xapply-3.4 @@ -10,10 +10,12 @@ EXTRACT_SUFX= .tgz MAINTAINER= epg@NetBSD.org COMMENT= Parallel Execution tool a la xargs/apply +PKG_DESTDIR_SUPPORT= user-destdir +PKG_INSTALLATION_TYPES= overwrite pkgviews + BUILD_DEPENDS+= mkcmd>=8.14:../../devel/mkcmd INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 -PKG_INSTALLATION_TYPES= overwrite pkgviews do-build: cd ${WRKSRC}/bin/xapply && \ @@ -22,8 +24,8 @@ do-build: ROOT=${PREFIX} BIN=${PREFIX}/bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/xapply/xapply ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/xapply/xapply ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/bin/xapply/xapply.man \ - ${PREFIX}/${PKGMANDIR}/man1/xapply.1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xapply.1 .include "../../mk/bsd.pkg.mk" |