diff options
author | joerg <joerg> | 2006-11-03 19:14:25 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-11-03 19:14:25 +0000 |
commit | 68b4a7bf2e3356aed074efe011f98777a102b8e5 (patch) | |
tree | c071b6ec79a1f0bdf8b40d141422cd3d942af75a /fonts/ghostscript-fonts | |
parent | 44c32d2861042acb2951eb5a7a26e4aac3934427 (diff) | |
download | pkgsrc-68b4a7bf2e3356aed074efe011f98777a102b8e5.tar.gz |
DESTDIR support.
Diffstat (limited to 'fonts/ghostscript-fonts')
-rw-r--r-- | fonts/ghostscript-fonts/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/fonts/ghostscript-fonts/Makefile b/fonts/ghostscript-fonts/Makefile index 1ea7be7da38..5a94649e4e7 100644 --- a/fonts/ghostscript-fonts/Makefile +++ b/fonts/ghostscript-fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:39 jlam Exp $ +# $NetBSD: Makefile,v 1.16 2006/11/03 19:18:38 joerg Exp $ DISTNAME= ghostscript-fonts-8.11 CATEGORIES= fonts @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gs-fonts.sourceforge.net/ COMMENT= Postscript fonts for Aladdin Ghostscript +PKG_DESTDIR_SUPPORT= user-destdir + # Note: the following two are special files. In the 5.50 directory # on the FTP site, there are symlinks: # ghostscript-fonts-other-5.50.tar.gz -> @@ -30,19 +32,18 @@ NO_BUILD= YES WRKSRC= ${WRKDIR}/fonts FONTS_DIR= ${PREFIX}/share/ghostscript/fonts +INSTALLATION_DIRS= share/ghostscript/fonts do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript - ${INSTALL_DATA_DIR} ${FONTS_DIR} for ext in afm gsf pfa pfb pfm; \ do \ for f in ${WRKSRC}/*.$${ext}; \ do \ - ${INSTALL_DATA} $${f} ${FONTS_DIR}; \ + ${INSTALL_DATA} $${f} ${DESTDIR}${FONTS_DIR}; \ done; \ done - ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${FONTS_DIR} - ${INSTALL_DATA} ${WRKSRC}/fonts.scale ${FONTS_DIR} - ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${FONTS_DIR} + ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${DESTDIR}${FONTS_DIR} + ${INSTALL_DATA} ${WRKSRC}/fonts.scale ${DESTDIR}${FONTS_DIR} + ${INSTALL_DATA} ${FILESDIR}/fonts.alias ${DESTDIR}${FONTS_DIR} .include "../../mk/bsd.pkg.mk" |