summaryrefslogtreecommitdiff
path: root/benchmarks/forkbomb
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/forkbomb
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.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')
-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"