summaryrefslogtreecommitdiff
path: root/fonts/t1lib/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-19 01:26:41 +0000
committerjlam <jlam>2002-09-19 01:26:41 +0000
commit724d8e38e2dfca20c8f6128913ceeee10594644a (patch)
tree3fb21be305824188bea743a257c0ae6542e60f25 /fonts/t1lib/Makefile
parentddcbffd1c73a9a61e358dd030cde2fa59e120209 (diff)
downloadpkgsrc-724d8e38e2dfca20c8f6128913ceeee10594644a.tar.gz
Update fonts/t1lib to 1.3.1. Changes from version 1.1.1 include:
* Move t1lib.config.netbsd sample file to t1lib.config.sample, which is more OS-neutral. - Bug fixes. - Fixed kerning mapping code. Kerning did not work correctly for characters that appeared multiple times in an encoding vector. - In the same context a new function, T1_GetEncodingIndices() has been added to the API. It returns an array of indices (by contrast, T1_GetEncodingIndex() returns only the lowest index found). - Support for composite characters. - Additional support for dvips encoding files (thanks to suggestion and contribution by Nicolai Langfeldt (janl@linpro.no). - Global Font Metrics Information is loaded from AFM files in order to be able to read the typographic ascender. Line ruling did not behave as documented. However, problems could still exist because the typographic ascender specification is optional in AFMs. - Reorganized search path handling and, in particular, the respective documentation is more detailed. - The configuration file now allows multiple lines of one type of search path specification and it is also possible to quote path specification in order to specify paths that contains special characters like spaces, colons, etc. - Multiple font databases are supported. - T1_PrintLog() extended to accept a variable argument list. - The environment variable T1LIB_LOGMODE is evaluated to give the user the chance to specify a loglevel and hence to detect t1lib-problems even if the application programmer did not enable the log file features. - Color problem in t1x11-module fixed. - Fixes in AFM parser. Among others, Version had been read as name, instead of as string. This led to a failure to scan global font info for some standard AFMs.
Diffstat (limited to 'fonts/t1lib/Makefile')
-rw-r--r--fonts/t1lib/Makefile28
1 files changed, 13 insertions, 15 deletions
diff --git a/fonts/t1lib/Makefile b/fonts/t1lib/Makefile
index 1019d463443..07fdf352fa5 100644
--- a/fonts/t1lib/Makefile
+++ b/fonts/t1lib/Makefile
@@ -1,45 +1,43 @@
-# $NetBSD: Makefile,v 1.2 2002/09/19 00:51:21 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/19 01:26:41 jlam Exp $
#
-DISTNAME= t1lib-1.1.1
-WRKSRC= ${WRKDIR}/T1-1.1.1
+DISTNAME= t1lib-1.3.1
CATEGORIES= fonts devel graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} \
- ftp://ftp.neuroinformatik.ruhr-uni-bochum.de/pub/software/t1lib/
+ ftp://ftp.foolabs.com/pub/xpdf/
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
+COMMENT= library for generating bitmaps from Adobe Type 1 fonts
USE_BUILDLINK2= # defined
-GNU_CONFIGURE= # defined
USE_GMAKE= # defined
-USE_X11BASE= # defined
+GNU_CONFIGURE= # defined
USE_LIBTOOL= # defined
-LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+LTCONFIG_OVERRIDE= ${WRKSRC}/ac-tools/ltconfig
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}/t1lib.config.sample ${DATADIR}/t1lib.config
CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase
+pre-build:
+ ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM}
+
post-install:
${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
+ ${PAX} -rw -s "/doc/${PKGBASE}/" 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
+ ${SED} ${FILES_SUBST_SED} \
+ ${FILESDIR}/t1lib.config.sample > ${EGDIR}/t1lib.config.sample
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"