summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-06-23 06:37:46 +0000
committertaoka <taoka@FreeBSD.org>1999-06-23 06:37:46 +0000
commit91b2c5ae744eada9c54784b7ce0b73cba5245c94 (patch)
tree10ab7107d57c5574308f12a39cacea314019be75 /graphics
parent1821f2799eb5fd0ca610ce79271035e2ab5e36f8 (diff)
downloadFreeBSD-ports-91b2c5ae744eada9c54784b7ce0b73cba5245c94.zip
FreeBSD-ports-91b2c5ae744eada9c54784b7ce0b73cba5245c94.tar.gz
(1) modified to handle encrypted pdf files
PR: ports/12337 Submitted by: Christopher Hall <hsw@acm.org> (2) fixed MASTER_SITES: - ftp://ftp.cdrom.com/pub/tex/ctan/support/xpdf/ + ${MASTER_SITE_TEX_CTAN}
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile16
-rw-r--r--graphics/xpdf/distinfo1
-rw-r--r--graphics/xpdf/pkg-descr2
3 files changed, 16 insertions, 3 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 8229319..db2e71e 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -3,20 +3,30 @@
# Date created: 02 Feb 1996
# Whom: chuckr@glue.umd.edu
#
-# $Id: Makefile,v 1.19 1998/12/09 10:44:36 vanilla Exp $
+# $Id: Makefile,v 1.20 1998/12/23 01:11:52 steve Exp $
#
DISTNAME= xpdf-0.80
CATEGORIES= graphics print
-MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN} ftp://ftp.foolabs.com/pub/xpdf/ \
ftp://ftp.duke.edu/pub/X11/contrib/applications/ \
- ftp://ftp.cdrom.com/pub/tex/ctan/support/xpdf/
+ ${MASTER_SITE_TEX_CTAN}
+MASTER_SITE_SUBDIR=support/xpdf
EXTRACT_SUFX= .tgz
+.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING)
+PATCH_SITES= ftp://ftp.sci.usq.edu.au/pub/linux/xpdf/
+PATCHFILES= xpdf-0.80-decrypt.patch
+PATCH_DIST_ARGS=-p0 -E -d ${WRKDIR} --quiet
+.endfi
+
MAINTAINER= chuckr@glue.umd.edu
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+.if defined(USA_RESIDENT) && !defined(PACKAGE_BUILDING)
+RESTRICTED= "Contains cryptography"
+.endif
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gzip --enable-japanese
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index 8b107a2..495a265 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -1 +1,2 @@
MD5 (xpdf-0.80.tgz) = 91d49cfaf1e555a26a9bcd0b57e51f8a
+MD5 (xpdf-0.80-decrypt.patch) = 97d6648022fcd9633917f8dc96d25fa2
diff --git a/graphics/xpdf/pkg-descr b/graphics/xpdf/pkg-descr
index da1e48e..c27e12e 100644
--- a/graphics/xpdf/pkg-descr
+++ b/graphics/xpdf/pkg-descr
@@ -5,3 +5,5 @@ PDF software.) Xpdf runs under UNIX and the X Window System.
Xpdf is designed to be small and efficient. It does not use the Motif
or Xt libraries. It uses standard X fonts. Xpdf is quite usable on a
486-66 PC running FreeBSD.
+
+WWW: http://www.foolabs.com/xpdf/
OpenPOWER on IntegriCloud