| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.33 2020/01/18 23:33:28 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2020/05/01 21:07:24 rillig Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= foomatic-db-engine-4.0.13 | | 4 | DISTNAME= foomatic-db-engine-4.0.13 |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= print | | 6 | CATEGORIES= print |
7 | MASTER_SITES= http://www.openprinting.org/download/foomatic/ | | 7 | MASTER_SITES= http://www.openprinting.org/download/foomatic/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic | | 10 | HOMEPAGE= https://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic |
11 | COMMENT= Foomatic's database engine | | 11 | COMMENT= Foomatic's database engine |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | # XXX wget should work too | | 14 | # XXX wget should work too |
| @@ -33,23 +33,27 @@ PERL5_CONFIGURE= no | | | @@ -33,23 +33,27 @@ PERL5_CONFIGURE= no |
33 | PERL5_CONFIGURE_DIRS= lib | | 33 | PERL5_CONFIGURE_DIRS= lib |
34 | PERL5_PACKLIST= auto/Foomatic/.packlist | | 34 | PERL5_PACKLIST= auto/Foomatic/.packlist |
35 | | | 35 | |
36 | .include "../../mk/bsd.prefs.mk" | | 36 | .include "../../mk/bsd.prefs.mk" |
37 | | | 37 | |
38 | .if ${OPSYS} == "SunOS" | | 38 | .if ${OPSYS} == "SunOS" |
39 | TOOLS_PLATFORM.file= # doesn't support - | | 39 | TOOLS_PLATFORM.file= # doesn't support - |
40 | .endif | | 40 | .endif |
41 | | | 41 | |
42 | SUBST_CLASSES+= fixpath | | 42 | SUBST_CLASSES+= fixpath |
43 | SUBST_STAGE.fixpath= post-build | | 43 | SUBST_STAGE.fixpath= post-build |
44 | SUBST_FILES.fixpath= lib/Foomatic/Defaults.pm | | 44 | SUBST_FILES.fixpath= lib/Foomatic/Defaults.pm |
45 | SUBST_SED.fixpath= -e "s,${TOOLS_DIR}/bin/curl,${BUILDLINK_PREFIX.curl}/bin/curl,g" | | 45 | SUBST_SED.fixpath= -e "s,${TOOLS_DIR}/bin/curl,${BUILDLINK_PREFIX.curl}/bin/curl,g" |
| | | 46 | SUBST_NOOP_OK.fixpath= yes # see below |
| | | 47 | # I'm not sure in which situations ${TOOLS_DIRS} may end up in |
| | | 48 | # config.status. When I tried, the correct path to curl ended up there. |
| | | 49 | # See also https://bugs.linuxfoundation.org/show_bug.cgi?id=1442. |
46 | | | 50 | |
47 | # XXX generated but needs to be present before perl5-configure | | 51 | # XXX generated but needs to be present before perl5-configure |
48 | post-extract: | | 52 | post-extract: |
49 | ${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm | | 53 | ${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm |
50 | | | 54 | |
51 | post-configure: perl5-configure | | 55 | post-configure: perl5-configure |
52 | | | 56 | |
53 | .include "../../lang/perl5/module.mk" | | 57 | .include "../../lang/perl5/module.mk" |
54 | .include "../../textproc/libxml2/buildlink3.mk" | | 58 | .include "../../textproc/libxml2/buildlink3.mk" |
55 | .include "../../mk/bsd.pkg.mk" | | 59 | .include "../../mk/bsd.pkg.mk" |