diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-06 11:25:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-06 11:25:24 +0000 |
commit | f9e5792fb58eb8f1164e6efdd9c6cbc5d2cd8d5e (patch) | |
tree | 37322b11b10518af6330599c95b81ae8b8205e3d /fonts/t1lib/Makefile | |
parent | 4fb0965f6f32c061ee4138e3ca0a99ebd6271d26 (diff) | |
download | pkgsrc-f9e5792fb58eb8f1164e6efdd9c6cbc5d2cd8d5e.tar.gz |
DESTDIR support and switch to modular buildlinks.
Diffstat (limited to 'fonts/t1lib/Makefile')
-rw-r--r-- | fonts/t1lib/Makefile | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile index 73d3f8f867d..84050029155 100644 --- a/fonts/t1lib/Makefile +++ b/fonts/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2006/04/08 07:21:28 reed Exp $ +# $NetBSD: Makefile,v 1.33 2006/11/06 11:25:24 joerg Exp $ DISTNAME= t1lib-5.1.0 PKGREVISION= 5 @@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Library for generating bitmaps from Adobe Type 1 fonts PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_LIBTOOL= yes USE_TOOLS+= gmake @@ -22,7 +23,7 @@ DATADIR= ${PREFIX}/share/${PKGBASE} CONF_FILES= ${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase -.include "../../graphics/xpm/buildlink3.mk" +.include "../../x11/libXpm/buildlink3.mk" SUBST_CLASSES+= paths SUBST_FILES.paths= t1lib.config.sample @@ -37,16 +38,19 @@ pre-build: ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} post-install: - ${INSTALL_DATA_DIR} ${DATADIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR} cd ${WRKSRC}; \ - ${PAX} -rw Fonts ${DATADIR}; \ - ${CHMOD} go+r ${DATADIR}/Fonts/enc/IsoLatin2.enc; \ - ${PAX} -rw -s "/doc/${PKGBASE}/" doc ${PREFIX}/share/doc + ${PAX} -rw Fonts ${DESTDIR}${DATADIR}; \ + ${CHMOD} go+r ${DESTDIR}${DATADIR}/Fonts/enc/IsoLatin2.enc; \ + ${PAX} -rw -s "/doc/${PKGBASE}/" doc ${DESTDIR}${PREFIX}/share/doc - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${DESTDIR}${EGDIR} cd ${WRKSRC}/examples; \ - ${PAX} -rw FontDataBase t1example1.c t1lib.config ${EGDIR} + ${PAX} -rw FontDataBase t1example1.c t1lib.config ${DESTDIR}${EGDIR} -.include "../../mk/x11.buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXt/buildlink3.mk" +.include "../../x11/libXaw/buildlink3.mk" +.include "../../x11/libXp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |