blob: 7778d11d52c9a46c66f23a3e3f57b249426f381d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.51 2000/03/24 18:15:29 jlam Exp $
MASTER_SITES+= http://www.ozemail.com.au/~geoffk/pdfencrypt/
DISTFILES+= ${GS_FONTS_STD} ${GS_FONTS_OTHER} ${PDF_SEC}
# Note: the following two are special files. In the 5.50 directory
# on the FTP site, there are symlinks:
# ghostscript-fonts-other-5.50.tar.gz ->
# ../fonts/ghostscript-fonts-other-4.40.tar.gz
# To avoid unnecessarily downloading distfiles, do not change these
# when upgrading the port unless the symlinks/files really change.
GS_FONTS_STD= ghostscript-fonts-std-5.10a.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-5.10.tar.gz
# PostScript source to decode encrypted PDF files
PDF_SEC= pdf_sec.ps
post-extract: common-post-extract
${RM} -f ${WRKSRC}/${PDF_SEC}
${LN} -s ${_DISTDIR}/${PDF_SEC} ${WRKSRC}/${PDF_SEC}
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
cd ${PREFIX}/share/ghostscript; \
${PAX} -zrf ${_DISTDIR}/${GS_FONTS_STD}
cd ${PREFIX}/share/ghostscript/fonts; \
${PAX} -zrf ${_DISTDIR}/${GS_FONTS_OTHER}
post-install:
strip ${PREFIX}/bin/gs
.include "../../print/ghostscript5/Makefile.common"
|