summaryrefslogtreecommitdiff
path: root/benchmarks/forkbomb/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 00:51:43 +0000
committerjlam <jlam>2008-03-03 00:51:43 +0000
commit47ea0a619138ec48bf6f6b8dd266feca338f19e0 (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/forkbomb/Makefile
parent1e4d986899bd1f99c95ee5a1ef8f9cd3fe3a3bd2 (diff)
downloadpkgsrc-47ea0a619138ec48bf6f6b8dd266feca338f19e0.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'benchmarks/forkbomb/Makefile')
-rw-r--r--benchmarks/forkbomb/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/benchmarks/forkbomb/Makefile b/benchmarks/forkbomb/Makefile
index 90f454cd61c..20cb8153948 100644
--- a/benchmarks/forkbomb/Makefile
+++ b/benchmarks/forkbomb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= forkbomb-1.4
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.tiscali.cz:8080/~cz210552/forkbomb.html
COMMENT= Classic Unix fork() bomber
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS+= bin man/man8
do-build:
@@ -16,8 +18,8 @@ do-build:
${WRKSRC}/forkbomb
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${DESTDIR}${PREFIX}/bin
+ 1${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"