1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/print/foomatic-db-engine/Makefile
Jose Alonso Cardenas Marquez 6af1cca0d8 - Update to 20061214
- Add miwi's mirror to MASTER_SITES (miwi thanks)
2006-12-16 15:54:53 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: foomatic-db-engine
# Date created: 07 July 2003
# Whom: Martin Ranne <gasp@ridcully.dnsalias.org>
#
# $FreeBSD$
#
PORTNAME= engine
PORTVERSION= 20061214
PORTEPOCH= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL:S,$,acm/foomatic/,} \
http://freebsd.unixfreunde.de/sources/
PKGNAMEPREFIX= foomatic-db-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${FOOMATICVER}-${PORTVERSION}
DIST_SUBDIR= foomatic
MAINTAINER= acm@FreeBSD.org
COMMENT= Foomatic database engine
BUILD_DEPENDS= curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_GNOME= libxml2
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/
FOOMATICVER= 3.0
MAN1= foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1 \
foomatic-ppd-options.1
MAN8= foomatic-preferred-driver.8 \
foomatic-kitload.8 foomatic-getpjloptions.8 \
foomatic-addpjloptions.8
post-patch:
@${REINPLACE_CMD} -e \
"s,sysconfdir=/etc,sysconfdir=\'${PREFIX}/etc\',g ; \
s,/usr/local/etc:,${PREFIX}/etc:,g" ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
"s,/usr/local/bin:,${PREFIX}/bin:,g" ${WRKSRC}/Makefile.in
post-install:
.for file in foomatic-combo-xml foomatic-perl-data
@${STRIP_CMD} ${PREFIX}/bin/${file}
.endfor
.include <bsd.port.mk>