diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
commit | d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/chkfontpath | |
parent | 68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff) | |
download | pkgsrc-d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/chkfontpath')
-rw-r--r-- | fonts/chkfontpath/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/chkfontpath/Makefile b/fonts/chkfontpath/Makefile index 311b7e85456..294db362926 100644 --- a/fonts/chkfontpath/Makefile +++ b/fonts/chkfontpath/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/01/07 09:13:54 rillig Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 20:17:11 jlam Exp $ # DISTNAME= chkfontpath-1.9.7 @@ -12,6 +12,8 @@ COMMENT= Command line tool to manage X server's font path BUILD_DEPENDS+= rpm2cpio>=1.1:../../converters/rpm2cpio +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_ENV+= VERSION=${PKGVERSION:Q} USE_TOOLS+= gmake gtar @@ -25,8 +27,8 @@ do-extract: ${GTAR} zxf ${DISTNAME}.tar.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/chkfontpath ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/en/chkfontpath.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/chkfontpath ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/en/chkfontpath.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../devel/popt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |