2010-08-22 02:57:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/08/22 06:57:38 ajacoutot Exp $
|
2009-12-10 05:58:25 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
2007-09-09 10:41:26 -04:00
|
|
|
|
|
|
|
COMMENT= Foomatic PPD data
|
|
|
|
|
2010-08-22 02:57:38 -04:00
|
|
|
V= 20100821
|
2009-12-10 05:58:25 -05:00
|
|
|
DISTNAME= foomatic-db-4.0-${V}
|
2010-07-26 16:07:31 -04:00
|
|
|
PKGNAME= foomatic-db-4.0.${V}
|
2007-09-09 10:41:26 -04:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.linux-foundation.org/en/OpenPrinting/Database/Foomatic
|
|
|
|
|
2008-12-20 16:15:56 -05:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
2007-09-09 10:41:26 -04:00
|
|
|
|
2009-12-10 05:58:25 -05:00
|
|
|
# GPLv2 - MIT
|
2007-09-09 10:41:26 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
# tarballs are only available for a 24 hour period
|
2009-12-10 05:58:25 -05:00
|
|
|
#MASTER_SITES= http://www.openprinting.org/download/foomatic/
|
|
|
|
MASTER_SITES= http://www.bsdfrog.org/OpenBSD/distfiles/
|
2007-09-09 10:41:26 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --disable-ppds-to-cups
|
|
|
|
|
2009-12-10 05:58:25 -05:00
|
|
|
RUN_DEPENDS= ::print/foomatic-db-engine
|
2007-09-09 10:41:26 -04:00
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/foomatic-db-${V}
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2009-12-10 05:58:25 -05:00
|
|
|
pre-configure:
|
|
|
|
perl -pi -e 's,!!LOCALBASE!!,${LOCALBASE},g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2010-07-31 04:17:46 -04:00
|
|
|
# From Fedora ; these files are already shipped by the foo2zjs package
|
|
|
|
# RH #208851 #438319 #518267
|
|
|
|
.for x in zjs oak-z1 oak hp qpdl lava kyo xqx slx hiperc
|
|
|
|
find ${WRKSRC}/db/source/printer -name '*.xml' | xargs grep -l "<driver>foo2${x}" | xargs rm
|
|
|
|
rm -f ${WRKSRC}/db/source/driver/foo2${x}.xml \
|
|
|
|
${WRKSRC}/db/source/opt/foo2${x}-*
|
|
|
|
.endfor
|
2010-08-22 02:57:38 -04:00
|
|
|
.for i in Xerox-Phaser_6110 Samsung-CLP-300 Samsung-CLP-310 Samsung-CLP-315
|
|
|
|
mv ${WRKSRC}/db/source/printer/${i}.xml \
|
|
|
|
${WRKSRC}/db/source/printer/${i}-splix.xml
|
|
|
|
.endfor
|
2010-07-31 04:17:46 -04:00
|
|
|
|
2007-09-09 10:41:26 -04:00
|
|
|
.include <bsd.port.mk>
|