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/ttf2pk | |
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/ttf2pk')
-rw-r--r-- | fonts/ttf2pk/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/fonts/ttf2pk/Makefile b/fonts/ttf2pk/Makefile index ff4dd2d036b..bd6d50c9ff2 100644 --- a/fonts/ttf2pk/Makefile +++ b/fonts/ttf2pk/Makefile @@ -1,6 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2007/01/07 09:13:54 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2008/03/03 20:17:12 jlam Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../graphics/freetype-lib/Makefile.common" PKGNAME= ttf2pk-${FT_VERS} @@ -32,25 +34,25 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: ${INSTALL_PROGRAM} ${T2PSRC}/ttf2pk \ ${T2PSRC}/ttf2tfm \ - ${PREFIX}/bin + ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${T2PSRC}/ttf2pk.1 \ ${T2PSRC}/ttf2tfm.1 \ - ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/ttf2pk + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/ttf2pk ${INSTALL_DATA} ${T2PSRC}/BUGS \ ${T2PSRC}/README \ ${T2PSRC}/TODO \ ${T2PSRC}/ttf2pk.doc \ ${T2PSRC}/data/ttfonts.map \ - ${PKG_LOCALTEXMFPREFIX}/doc/ttf2pk - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/ttf2tfm + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/ttf2pk + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/ttf2tfm ${LN} -fs ttf2tfm \ - ${PKG_LOCALTEXMFPREFIX}/ttf2pk - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/ttf2pk + ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base ${INSTALL_DATA} ${T2PSRC}/data/*.enc \ ${T2PSRC}/data/*.rpl \ ${T2PSRC}/data/*.sfd \ - ${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base - ${TOUCH} ${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base/ttfonts.map + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base + ${TOUCH} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/ttf2tfm/base/ttfonts.map .include "../../mk/bsd.pkg.mk" |