Lines 1-6
Link Here
|
1 |
PORTNAME= ghostscript |
1 |
PORTNAME= ghostscript |
2 |
DISTVERSION= 10.01.1 |
2 |
DISTVERSION= 10.01.1 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= print |
4 |
CATEGORIES= print |
5 |
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ |
5 |
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ |
6 |
|
6 |
|
Lines 24-29
RUN_DEPENDS= poppler-data>=0.4.9:graphics/poppler-data \
Link Here
|
24 |
urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts |
24 |
urw-base35-fonts>=20200910:x11-fonts/urw-base35-fonts |
25 |
|
25 |
|
26 |
USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz |
26 |
USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz |
|
|
27 |
USE_LDCONFIG= yes |
27 |
CPE_VENDOR= artifex |
28 |
CPE_VENDOR= artifex |
28 |
|
29 |
|
29 |
CONFLICTS_INSTALL= ghostscript[789]-base \ |
30 |
CONFLICTS_INSTALL= ghostscript[789]-base \ |
Lines 61-66
CONFIGURE_ARGS= --disable-compile-inits \
Link Here
|
61 |
--with-system-libtiff \ |
62 |
--with-system-libtiff \ |
62 |
--without-x |
63 |
--without-x |
63 |
|
64 |
|
|
|
65 |
GS_MINOR_VERSION= ${DISTVERSION:R:E} |
66 |
PLIST_SUB= GS_MINOR_VERSION=${GS_MINOR_VERSION} |
67 |
|
68 |
ALL_TARGET= so |
69 |
INSTALL_TARGET= soinstall |
70 |
|
64 |
OPTIONS_DEFINE= CUPS IJS TESSERACT |
71 |
OPTIONS_DEFINE= CUPS IJS TESSERACT |
65 |
OPTIONS_DEFAULT=CUPS |
72 |
OPTIONS_DEFAULT=CUPS |
66 |
|
73 |
|
Lines 83-89
post-patch:
Link Here
|
83 |
${PATCH_WRKSRC}/man/gs.1 |
90 |
${PATCH_WRKSRC}/man/gs.1 |
84 |
|
91 |
|
85 |
post-install: |
92 |
post-install: |
86 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs |
93 |
${MV} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gs |
|
|
94 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gs \ |
95 |
${STAGEDIR}${PREFIX}/bin/gsx \ |
96 |
${STAGEDIR}${PREFIX}/lib/libgs.so.10.${GS_MINOR_VERSION} |
87 |
${RM} ${STAGEDIR}${PREFIX}/bin/lprsetup.sh |
97 |
${RM} ${STAGEDIR}${PREFIX}/bin/lprsetup.sh |
88 |
${RM} ${STAGEDIR}${PREFIX}/bin/unix-lpr.sh |
98 |
${RM} ${STAGEDIR}${PREFIX}/bin/unix-lpr.sh |
89 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc |
99 |
${MKDIR} ${STAGEDIR}${PREFIX}/share/color/icc |