diff options
author | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 20:17:11 +0000 |
commit | 93da8714c36decac2f91167d5510d069789597e2 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/pcf2bdf | |
parent | 4c466bc0cfc7d41864f907ac04383df82c492609 (diff) | |
download | pkgsrc-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/pcf2bdf')
-rw-r--r-- | fonts/pcf2bdf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fonts/pcf2bdf/Makefile b/fonts/pcf2bdf/Makefile index e158484e02c..a7b3f1be0c0 100644 --- a/fonts/pcf2bdf/Makefile +++ b/fonts/pcf2bdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/07 09:13:54 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2008/03/03 20:17:12 jlam Exp $ # DISTNAME= pcf2bdf-1.04 @@ -11,6 +11,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org HOMEPAGE= http://www.tsg.ne.jp/GANA/S/pcf2bdf/ COMMENT= Convert X font from PCF to BDF +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_TOOLS+= gmake USE_LANGUAGES= c++ @@ -19,7 +21,8 @@ MAKE_FILE= Makefile.gcc INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pcf2bdf ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/pcf2bdf.man ${PREFIX}/${PKGMANDIR}/man1/pcf2bdf.1 + ${INSTALL_PROGRAM} ${WRKSRC}/pcf2bdf ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/pcf2bdf.man \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/pcf2bdf.1 .include "../../mk/bsd.pkg.mk" |