2007-06-07 00:16:33 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2007/06/06 22:16:33 minskim Exp $
|
2003-02-24 16:29:22 +01:00
|
|
|
|
2007-06-07 00:16:33 +02:00
|
|
|
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./}
|
2003-02-24 16:29:22 +01:00
|
|
|
CATEGORIES= print converters
|
2007-06-07 00:16:33 +02:00
|
|
|
MASTER_SITES= http://project.ktug.or.kr/dvipdfmx/snapshot/release/
|
2003-02-24 16:29:22 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= kei@NetBSD.org
|
2003-02-24 16:29:22 +01:00
|
|
|
HOMEPAGE= http://project.ktug.or.kr/dvipdfmx/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Dvi to pdf converter with CID-keyed font support
|
2003-02-24 16:29:22 +01:00
|
|
|
|
2007-06-07 00:16:33 +02:00
|
|
|
DEPENDS+= adobe-cmaps>=20060615:../../fonts/adobe-cmaps
|
2003-02-24 16:29:22 +01:00
|
|
|
|
|
|
|
CONFLICTS+= dvipdfm-[0-9]*
|
|
|
|
CONFLICTS+= ja-dvipdfm-[0-9]*
|
|
|
|
|
2007-06-07 00:16:33 +02:00
|
|
|
USE_DIRS+= texmf-1.4
|
2005-11-28 07:41:20 +01:00
|
|
|
USE_TOOLS+= gs:run
|
2003-02-24 16:29:22 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= PKG_LOCALTEXMFPREFIX=${PKG_LOCALTEXMFPREFIX:Q}
|
2003-02-24 16:29:22 +01:00
|
|
|
|
2005-11-20 19:51:53 +01:00
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2005-11-20 20:14:50 +01:00
|
|
|
.include "../../print/dvipdfmx/map.mk"
|
2005-11-20 19:51:53 +01:00
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
|
2005-11-14 18:01:36 +01:00
|
|
|
post-install:
|
2007-06-07 00:16:33 +02:00
|
|
|
cd ${PKG_LOCALTEXMFPREFIX}/dvipdfm; \
|
|
|
|
for file in ../../Adobe/Resource/CMap/*; do \
|
|
|
|
${LN} -sf $$file `${BASENAME} $$file`; \
|
2005-11-14 18:01:36 +01:00
|
|
|
done
|
2005-11-20 20:14:50 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dvipdfmx
|
2007-06-07 00:16:33 +02:00
|
|
|
${MV} ${PKG_LOCALTEXMFPREFIX}/dvipdfm/dvipdfmx.cfg \
|
2005-11-20 20:14:50 +01:00
|
|
|
${PREFIX}/share/examples/dvipdfmx/
|
2005-11-14 18:01:36 +01:00
|
|
|
|
2003-02-24 16:29:22 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|