diff options
author | wiz <wiz@pkgsrc.org> | 2009-04-29 09:20:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-04-29 09:20:40 +0000 |
commit | fbf8c128c7b5f3320d6147b6c0ad4fcad2afce5e (patch) | |
tree | c49532cdff2a539862ad44ef2efeb76a371163d4 /benchmarks/ubench/Makefile | |
parent | 8a26bfabda8fa9e1430b776eaf06a6274d41d5c2 (diff) | |
download | pkgsrc-fbf8c128c7b5f3320d6147b6c0ad4fcad2afce5e.tar.gz |
Convert to user-destdir. From Aleksey Cheusov in PR 39982.
Diffstat (limited to 'benchmarks/ubench/Makefile')
-rw-r--r-- | benchmarks/ubench/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile index 4e47213aa2f..dfb25a44b99 100644 --- a/benchmarks/ubench/Makefile +++ b/benchmarks/ubench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/03/04 21:29:01 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2009/04/29 09:20:40 wiz Exp $ # DISTNAME= ubench-0.32 @@ -10,16 +10,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.phystech.com/download/ubench.html COMMENT= The Unix Benchmark utility +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= ubench INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/ubench SUBST_CLASSES+= path SUBST_STAGE.path= post-configure SUBST_FILES.path= Makefile -SUBST_SED.path= -e "s,/usr/local,${PREFIX}," +SUBST_SED.path= -e "s,/usr/local,${DESTDIR}${PREFIX}," post-install: - ${INSTALL_MAN} ${WRKSRC}/ubench.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ubench + ${INSTALL_MAN} ${WRKSRC}/ubench.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ubench .include "../../mk/bsd.pkg.mk" |