diff options
author | wiz <wiz@pkgsrc.org> | 2001-10-04 11:58:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-10-04 11:58:37 +0000 |
commit | 2007a944a4662ecae4eddddaf8892cb35975db30 (patch) | |
tree | e1068f8a99fda450e087a145cb971bae7518c099 /print/xpdf/Makefile | |
parent | c59e322eb02b8498c9a05c99a268807c84e56cf8 (diff) | |
download | pkgsrc-2007a944a4662ecae4eddddaf8892cb35975db30.tar.gz |
Move from graphics/xpdf to print/xpdf per pkg/14154.
Diffstat (limited to 'print/xpdf/Makefile')
-rw-r--r-- | print/xpdf/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile new file mode 100644 index 00000000000..0a567db1750 --- /dev/null +++ b/print/xpdf/Makefile @@ -0,0 +1,44 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/04 11:58:37 wiz Exp $ +# + +DISTNAME= xpdf-0.92 +CATEGORIES= print +MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ + ${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/} +EXTRACT_SUFX= .tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.foolabs.com/xpdf/ +COMMENT= Display tool for PDF files + +DEPENDS+= ghostscript-fonts-[0-9]*:../../fonts/ghostscript-fonts + +CONFLICTS= xpdf-crypto-[0-9]* + +USE_BUILDLINK_ONLY= YES +USE_X11BASE= YES +GNU_CONFIGURE= YES + +CONFIGURE_ARGS+= --enable-japanese +CONFIGURE_ARGS+= --enable-chinese +CONFIGURE_ARGS+= --with-freetype-includes=${BUILDLINK_DIR}/include +CONFIGURE_ARGS+= --with-t1-includes=${BUILDLINK_DIR}/include +CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" +MAKE_ENV+= SED="${SED}" ECHO="${ECHO}" + +.include "../../mk/bsd.prefs.mk" + +.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" +CONFIGURE_ARGS+= --enable-a4-paper +.endif + +post-install: + ${SED} -e "s|@@LOCALBASE@@|${LOCALBASE}|g" \ + ${FILESDIR}/xpdf-app-defaults \ + > ${X11PREFIX}/lib/X11/app-defaults/Xpdf + +.include "../../graphics/freetype-lib/buildlink.mk" +.include "../../graphics/xpm/buildlink.mk" +.include "../../textproc/t1lib/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" |