Import foomatic-db-hpijs-20070820

Foomatic XML data generators for HP's HPIJS driver, used by
foomatic-db-engine to generate PPD files.

ok jakemsr@
This commit is contained in:
ajacoutot 2007-09-18 16:15:09 +00:00
parent 3e0d0b9a7d
commit cc7f6a7663
6 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/09/18 16:15:09 ajacoutot Exp $
COMMENT= Foomatic PPD data for hpijs
DISTNAME= foomatic-db-hpijs-20070820
CATEGORIES= print
HOMEPAGE= http://www.linux-foundation.org/en/OpenPrinting/Database/Foomatic
MAINTAINER= Jacob Meuser <jakemsr@openbsd.org>
# GPL
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
#MASTER_SITES= http://www.linuxprinting.org/download/foomatic/
MASTER_SITES= http://jakemsr.trancell.org/distfiles/ \
http://openbsd.dead-parrot.de/distfiles/ \
http://www.obsd.fr/OpenBSD/distfiles/
RUN_DEPENDS= ::print/foomatic-db
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= gnu
PKG_ARCH= *
NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g;' \
-e 's,!!LOCALBASE!!,${LOCALBASE},g' \
${WRKSRC}/configure
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (foomatic-db-hpijs-20070820.tar.gz) = kxadqXfFIUMC3pP1wkHr1Q==
RMD160 (foomatic-db-hpijs-20070820.tar.gz) = gvPC0Vq8sKDcLJbCD55pzkhgrWc=
SHA1 (foomatic-db-hpijs-20070820.tar.gz) = Xw7ATV1HWVREOPLMdkQvSA0tf0Y=
SHA256 (foomatic-db-hpijs-20070820.tar.gz) = V6yd78FbuPHV/RyTT0m6ZWIGxPCVAzjXj/9365561Os=
SIZE (foomatic-db-hpijs-20070820.tar.gz) = 90030

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/09/18 16:15:09 ajacoutot Exp $
--- Makefile.in.orig Mon Aug 20 18:53:25 2007
+++ Makefile.in Sat Sep 15 15:14:27 2007
@@ -62,7 +62,7 @@ install: install-db
install-db:
install -d $(DESTDIR)$(LIBDIR)
- tar cf - --exclude=CVS db | ( cd $(DESTDIR)$(LIBDIR) && tar xf -)
+ tar -cf - -s '/^.*CVS.*$$//' db | ( cd $(DESTDIR)$(LIBDIR) && tar xf -)
build: data-generators

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-configure,v 1.1.1.1 2007/09/18 16:15:09 ajacoutot Exp $
--- configure.orig Sat Sep 15 14:44:27 2007
+++ configure Sat Sep 15 14:45:28 2007
@@ -251,7 +251,7 @@ exec 6>&1
#
# Initializations.
#
-ac_default_prefix=/usr/local
+ac_default_prefix=!!PREFIX!!
ac_config_libobj_dir=.
cross_compiling=no
subdirs=
@@ -1365,8 +1365,8 @@ echo "${ECHO_T}no" >&6
fi
-BINSEARCHPATH=/usr/bin:/bin:/usr/local/bin
-DATASEARCHPATH=/usr/share:/usr/local/share:/usr/lib:/usr/local/lib:/opt
+BINSEARCHPATH=/usr/bin:/bin:!!LOCALBASE!!/bin
+DATASEARCHPATH=/usr/share:!!LOCALBASE!!/share:/usr/lib:!!LOCALBASE!!/lib:/opt
uname=`uname`
uversion=`uname -r | sed -e '1,$s/[^0-9]//g'`

View File

@ -0,0 +1,2 @@
Foomatic XML data generators for HP's HPIJS driver, used by
foomatic-db-engine to generate PPD files.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/09/18 16:15:09 ajacoutot Exp $
share/foomatic/db/source/driver/hpijs.xml
share/foomatic/db/source/opt/hpijs-Duplex.xml
share/foomatic/db/source/opt/hpijs-InputSlot.xml
share/foomatic/db/source/opt/hpijs-Model.xml
share/foomatic/db/source/opt/hpijs-PageSize.xml
share/foomatic/db/source/opt/hpijs-PrintoutMode.xml
share/foomatic/db/source/opt/hpijs-Quality.xml