View | Details | Raw Unified | Return to bug 21082
Collapse All | Expand All

(-)print/ghostscript55/Makefile (-12 / +8 lines)
Lines 11-25 Link Here
11
MASTER_SITES=	${MASTER_SITE_GNU} \
11
MASTER_SITES=	${MASTER_SITE_GNU} \
12
		ftp://ftp.cs.wisc.edu/ghost/gnu/gs550/ \
12
		ftp://ftp.cs.wisc.edu/ghost/gnu/gs550/ \
13
		ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/ \
13
		ftp://ftp.cs.wisc.edu/ghost/gnu/fonts/ \
14
		http://www.ozemail.com.au/~geoffk/pdfencrypt/ \
14
		http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/
15
		http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/
15
MASTER_SITE_SUBDIR=	${PORTNAME}
16
MASTER_SITE_SUBDIR=	${PORTNAME}
16
DISTFILES=	${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
17
DISTFILES=	${GS_SOURCES} ${GS_FONTS_STD} ${GS_FONTS_OTHER} \
17
		${HP850_DRV}
18
		${DECRYPT_PDF} ${HP850_DRV}
18
EXTRACT_ONLY=	${GS_SOURCES}
19
EXTRACT_ONLY=	${GS_SOURCES}
19
20
20
MAINTAINER=	andreas@FreeBSD.org
21
MAINTAINER=	andreas@FreeBSD.org
21
22
22
BUILD_DEPENDS=	/nonexistent:${PORTSDIR}/graphics/jpeg:extract \
23
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract \
23
		unzip:${PORTSDIR}/archivers/unzip
24
		unzip:${PORTSDIR}/archivers/unzip
24
LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png
25
LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png
25
26
Lines 41-46 Link Here
41
# Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
42
# Additional driver HP 850, see http://www.erdw.ethz.ch/~bonk/hp850/hp850.html
42
HP850_DRV=	hp8xxs13.zip
43
HP850_DRV=	hp8xxs13.zip
43
44
45
# replacement for pdf_sec.ps, that allows you to read encrypted PDF files
46
DECRYPT_PDF=	pdf_sec.ps
47
44
.if defined(A4)
48
.if defined(A4)
45
CFLAGS+=	-DA4
49
CFLAGS+=	-DA4
46
.endif
50
.endif
Lines 76-94 Link Here
76
	strip ${PREFIX}/bin/gs
80
	strip ${PREFIX}/bin/gs
77
	${INSTALL_SCRIPT} ${WRKSRC}/unix-lpr.sh ${PREFIX}/bin
81
	${INSTALL_SCRIPT} ${WRKSRC}/unix-lpr.sh ${PREFIX}/bin
78
	${INSTALL_SCRIPT} ${WRKSRC}/lprsetup.sh ${PREFIX}/bin
82
	${INSTALL_SCRIPT} ${WRKSRC}/lprsetup.sh ${PREFIX}/bin
83
	${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps \
84
		${PREFIX}/share/ghostscript/5.50
79
	${INSTALL_DATA} ${WRKSRC}/license.hp8 \
85
	${INSTALL_DATA} ${WRKSRC}/license.hp8 \
80
		${PREFIX}/share/ghostscript/5.50/doc
86
		${PREFIX}/share/ghostscript/5.50/doc
81
	${INSTALL_DATA} ${WRKSRC}/readme.hp8 \
87
	${INSTALL_DATA} ${WRKSRC}/readme.hp8 \
82
		${PREFIX}/share/ghostscript/5.50/doc
88
		${PREFIX}/share/ghostscript/5.50/doc
83
.if defined(PDFENCRYPT)
84
	${INSTALL_DATA} ${DISTDIR}/pdf_sec.ps ${PREFIX}/share/ghostscript/5.50
85
.endif
86
87
# encrypted PDF support.  can't be packaged due to export control issues.
88
.if defined(PDFENCRYPT)
89
MASTER_SITES+=	http://www.ozemail.com.au/~geoffk/pdfencrypt/
90
DISTFILES+=	pdf_sec.ps
91
RESTRICTED=	"Crypto; export controlled, RC4 in PostScript code included"
92
.endif
93
89
94
.include <bsd.port.mk>
90
.include <bsd.port.mk>

Return to bug 21082