summaryrefslogtreecommitdiff
path: root/benchmarks/postmark
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/postmark
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/postmark')
-rw-r--r--benchmarks/postmark/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/postmark/Makefile b/benchmarks/postmark/Makefile
index 2b17dc0a88c..727e1bfefed 100644
--- a/benchmarks/postmark/Makefile
+++ b/benchmarks/postmark/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/01/19 09:16:19 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 00:51:44 jlam Exp $
DISTNAME= postmark-1_5.c
PKGNAME= postmark-1.5
@@ -13,6 +13,7 @@ COMMENT= NetApps file system benchmark
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} postmark.c
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
@@ -23,7 +24,7 @@ do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark postmark.c)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${DESTDIR}${PREFIX}/sbin
benchmark:
@(cd ${WRKSRC}; (${ECHO} "set number 5000" ;\