diff options
author | fredb <fredb@pkgsrc.org> | 1999-09-24 01:00:03 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 1999-09-24 01:00:03 +0000 |
commit | 22bd670c970f64fd898b00f79ee166b471b40b22 (patch) | |
tree | b9016d4458d175fbdf423afe9f231e8e0fbc5660 /textproc/t1lib/Makefile | |
parent | 369c1faa21d022818abb88a0e2a2242813442045 (diff) | |
download | pkgsrc-22bd670c970f64fd898b00f79ee166b471b40b22.tar.gz |
Update t1lib to 0.9.2
Closes PR pkg/7746, t1lib-0.8beta->t1lib-0.9, by Kazuki Sakamoto
- - consolidate (and make obsolete) t1libx, as discussed on "packages"
- - install LaTeX doc sources and add message explaining how to build
t1lib_doc.dvi in order to remove dependence on teTeX
- - install sample fonts
- - construct and install a sane configuration for NetBSD
Diffstat (limited to 'textproc/t1lib/Makefile')
-rw-r--r-- | textproc/t1lib/Makefile | 53 |
1 files changed, 34 insertions, 19 deletions
diff --git a/textproc/t1lib/Makefile b/textproc/t1lib/Makefile index 6afe69cef0c..ef74d738ed8 100644 --- a/textproc/t1lib/Makefile +++ b/textproc/t1lib/Makefile @@ -1,28 +1,43 @@ -# $NetBSD: Makefile,v 1.2 1999/04/15 20:39:47 tron Exp $ +# $NetBSD: Makefile,v 1.3 1999/09/24 01:00:03 fredb Exp $ # -DISTNAME= t1lib-0.8-beta -PKGNAME= t1lib-0.8 -CATEGORIES= textproc -MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} +DISTNAME= t1lib-0.9.2 +CATEGORIES= textproc devel graphics +MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} -MAINTAINER= root@garbled.net -HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib.html +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib.html -BUILD_DEPENDS= latex:../../print/teTeX +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +USE_X11BASE= yes -WRKSRC= ${WRKDIR}/T1-0.8-beta -USE_GMAKE= yes -GNU_CONFIGURE= yes -USE_LIBTOOL= yes -CONFIGURE_ARGS= --without-x +WRKSRC= ${WRKDIR}/T1-0.9.2 +MESSAGE_FILE= ${WRKDIR}/MESSAGE +ALL_TARGET= without_doc + +post-build: + ${SED} s^@@PREFIX@@^${PREFIX}^g < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE post-install: - ${MKDIR} ${LOCALBASE}/share/examples/t1lib - ${CP} ${WRKSRC}/examples/Makefile ${LOCALBASE}/share/examples/t1lib - ${CP} ${WRKSRC}/examples/t1example1.c ${LOCALBASE}/share/examples/t1lib - ${CP} ${WRKSRC}/examples/t1lib.config ${LOCALBASE}/share/examples/t1lib - ${CP} ${WRKSRC}/examples/README.t1example1 ${LOCALBASE}/share/examples/t1lib - ${CP} ${WRKSRC}/examples/FontDataBase ${LOCALBASE}/share/examples/t1lib + ${MKDIR} ${PREFIX}/share/t1lib + cd ${WRKSRC}; \ + ${PAX} -r -w Fonts ${PREFIX}/share/t1lib; \ + ${PAX} -r -w -s "/doc/t1lib/" doc ${PREFIX}/share/doc + ${MKDIR} ${PREFIX}/share/examples/t1lib + cd ${WRKSRC}/examples; \ + ${PAX} -r -w FontDataBase README.t1example1 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 + if [ ! -f ${PREFIX}/share/t1lib/t1lib.config ]; then \ + ${CP} ${PREFIX}/share/examples/t1lib/t1lib.config.netbsd \ + ${PREFIX}/share/t1lib/t1lib.config; \ + fi + if [ ! -f ${PREFIX}/share/t1lib/FontDataBase ]; then \ + ${CP} ${PREFIX}/share/examples/t1lib/FontDataBase ${PREFIX}/share/t1lib; \ + fi .include "../../mk/bsd.pkg.mk" |