1996-02-10 20:33:09 +00:00
|
|
|
# New ports collection makefile for: xpdf
|
1999-11-23 03:30:35 +00:00
|
|
|
# Version required: 0.90
|
1996-02-10 20:33:09 +00:00
|
|
|
# Date created: 02 Feb 1996
|
|
|
|
# Whom: chuckr@glue.umd.edu
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1996-02-10 20:33:09 +00:00
|
|
|
#
|
|
|
|
|
1999-11-23 03:30:35 +00:00
|
|
|
DISTNAME= xpdf-0.90
|
1997-03-21 23:07:01 +00:00
|
|
|
CATEGORIES= graphics print
|
1999-06-23 06:37:46 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} ftp://ftp.foolabs.com/pub/xpdf/ \
|
1999-11-23 03:30:35 +00:00
|
|
|
ftp://ftp.duke.edu/pub/X11/contrib/applications/
|
1999-06-23 06:37:46 +00:00
|
|
|
MASTER_SITE_SUBDIR=support/xpdf
|
1998-12-06 17:08:46 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
1996-02-10 20:33:09 +00:00
|
|
|
|
1999-12-10 18:29:20 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-11-23 03:30:35 +00:00
|
|
|
PATCH_SITES= http://www.fefe.de/
|
|
|
|
PATCHFILES= xpdf-0.90-fefe-diff.gz
|
|
|
|
PATCH_DIST_STRIP= -p1
|
1999-06-23 06:59:59 +00:00
|
|
|
.endif
|
1999-06-23 06:37:46 +00:00
|
|
|
|
1999-11-23 03:30:35 +00:00
|
|
|
MAINTAINER= chuckr@freebsd.org
|
1996-02-10 20:33:09 +00:00
|
|
|
|
1999-11-23 03:30:35 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
|
1999-12-25 02:00:06 +00:00
|
|
|
t1x.1:${PORTSDIR}/devel/t1lib
|
1998-03-11 03:08:18 +00:00
|
|
|
|
1999-12-10 18:29:20 +00:00
|
|
|
.if !defined(PACKAGE_BUILDING)
|
1999-06-23 06:37:46 +00:00
|
|
|
RESTRICTED= "Contains cryptography"
|
|
|
|
.endif
|
1999-11-23 03:30:35 +00:00
|
|
|
USE_XLIB= yes
|
1998-12-09 10:44:36 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-11-23 03:30:35 +00:00
|
|
|
USE_AUTOCONF= yes
|
|
|
|
CONFIGURE_ARGS= --with-gzip --enable-japanese \
|
|
|
|
--with-t1-library=${LOCALBASE}/lib \
|
|
|
|
--with-t1-includes=${LOCALBASE}/include \
|
|
|
|
--with-t1x-library=${LOCALBASE}/lib \
|
|
|
|
--with-t1x-includes=${LOCALBASE}/include
|
|
|
|
.if defined(A4)
|
|
|
|
CONFIGURE_ARGS+= --enable-a4-paper
|
|
|
|
.endif
|
1998-12-09 10:44:36 +00:00
|
|
|
|
1998-12-06 17:08:46 +00:00
|
|
|
MAN1= pdfimages.1 \
|
|
|
|
pdfinfo.1 \
|
|
|
|
pdftopbm.1 \
|
|
|
|
pdftops.1 \
|
|
|
|
pdftotext.1 \
|
|
|
|
xpdf.1
|
1996-02-10 20:33:09 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|