4de2eb35f5
- Forced PostScript target in the doc directory to file. - Subsetting code extended in order to ensure that components of composite characters are also part of the subset. - Hinting meachanism reworked in order to get rid of some rasterizing artifacts. - Experimental support for stroked fonts (PaintType=1) - Experimental support for stroking standard ATM fonts with PaintType=0. - Functions for drawing rectangles. - Bug Fixes Changes 5.0.1: - Support for Flex was not adapted to the changes from 5.0.0. This led to rasterization errors in fonts that use the Flex functionality --> fixed. - Bug Fixes
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2004/03/03 11:28:11 adam Exp $
|
|
#
|
|
|
|
DISTNAME= t1lib-5.0.1
|
|
CATEGORIES= fonts devel graphics
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE:=libs/graphics/} \
|
|
ftp://ftp.foolabs.com/pub/xpdf/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Library for generating bitmaps from Adobe Type 1 fonts
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_BUILDLINK3= YES
|
|
USE_PKGINSTALL= YES
|
|
USE_GNU_TOOLS+= make
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
USE_X11= YES
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ac-tools/ltconfig
|
|
|
|
ALL_TARGET= without_doc
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
DATADIR= ${PREFIX}/share/${PKGBASE}
|
|
|
|
CONF_FILES= ${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config
|
|
CONF_FILES+= ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase
|
|
|
|
pre-build:
|
|
${FIND} ${WRKSRC} -name "*.orig" -print | ${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/${PKGBASE}/" doc ${PREFIX}/share/doc
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
cd ${WRKSRC}/examples; \
|
|
${PAX} -rw FontDataBase t1example1.c t1lib.config ${EGDIR}
|
|
${SED} ${FILES_SUBST_SED} \
|
|
${FILESDIR}/t1lib.config.sample > ${EGDIR}/t1lib.config.sample
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|