aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/vfghostscript55
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-17 05:59:12 +0800
committerade <ade@FreeBSD.org>2000-10-17 05:59:12 +0800
commit4c4677e4667cb3dd205c45d12b42bdcdfc970c1a (patch)
tree4aab7c270f9a31d1c400f086e9b26242319acc54 /japanese/vfghostscript55
parent5ff2082e8bc4828af87a76782ba2ec33687224ad (diff)
downloadfreebsd-ports-gnome-4c4677e4667cb3dd205c45d12b42bdcdfc970c1a.tar.gz
freebsd-ports-gnome-4c4677e4667cb3dd205c45d12b42bdcdfc970c1a.tar.zst
freebsd-ports-gnome-4c4677e4667cb3dd205c45d12b42bdcdfc970c1a.zip
Fix MASTER_SITES
Remove restriction of encrypted PDF support PR: 22031 Submitted by: Ports Fury Approved by: maintainer
Diffstat (limited to 'japanese/vfghostscript55')
-rw-r--r--japanese/vfghostscript55/Makefile52
1 files changed, 19 insertions, 33 deletions
diff --git a/japanese/vfghostscript55/Makefile b/japanese/vfghostscript55/Makefile
index bba94f49a1b8..c42e66f76457 100644
--- a/japanese/vfghostscript55/Makefile
+++ b/japanese/vfghostscript55/Makefile
@@ -11,24 +11,21 @@ CATEGORIES= japanese print
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.cs.wisc.edu/ghost/gnu/gs550/ \
ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/ \
- http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/ \
- ftp://ftp.mei.co.jp/free/gnu/util/ghostscript/drivers/ \
+ http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
${MASTER_SITE_LOCAL} \
${MASTER_SITE_PORTS_JP} \
- http://www.ldl.jaist.ac.jp/~akr/nonresearch/free-software/ghostscript/ \
- http://www.flatout.org/~daisuke/Linux/gs/gs5/Original-sources/OLD/ \
- http://www.rd.nacsis.ac.jp/~katayama/homepage/ghostscript/jpdf/ \
- http://itohws03.ee.noda.sut.ac.jp/~matsuda/VFlib-FT/ \
+ http://www.bukka.p.chiba-u.ac.jp/~ohmori/gs/ \
http://www.ceres.dti.ne.jp/~owatanab/gdevnpdl/ \
http://www.humblesoft.com/pub/ \
- http://www.necs.co.jp/~umi/ \
+ http://www6.vc-net.ne.jp/~umi/ \
http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/ \
http://www.aial.hiroshima-u.ac.jp/~sakai/Linux/gs5.50/ \
http://www.epkowa.on.arena.ne.jp/pips/data/lp1900/
# first for ${MASTER_SITE_GNU}, second for ${MASTER_SITE_LOCAL},
# third for ${MASTER_SITE_PORTS_JP}
MASTER_SITE_SUBDIR= ghostscript asami/LOCAL_PORTS .
-DISTFILES= ${GS_SOURCES} ${GS_DRIVERS} ${GS_FONTS_STD} ${GS_FONTS_OTHER}
+DISTFILES= ${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
+ ${DECRYPT_PDF} ${GS_DRIVERS}
EXTRACT_ONLY= ${GS_SOURCES}
MAINTAINER= mita@jp.FreeBSD.org
@@ -48,7 +45,15 @@ CFLAGS+= -DA4
GSINST_DIR= ${PREFIX}/share/ghostscript/5.50vflib
DOC_DIR= ${GSINST_DIR}/doc
PRINTER= ${WRKSRC}/jp-printers
+
GS_SOURCES= gnu-gs-5.50a.tar.gz
+# Note: the following two are real files that have symlinks with
+# later version numbers pointing to them. To avoid unnecessarily
+# downloading distfiles, do not change these when upgrading the port
+# unless the files really change.
+GS_FONTS_STD= gnu-gs-fonts-std-6.0.tar.gz
+GS_FONTS_OTHER= gnu-gs-fonts-other-6.0.tar.gz
+
GS_DRIVERS= gs5.50-vflib-1.0.tar.gz
GS_DRIVERS+= gdevlips-2.3.6-550.tar.gz
GS_DRIVERS+= gdevmjc-0.8.tar.gz
@@ -60,21 +65,13 @@ GS_DRIVERS+= gdevalps-0.21.tar.gz
GS_DRIVERS+= gdevmd2k-0.2a.tar.gz
GS_DRIVERS+= gdevrpdl-1.2.tar.gz
GS_DRIVERS+= eplaser-2.0.2-550.tgz
-# Note: the following two are real files that have symlinks with
-# later version numbers pointing to them. To avoid unnecessarily
-# downloading distfiles, do not change these when upgrading the port
-# unless the files really change.
-GS_FONTS_STD= gnu-gs-fonts-std-6.0.tar.gz
-GS_FONTS_OTHER= gnu-gs-fonts-other-6.0.tar.gz
-pre-fetch:
-.if !defined(PDFENCRYPT)
- @${ECHO_MSG} "NOTE: You can have encrypted PDF support by adding "
- @${ECHO_MSG} "\"PDFENCRYPT=yes\" to argument of make."
-.endif
+# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
+DECRYPT_PDF= pdf_sec.ps
post-extract:
${LN} -s ${WRKDIRPREFIX}${.CURDIR}/../../graphics/jpeg/work/jpeg-6b ${WRKSRC}/jpeg
+ @${TAR} -C ${WRKSRC} --unlink -xzf ${DISTDIR}/gs5.50-vflib-1.0.tar.gz
@( ${MKDIR} ${PRINTER} ; \
cd ${PRINTER} ; \
${TAR} --unlink -xzf ${DISTDIR}/gdevlips-2.3.6-550.tar.gz ; \
@@ -91,10 +88,8 @@ post-extract:
)
pre-patch:
- @(cd ${WRKSRC} ; \
- ${TAR} --unlink -xzf ${DISTDIR}/gs5.50-vflib-1.0.tar.gz ;\
- ${PATCH} -s -p1 < ${WRKSRC}/gs5.50-vflib-1.0/gs5.50-vflib-1.0.diff \
- >/dev/null 2>&1)
+ @${CAT} ${WRKSRC}/gs5.50-vflib-1.0/gs5.50-vflib-1.0.diff | \
+ ${PATCH} -d ${WRKSRC} -p1 --forward --quiet -E
post-patch:
@( cd ${PRINTER} ; \
@@ -144,6 +139,7 @@ pre-install:
@${TAR} -C ${PREFIX}/share/ghostscript -xzf ${DISTDIR}/${GS_FONTS_OTHER}
post-install:
+ ${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps ${GSINST_DIR}
${INSTALL_PROGRAM} ${PRINTER}/epag-3.09/ert ${PREFIX}/bin
@strip ${PREFIX}/bin/gs
@( \
@@ -177,15 +173,5 @@ post-install:
${CP} ${PRINTER}/gdevmjc-0.8/gdevmjc.ps ${GSINST_DIR} ; \
${CP} ${PRINTER}/eplaser/readme-eplaser.euc ${DOC_DIR} ; \
)
-.if defined(PDFENCRYPT)
- @${CP} -f ${DISTDIR}/pdf_sec.ps ${GSINST_DIR}
-.endif
-
-# encrypted PDF support. can't be packaged due to export control issues.
-.if defined(PDFENCRYPT)
-MASTER_SITES+= http://www.ozemail.com.au/~geoffk/pdfencrypt/
-DISTFILES+= pdf_sec.ps
-RESTRICTED= "Crypto; export controlled, RC4 in PostScript code included"
-.endif
.include <bsd.port.mk>
n>1-1/+1 * - Use versions in dependencies correctly (bison>=2.1 --> bison2>=2.1).alepulver2007-07-121-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 * - Update to version 2.0.6.alepulver2007-04-102-19/+16 * - Update to version 2.0.5.alepulver2007-03-053-20/+19 * - Update to version 2.0.5 RC1 (is is a release candidate but it fixes manyalepulver2006-11-017-60/+20 * - Fix building on 4.x.alepulver2006-09-131-2/+7 * - Use correct program name in pkg-message.alepulver2006-09-021-1/+1 * - Rename games/warzone back to games/warzone2100 because the last versionalepulver2006-09-017-0/+135 * - Complete the rename of games/warzone2100 to games/warzone.alepulver2006-08-295-88/+0 * - Update to version 2.0.3.alepulver2006-08-237-167/+35 * update freealut to 1.1.0oliver2006-06-091-2/+2 * Remove USE_REINPLACE for categories starting with a Gedwin2006-05-081-1/+0 * update to openal 20060211 [1]oliver2006-04-231-2/+5 * Change the maintainership address to the @FreeBSD.org one.alepulver2006-04-091-1/+1 * - Add SHA256pav2005-11-261-0/+1 * - Fix segmentation fault (it was calling "closedir()" with a NULL pointerbarner2005-09-233-1/+24