summaryrefslogtreecommitdiff
path: root/fonts/chkfontpath
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 20:17:11 +0000
committerjlam <jlam>2008-03-03 20:17:11 +0000
commit93da8714c36decac2f91167d5510d069789597e2 (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/chkfontpath
parent4c466bc0cfc7d41864f907ac04383df82c492609 (diff)
downloadpkgsrc-93da8714c36decac2f91167d5510d069789597e2.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/Makefile8
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"