2013-09-21 00:43:59 +02:00
|
|
|
# Created by: Martin Ranne <gasp@ridcully.dnsalias.org>
|
2003-10-08 14:52:42 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-03-11 12:53:42 +01:00
|
|
|
PORTNAME= foomatic-db-engine
|
2015-02-15 13:07:53 +01:00
|
|
|
PORTVERSION= 4.0.12
|
2016-03-11 12:53:42 +01:00
|
|
|
PORTREVISION= 1
|
2009-06-17 00:00:38 +02:00
|
|
|
PORTEPOCH= 2
|
2003-10-08 14:52:42 +02:00
|
|
|
CATEGORIES= print
|
2016-03-11 12:53:42 +01:00
|
|
|
MASTER_SITES= http://www.openprinting.org/download/foomatic/
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2015-02-15 13:07:53 +01:00
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
2003-10-08 14:52:42 +02:00
|
|
|
COMMENT= Foomatic database engine
|
|
|
|
|
2015-02-15 13:07:53 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
USE_GNOME= libxml2
|
2013-12-26 20:38:16 +01:00
|
|
|
USES= gmake perl5
|
2003-10-08 14:52:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-12-26 20:38:16 +01:00
|
|
|
CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/ \
|
|
|
|
LIB_CUPS=${LOCALBASE}/libexec/cups \
|
|
|
|
CUPS_FILTERS=${LOCALBASE}/libexec/cups/filters \
|
|
|
|
CUPS_BACKENDS=${LOCALBASE}/libexec/cups/backends
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2015-07-06 12:05:02 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
post-patch:
|
2006-05-31 11:45:42 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2004-10-12 14:16:21 +02:00
|
|
|
"s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \
|
|
|
|
s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure
|
2006-05-31 11:45:42 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2004-10-12 14:16:21 +02:00
|
|
|
"s,/usr/local/bin:,${PREFIX}/bin:,g" ${WRKSRC}/Makefile.in
|
2013-12-26 20:38:16 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2016-03-11 12:53:42 +01:00
|
|
|
"/if \[ -d/ s,LIB_CUPS,PREFIX," ${WRKSRC}/Makefile.in
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
post-install:
|
|
|
|
.for file in foomatic-combo-xml foomatic-perl-data
|
2014-11-07 09:14:25 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
|
2004-10-12 14:16:21 +02:00
|
|
|
.endfor
|
2003-12-13 13:29:50 +01:00
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
.include <bsd.port.mk>
|