From cc7f6a766339c9886407b6b7d235c270bafe1654 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 18 Sep 2007 16:15:09 +0000 Subject: [PATCH] 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@ --- print/foomatic-db-hpijs/Makefile | 38 +++++++++++++++++++ print/foomatic-db-hpijs/distinfo | 5 +++ .../patches/patch-Makefile_in | 12 ++++++ .../foomatic-db-hpijs/patches/patch-configure | 23 +++++++++++ print/foomatic-db-hpijs/pkg/DESCR | 2 + print/foomatic-db-hpijs/pkg/PLIST | 8 ++++ 6 files changed, 88 insertions(+) create mode 100644 print/foomatic-db-hpijs/Makefile create mode 100644 print/foomatic-db-hpijs/distinfo create mode 100644 print/foomatic-db-hpijs/patches/patch-Makefile_in create mode 100644 print/foomatic-db-hpijs/patches/patch-configure create mode 100644 print/foomatic-db-hpijs/pkg/DESCR create mode 100644 print/foomatic-db-hpijs/pkg/PLIST diff --git a/print/foomatic-db-hpijs/Makefile b/print/foomatic-db-hpijs/Makefile new file mode 100644 index 00000000000..fb22851df23 --- /dev/null +++ b/print/foomatic-db-hpijs/Makefile @@ -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 + +# 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 diff --git a/print/foomatic-db-hpijs/distinfo b/print/foomatic-db-hpijs/distinfo new file mode 100644 index 00000000000..d0712028794 --- /dev/null +++ b/print/foomatic-db-hpijs/distinfo @@ -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 diff --git a/print/foomatic-db-hpijs/patches/patch-Makefile_in b/print/foomatic-db-hpijs/patches/patch-Makefile_in new file mode 100644 index 00000000000..ef287fd8d58 --- /dev/null +++ b/print/foomatic-db-hpijs/patches/patch-Makefile_in @@ -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 + diff --git a/print/foomatic-db-hpijs/patches/patch-configure b/print/foomatic-db-hpijs/patches/patch-configure new file mode 100644 index 00000000000..ec17ad11510 --- /dev/null +++ b/print/foomatic-db-hpijs/patches/patch-configure @@ -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'` diff --git a/print/foomatic-db-hpijs/pkg/DESCR b/print/foomatic-db-hpijs/pkg/DESCR new file mode 100644 index 00000000000..04451a80ce6 --- /dev/null +++ b/print/foomatic-db-hpijs/pkg/DESCR @@ -0,0 +1,2 @@ +Foomatic XML data generators for HP's HPIJS driver, used by +foomatic-db-engine to generate PPD files. diff --git a/print/foomatic-db-hpijs/pkg/PLIST b/print/foomatic-db-hpijs/pkg/PLIST new file mode 100644 index 00000000000..1813d53d362 --- /dev/null +++ b/print/foomatic-db-hpijs/pkg/PLIST @@ -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