Lines 1-13
Link Here
|
1 |
PORTNAME= ghostscript |
1 |
PORTNAME= ghostscript |
2 |
DISTVERSION= 10.01.2 |
2 |
DISTVERSION= 10.02.0 |
3 |
PORTREVISION= 2 |
|
|
4 |
CATEGORIES= print |
3 |
CATEGORIES= print |
5 |
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ |
4 |
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ |
6 |
PKGNAMESUFFIX= ${GS_MAJOR_VERSION} |
5 |
PKGNAMESUFFIX= ${GS_MAJOR_VERSION} |
7 |
|
6 |
|
8 |
MAINTAINER= michael.osipov@siemens.com |
7 |
MAINTAINER= michael.osipov@siemens.com |
9 |
COMMENT= PostScript and PDF interpreter |
8 |
COMMENT= PostScript and PDF interpreter |
10 |
WWW= https://ghostscript.com/ |
9 |
WWW= https://ghostscript.com/ |
11 |
|
10 |
|
12 |
LICENSE= AGPLv3 |
11 |
LICENSE= AGPLv3 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
Lines 34-46
CONFLICTS_INSTALL= ghostscript[789]-base \
Link Here
|
34 |
ghostscript9-agpl-x11 |
33 |
ghostscript9-agpl-x11 |
35 |
|
34 |
|
36 |
EXTRACT_AFTER_ARGS= --exclude cups/libs \ |
35 |
EXTRACT_AFTER_ARGS= --exclude cups/libs \ |
|
|
36 |
--exclude expat \ |
37 |
--exclude freetype \ |
37 |
--exclude freetype \ |
38 |
--exclude ijs \ |
38 |
--exclude ijs \ |
39 |
--exclude jbig2dec \ |
39 |
--exclude jbig2dec \ |
40 |
--exclude jpeg \ |
40 |
--exclude jpeg \ |
41 |
--exclude lcms2mt \ |
41 |
--exclude lcms2mt \ |
|
|
42 |
--exclude leptonica \ |
42 |
--exclude libpng \ |
43 |
--exclude libpng \ |
43 |
--exclude openjpeg \ |
44 |
--exclude openjpeg \ |
|
|
45 |
--exclude tesseract \ |
44 |
--exclude tiff \ |
46 |
--exclude tiff \ |
45 |
--exclude zlib |
47 |
--exclude zlib |
46 |
|
48 |
|
Lines 49-59
GNU_CONFIGURE= yes
Link Here
|
49 |
ALL_TARGET= so |
51 |
ALL_TARGET= so |
50 |
INSTALL_TARGET= soinstall |
52 |
INSTALL_TARGET= soinstall |
51 |
|
53 |
|
52 |
DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} |
54 |
DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION} |
53 |
|
55 |
|
54 |
GS_MAJOR_VERSION= ${DISTVERSION:R:R} |
56 |
GS_MAJOR_VERSION= ${DISTVERSION:R:R} |
55 |
GS_MINOR_VERSION= ${DISTVERSION:R:E} |
57 |
GS_MINOR_VERSION= ${DISTVERSION:R:E} |
56 |
PLIST_SUB= GS_MAJOR_VERSION=${GS_MAJOR_VERSION} \ |
58 |
PLIST_SUB= GS_MAJOR_VERSION=${GS_MAJOR_VERSION} \ |
57 |
GS_MINOR_VERSION=${GS_MINOR_VERSION} |
59 |
GS_MINOR_VERSION=${GS_MINOR_VERSION} |
58 |
|
60 |
|
59 |
CONFIGURE_ARGS+= --disable-compile-inits \ |
61 |
CONFIGURE_ARGS+= --disable-compile-inits \ |
Lines 71-92
CONFIGURE_ARGS+= --disable-compile-inits \
Link Here
|
71 |
--with-libpaper \ |
73 |
--with-libpaper \ |
72 |
--with-system-libtiff |
74 |
--with-system-libtiff |
73 |
|
75 |
|
74 |
OPTIONS_DEFINE= CUPS IJS TESSERACT X11 |
76 |
OPTIONS_DEFINE= CUPS IJS TESSERACT X11 |
75 |
OPTIONS_DEFAULT= CUPS X11 |
77 |
OPTIONS_DEFAULT= CUPS X11 |
76 |
|
78 |
|
77 |
IJS_DESC= Support libijs based Ghostscript devices |
79 |
IJS_DESC= Support libijs based Ghostscript devices |
78 |
TESSERACT_DESC= Enable bundled Tesseract OCR engine |
80 |
TESSERACT_DESC= Enable Tesseract OCR engine |
79 |
|
81 |
|
80 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
82 |
CUPS_LIB_DEPENDS= libcups.so:print/cups |
81 |
CUPS_CONFIGURE_ENABLE= cups |
83 |
CUPS_CONFIGURE_ENABLE= cups |
82 |
|
84 |
|
83 |
IJS_LIB_DEPENDS= libijs.so:print/libijs |
85 |
IJS_LIB_DEPENDS= libijs.so:print/libijs |
84 |
IJS_CONFIGURE_WITH= ijs |
86 |
IJS_CONFIGURE_WITH= ijs |
85 |
|
87 |
|
86 |
TESSERACT_USES= compiler:c++17-lang |
88 |
TESSERACT_USES= libarchive |
87 |
TESSERACT_CONFIGURE_WITH= tesseract |
89 |
TESSERACT_CONFIGURE_WITH= tesseract |
88 |
# No TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract |
90 |
TESSERACT_LIB_DEPENDS= libcurl.so:ftp/curl \ |
89 |
# See https://bugs.ghostscript.com/show_bug.cgi?id=706490 |
91 |
libleptonica.so:graphics/leptonica \ |
|
|
92 |
libtesseract.so:graphics/tesseract |
90 |
|
93 |
|
91 |
X11_CONFIGURE_WITH= x |
94 |
X11_CONFIGURE_WITH= x |
92 |
X11_USES= xorg |
95 |
X11_USES= xorg |