From a8d751d3ee9814c8c87f2584ac569caad9e846c3 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 00:51:43 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- benchmarks/postmark/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'benchmarks/postmark') 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" ;\ -- cgit v1.2.3