blob: 11d6bbd92c925694c21c20e9881c3175b8e5ad1e (
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
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.13 2013/02/06 23:23:31 jperkin Exp $
#
DISTNAME= foomatic-db-engine-4.0.8
PKGREVISION= 4
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/foomatic/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic
COMMENT= Foomatic's database engine
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ENV+= PRINTF=/usr/bin/printf
CONFIGURE_ENV+= LIBDIR=${LOCALBASE}/share/foomatic
CONFIGURE_ENV+= FOOMATIC_RIP=${LOCALBASE}/bin/foomatic-rip
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
CONFIGURE_ENV+= CUPS_ETC=${PKG_SYSCONFBASE}/cups
CONFIGURE_ENV+= PERL_INSTALLDIRS=vendor
USE_TOOLS+= perl gmake
PERL5_PACKLIST= auto/Foomatic/.packlist
PERL5_CONFIGURE= no
PERL5_CONFIGURE_DIRS= lib
# XXX generated but needs to be present before perl5-configure
post-extract:
${TOUCH} ${WRKSRC}/lib/Foomatic/Defaults.pm
post-configure: perl5-configure
.include "../../lang/perl5/module.mk"
.include "../../textproc/libxml2/buildlink3.mk"
# XXX wget should work too
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|