2001-04-03 16:47:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2001/04/03 14:47:16 wiz Exp $
|
1998-07-25 03:46:56 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.12 1998/03/11 03:08:12 vanilla Exp
|
1998-08-03 20:01:30 +02:00
|
|
|
#
|
1998-07-25 03:46:56 +02:00
|
|
|
|
2000-12-07 18:57:16 +01:00
|
|
|
DISTNAME= xpdf-0.92
|
2000-08-21 08:49:13 +02:00
|
|
|
CATEGORIES= graphics print
|
2000-08-21 11:24:03 +02:00
|
|
|
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
|
|
|
|
${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/}
|
2000-08-21 08:49:13 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1999-09-24 03:30:20 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1998-12-21 00:05:19 +01:00
|
|
|
HOMEPAGE= http://www.foolabs.com/xpdf/
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= Display tool for PDF files
|
1998-07-25 03:46:56 +02:00
|
|
|
|
2000-08-21 17:16:00 +02:00
|
|
|
DEPENDS+= freetype-lib-1.3.1:../../graphics/freetype
|
2001-04-03 16:47:15 +02:00
|
|
|
DEPENDS+= ghostscript-fonts-*:../../fonts/ghostscript-fonts
|
2001-03-28 13:26:09 +02:00
|
|
|
DEPENDS+= t1lib>=1.0.1:../../textproc/t1lib
|
2000-08-21 08:49:13 +02:00
|
|
|
|
|
|
|
CONFLICTS= xpdf-crypto-*
|
|
|
|
|
2000-08-24 01:14:21 +02:00
|
|
|
USE_X11BASE= YES
|
|
|
|
USE_XPM= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2000-08-21 08:49:13 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--enable-japanese --enable-chinese
|
|
|
|
CONFIGURE_ARGS+=--with-freetype-includes=${LOCALBASE}/include
|
2000-11-01 22:06:21 +01:00
|
|
|
CONFIGURE_ARGS+=--with-t1-includes=${X11PREFIX}/include
|
2000-12-17 21:59:37 +01:00
|
|
|
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}"
|
|
|
|
MAKE_ENV+= SED="${SED}" ECHO="${ECHO}"
|
2000-08-21 08:49:13 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${SED} 's|@@LOCALBASE@@|${LOCALBASE}|' \
|
|
|
|
< ${FILESDIR}/xpdf-app-defaults \
|
2000-08-21 12:22:25 +02:00
|
|
|
> ${X11PREFIX}/lib/X11/app-defaults/Xpdf
|
2000-08-21 08:49:13 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if defined(PAPERSIZE) && ${PAPERSIZE} == "A4"
|
|
|
|
CONFIGURE_ARGS+= --enable-a4-paper
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|