2003-10-08 14:52:42 +02:00
|
|
|
# New ports collection makefile for: foomatic-db-engine
|
|
|
|
# Date created: 07 July 2003
|
|
|
|
# Whom: Martin Ranne <gasp@ridcully.dnsalias.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= foomatic-db-engine
|
2004-10-12 14:16:21 +02:00
|
|
|
PORTVERSION= 3.0.2
|
|
|
|
PORTEPOCH= 1
|
2003-10-08 14:52:42 +02:00
|
|
|
CATEGORIES= print
|
2004-10-12 14:16:21 +02:00
|
|
|
MASTER_SITES= http://www.linuxprinting.org/download/foomatic/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= . oldstuff
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2003-11-03 05:56:45 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-10-08 14:52:42 +02:00
|
|
|
COMMENT= Foomatic database engine
|
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
2003-10-08 14:52:42 +02:00
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
USE_GNOME= libxml2
|
2003-10-08 14:52:42 +02:00
|
|
|
USE_PERL5= yes
|
2004-10-12 14:16:21 +02:00
|
|
|
USE_GMAKE= yes
|
2003-10-08 14:52:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/
|
|
|
|
|
|
|
|
MAN1= foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
|
2003-12-13 13:29:50 +01:00
|
|
|
foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 \
|
|
|
|
foomatic-ppd-options.1
|
2003-11-20 22:34:23 +01:00
|
|
|
MAN8= foomatic-preferred-driver.8 \
|
2003-10-08 14:52:42 +02:00
|
|
|
foomatic-kitload.8 foomatic-getpjloptions.8 \
|
|
|
|
foomatic-addpjloptions.8
|
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi.bak -e \
|
|
|
|
"s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \
|
|
|
|
s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure
|
|
|
|
@${PERL} -pi.bak -e \
|
|
|
|
"s,/usr/local/bin:,${PREFIX}/bin:,g" ${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
|
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/${file}
|
|
|
|
.endfor
|
2003-12-13 13:29:50 +01:00
|
|
|
|
2004-10-12 14:16:21 +02:00
|
|
|
.include <bsd.port.mk>
|