| @@ -1,28 +1,30 @@ | | | @@ -1,28 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.22 2016/10/27 11:06:01 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.23 2016/10/27 11:32:16 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= ghostscript-${GS_VERSION} | | 3 | DISTNAME= ghostscript-${GS_VERSION} |
4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} | | 4 | PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} |
5 | CATEGORIES= print | | 5 | CATEGORIES= print |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/ghostpdl-downloads/releases/download/gs920/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/ghostpdl-downloads/releases/download/gs920/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://ghostscript.com/ | | 9 | HOMEPAGE= http://ghostscript.com/ |
10 | COMMENT= Postscript interpreter | | 10 | COMMENT= Postscript interpreter |
11 | # Plus adobe verbatim for Resources/CMap. | | 11 | # Plus adobe verbatim for Resources/CMap. |
12 | LICENSE= gnu-agpl-v3 | | 12 | LICENSE= gnu-agpl-v3 |
13 | | | 13 | |
14 | DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts | | 14 | DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts |
15 | | | 15 | |
| | | 16 | .include "Makefile.common" |
| | | 17 | |
16 | USE_LANGUAGES= c c++ | | 18 | USE_LANGUAGES= c c++ |
17 | USE_TOOLS+= gmake perl:run lex pkg-config | | 19 | USE_TOOLS+= gmake perl:run lex pkg-config |
18 | GNU_CONFIGURE= yes | | 20 | GNU_CONFIGURE= yes |
19 | CONFIGURE_ARGS+= --with-system-libtiff | | 21 | CONFIGURE_ARGS+= --with-system-libtiff |
20 | CONFIGURE_ARGS+= --disable-cups | | 22 | CONFIGURE_ARGS+= --disable-cups |
21 | UNLIMIT_RESOURCES+= datasize # gsromfs1.c | | 23 | UNLIMIT_RESOURCES+= datasize # gsromfs1.c |
22 | | | 24 | |
23 | BUILD_TARGET= so | | 25 | BUILD_TARGET= so |
24 | INSTALL_TARGET= soinstall | | 26 | INSTALL_TARGET= soinstall |
25 | CONFIGURE_ARGS+= --with-omni=no # otherwise pulls in libstdc++ | | 27 | CONFIGURE_ARGS+= --with-omni=no # otherwise pulls in libstdc++ |
26 | | | 28 | |
27 | REPLACE_PERL+= toolbin/localcluster/clusterpush.pl | | 29 | REPLACE_PERL+= toolbin/localcluster/clusterpush.pl |
28 | REPLACE_PERL+= toolbin/checkdeps.pl | | 30 | REPLACE_PERL+= toolbin/checkdeps.pl |