pkgsrc/textproc/t1lib/Makefile
wiz b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2001/01/29 11:34:43 wiz Exp $
#
DISTNAME= t1lib-1.0.1
CATEGORIES= textproc devel graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} \
ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.neuroinformatik.ruhr-uni-bochum.de/ini/PEOPLE/rmz/t1lib/t1lib.html
GNU_CONFIGURE= # defined
USE_GMAKE= # defined
USE_LIBTOOL= # defined
USE_X11BASE= # defined
WRKSRC= ${WRKDIR}/T1-1.0.1
ALL_TARGET= without_doc
post-install:
${MKDIR} ${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
${MKDIR} ${PREFIX}/share/examples/t1lib
cd ${WRKSRC}/examples; \
${PAX} -rw 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
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"