diff options
Diffstat (limited to 'graphics/xpdf/Makefile')
-rw-r--r-- | graphics/xpdf/Makefile | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile index 4e7760e516f..c75b8d56116 100644 --- a/graphics/xpdf/Makefile +++ b/graphics/xpdf/Makefile @@ -1,8 +1,37 @@ -# $NetBSD: Makefile,v 1.12 1999/10/25 01:36:27 hubertf Exp $ +# $NetBSD: Makefile,v 1.13 2000/08/21 06:49:13 fredb Exp $ # FreeBSD Id: Makefile,v 1.12 1998/03/11 03:08:12 vanilla Exp # +DISTNAME= xpdf-0.91 +CATEGORIES= graphics print +MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ +EXTRACT_SUFX= .tgz + MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.foolabs.com/xpdf/ -.include "Makefile.common" +DEPENDS+= freetype-1.3.1:../../graphics/freetype +DEPENDS+= ghostscript-fonts-*:../../print/ghostscript-fonts +DEPENDS+= t1lib-1.0.1:../../textproc/t1lib +DEPENDS+= xpm-3.4k:../../graphics/xpm + +CONFLICTS= xpdf-crypto-* + +USE_X11BASE= yes +GNU_CONFIGURE= yes + +CONFIGURE_ARGS+=--enable-japanese --enable-chinese +CONFIGURE_ARGS+=--with-freetype-includes=${LOCALBASE}/include + +post-install: + ${SED} 's|@@LOCALBASE@@|${LOCALBASE}|' \ + < ${FILESDIR}/xpdf-app-defaults \ + > ${X11BASE}/lib/X11/app-defaults/Xpdf + +.include "../../mk/bsd.prefs.mk" + +.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" +CONFIGURE_ARGS+= --enable-a4-paper +.endif + +.include "../../mk/bsd.pkg.mk" |