diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-19 00:51:20 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-19 00:51:20 +0000 |
commit | 0ea775824626e4582cc444f0dba40ea47254daf7 (patch) | |
tree | 9de92f16cc25a784d8a5021eb5d1934326b0225e /fonts/t1lib/Makefile | |
parent | b6aeaee13bec17a920ce2597a1feb92134b0e97f (diff) | |
download | pkgsrc-0ea775824626e4582cc444f0dba40ea47254daf7.tar.gz |
buildlink1 -> buildlink2 and use bsd.pkg.install.mk instead of local
DEINSTALL/INSTALL scripts.
Diffstat (limited to 'fonts/t1lib/Makefile')
-rw-r--r-- | fonts/t1lib/Makefile | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile index 312d7566d69..1019d463443 100644 --- a/fonts/t1lib/Makefile +++ b/fonts/t1lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/07/19 12:37:41 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2002/09/19 00:51:21 jlam Exp $ # DISTNAME= t1lib-1.1.1 @@ -11,7 +11,7 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html COMMENT= Library for generating bitmaps from Adobe Type 1 fonts -USE_BUILDLINK_ONLY= # defined +USE_BUILDLINK2= # defined GNU_CONFIGURE= # defined USE_GMAKE= # defined USE_X11BASE= # defined @@ -20,24 +20,26 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool ALL_TARGET= without_doc +EGDIR= ${PREFIX}/share/examples/${PKGBASE} +DATADIR= ${PREFIX}/share/${PKGBASE} + +CONF_FILES= ${EGDIR}/t1lib.config.netbsd ${DATADIR}/t1lib.config +CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/t1lib - cd ${WRKSRC}; \ - ${PAX} -rw Fonts ${PREFIX}/share/t1lib; \ - ${CHMOD} go+r ${PREFIX}/share/t1lib/Fonts/enc/IsoLatin2.enc; \ - ${PAX} -rw -s "/doc/t1lib/" doc ${PREFIX}/share/doc - - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/t1lib - cd ${WRKSRC}/examples; \ - ${PAX} -rw FontDataBase t1example1.c t1lib.config \ - ${PREFIX}/share/examples/t1lib - ${SED} -e 's|@@X11BASE@@|${X11BASE}|g' \ - -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \ - -e 's|@@PREFIX@@|${PREFIX}|g' \ - < ${FILESDIR}/t1lib.config.netbsd \ - > ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd - - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL - -.include "../../mk/x11.buildlink.mk" + ${INSTALL_DATA_DIR} ${DATADIR} + cd ${WRKSRC}; \ + ${PAX} -rw Fonts ${DATADIR}; \ + ${CHMOD} go+r ${DATADIR}/Fonts/enc/IsoLatin2.enc; \ + ${PAX} -rw -s "/doc/t1lib/" doc ${PREFIX}/share/doc + + ${INSTALL_DATA_DIR} ${EGDIR} + cd ${WRKSRC}/examples; \ + ${PAX} -rw FontDataBase t1example1.c t1lib.config ${EGDIR} + ${SED} -e "s|@@X11BASE@@|${X11BASE}|g" \ + -e "s|@@LOCALBASE@@|${LOCALBASE}|g" \ + -e "s|@@PREFIX@@|${PREFIX}|g" \ + ${FILESDIR}/t1lib.config.netbsd > ${EGDIR}/t1lib.config.netbsd + +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |