pkgsrc/print/dvipdfmx/Makefile

37 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.28 2007/06/06 22:16:33 minskim Exp $
DISTNAME= dvipdfmx-20070518
Update dvipdfmx to 20031116. This closes PR pkg/23961. Approved by kei@ and wiz@. Changes since 20021230: * Fixed a bug on the algorithm converting arc to cubic bezier curves in arc() (tpic.c), which is reported by Werner Lemberg. * PNG support completely rewritten. Color pallete images are now not converted to 24-bit RGB, colorspace Indexed is used instead. Added tRNS and alpha chunnel (transparency) support. Experimental gAMA, cHRM and sRGB support. * Fixed bug that dvipdfmx stops with error "Invalid Subr Index" when embedding CFF OpenType font. * Add a missing line including pdfparse.h in dvi.c, which is reported by Akira Kakuto. * Changed the default font map files for teTeX 2.x as suggested by Haruhiko Okumura. * A bug on the paper size checking routine of dvi_paper_size() in dvi.c is fixed, which is reported by Haruhiko Okumura. * A bug on the kerning routine of dev_set_string() in pdfdev.c is fixed, which is reported by Edward G.J. Lee. * Changed to embed images only one time. * Updated configure.in and config.h.in to support WORDS_BIGENDIAN and SIZEOF_SHORT, SIZEOF_INT, SIZEOF_LONG. * A faked font name was used for TrueType fonts without any PS font name as suggested by Hin-Tak Leung. * Built-in codes (originally from libgcrypt-1.1.42) was used for PDF encryption instead of the OpenSSL library as suggested by Thomas Esser. * A significant bug reported from Haruhiko Okumura is fixed. The bug occurs only if compiled with gcc 3.x, not gcc 2.x. * New feature, hexadecimal Unicode, suggested by iNOUE Koich! and Akira Kakuto is implemented. * Fixed bugs on reading and writing OpenType fonts. * Applied changes for MiKTeX in ps_include() (psimage.c). * Fixed a bug in cff_charsets_lookup() (cff.c). * Fixed a bug in string_mode() (pdfdev.c) reported by iNOUE Koich!.
2004-02-07 05:59:43 +01:00
PKGNAME= ${DISTNAME:S/-/-0.0.0./}
CATEGORIES= print converters
MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/
2003-07-18 00:50:55 +02:00
MAINTAINER= kei@NetBSD.org
HOMEPAGE= http://project.ktug.or.kr/dvipdfmx/
COMMENT= Dvi to pdf converter with CID-keyed font support
DEPENDS+= adobe-cmaps>=20060615:../../fonts/adobe-cmaps
CONFLICTS+= dvipdfm-[0-9]*
CONFLICTS+= ja-dvipdfm-[0-9]*
USE_DIRS+= texmf-1.4
USE_TOOLS+= gs:run
GNU_CONFIGURE= YES
MAKE_ENV+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:Q}
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../print/dvipdfmx/map.mk"
.include "../../print/teTeX/module.mk"
post-install:
cd ${PKG_LOCALTEXMFPREFIX}/dvipdfm; \
for file in ../../Adobe/Resource/CMap/*; do \
${LN} -sf $$file `${BASENAME} $$file`; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dvipdfmx
${MV} ${PKG_LOCALTEXMFPREFIX}/dvipdfm/dvipdfmx.cfg \
${PREFIX}/share/examples/dvipdfmx/
.include "../../mk/bsd.pkg.mk"