summaryrefslogtreecommitdiff
path: root/print/xpdf/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-19 01:45:42 +0000
committerjlam <jlam>2002-09-19 01:45:42 +0000
commitb49086db65e70a071632e9101a7453b97759f85f (patch)
treec272a3554cc057f63869bb00d571fbc7adf859e8 /print/xpdf/Makefile
parent770e38c8f1b7bab51a0c9fedae0185f7f30e56ad (diff)
downloadpkgsrc-b49086db65e70a071632e9101a7453b97759f85f.tar.gz
Updated print/xpdf to version 1.01. Changes from version 1.00 include:
Honoring ${PKG_SYSCONFDIR} for location of xpdfrc. Implemented Type 3 fonts. Implemented PostScript CID font embedding; added a psEmbedCIDPostScriptFonts option. Implemented PostScript 16-bit font substitution; added psNamedFont16 and psFont16 options. Moved the initialZoom setting from X resources to the xpdfrc file. Implemented the radial shading type in the sh (shaded fill) operator. [Thanks to Mike Sweet.] Added an 'include' command to the xpdfrc format. Added the displayNamedCIDFontX option so different fonts can be used within one character collection. Implemented stroked text in XOutputDev (with t1lib and FreeType2). [Thanks to Leonard Rosenthol.] Implemented stroked text in PSOutputDev. Added a built-in Unicode map for UCS-2. PSOutputDev will now embed external TrueType fonts in addition to external Type 1 fonts. Added the Big5ascii Unicode map to the Chinese-traditional support package (maps 7-bit ASCII straight through). [Thanks to Lawrence Lai.] Modified the EUC-CN and EUC-JP encodings to pass 7-bit ASCII straight through. [Thanks to Lawrence Lai.] In the code that guesses character names (for font subsets), also handle names of the form 'ABnnn'. [Thanks to Colin Granville.] Tweak the Type 1 font bbox code to look at the bboxes in both the PDF font object and the embedded font file. Added an optional displayCIDFontX entry for one of the Arphic TrueType fonts in the traditional Chinese 'add-to-xpdfrc' file. Added psASCIIHex parameter. Added the GBK Unicode map to the simplified Chinese language pack. Pdftotext now opens the text file in binary mode to avoid Microsoft's annoying automatic end-of-line translation stuff. Added an executeCommand function in goo/gfile.cc. [Thanks to Mikhail Kruk.] The %ALDImagePosition OPI comment was wrong if the page was scaled to a different paper size. The OPI code was saving the default transform matrix before calling setpagedevice, which can change the matrix. PSOutputDev now handles PostScript XObjects.
Diffstat (limited to 'print/xpdf/Makefile')
-rw-r--r--print/xpdf/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile
index 846b81b7093..20f831ac022 100644
--- a/print/xpdf/Makefile
+++ b/print/xpdf/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2002/08/25 21:50:34 jlam Exp $
+# $NetBSD: Makefile,v 1.11 2002/09/19 01:45:42 jlam Exp $
#
-DISTNAME= xpdf-1.00
-PKGREVISION= 1 # because of switch to freetype2
+DISTNAME= xpdf-1.01
CATEGORIES= print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/}
@@ -17,8 +16,9 @@ CONFLICTS= xpdf-crypto-[0-9]*
USE_BUILDLINK2= YES
USE_X11BASE= YES
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-freetype2-includes=${BUILDLINK_PREFIX.freetype2}/include/freetype2
CONFIGURE_ARGS+= --with-t1-includes=${BUILDLINK_PREFIX.t1lib}/include
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
@@ -30,8 +30,16 @@ MAKE_ENV+= SED="${SED}" ECHO="${ECHO}"
CONFIGURE_ARGS+= --enable-a4-paper
.endif
+EGDIR= ${PREFIX}/share/examples/xpdf
+CONF_FILES= ${EGDIR}/xpdfrc ${PKG_SYSCONFDIR}/xpdfrc
+
.include "../../fonts/t1lib/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/xpm/buildlink2.mk"
+.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
+
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-mipsel)
+CXXFLAGS:= ${CXXFLAGS:N-O[0-9]*}
+.endif