aboutsummaryrefslogtreecommitdiff
path: root/print/foomatic-db-engine
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 12:52:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 12:52:42 +0000
commitb2e7ed49f1ae3bbd036edc6a0d2196197a210c4c (patch)
treeef4231176d44793a3cfdaaf931831bd56bf2bd10 /print/foomatic-db-engine
parentc0365ec95410d28079dec1848df3483dda0cf6ef (diff)
downloadports-b2e7ed49f1ae3bbd036edc6a0d2196197a210c4c.tar.gz
ports-b2e7ed49f1ae3bbd036edc6a0d2196197a210c4c.zip
New port: print/foomatic-db-engine
db engine for foomatic (and gimp-print) printer drivers PR: ports/48812 Submitted by: Martin Ranne <gasp@ridcully.dnsalias.org>
Notes
Notes: svn path=/head/; revision=90631
Diffstat (limited to 'print/foomatic-db-engine')
-rw-r--r--print/foomatic-db-engine/Makefile73
-rw-r--r--print/foomatic-db-engine/distinfo1
-rw-r--r--print/foomatic-db-engine/files/patch-Makefile.in11
-rw-r--r--print/foomatic-db-engine/pkg-descr4
-rw-r--r--print/foomatic-db-engine/pkg-plist28
5 files changed, 117 insertions, 0 deletions
diff --git a/print/foomatic-db-engine/Makefile b/print/foomatic-db-engine/Makefile
new file mode 100644
index 000000000000..c73765331f91
--- /dev/null
+++ b/print/foomatic-db-engine/Makefile
@@ -0,0 +1,73 @@
+# 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
+PORTVERSION= 20030704
+CATEGORIES= print
+MASTER_SITES= #
+
+MAINTAINER= gasp@ridcully.dnsalias.org
+COMMENT= Foomatic database engine
+
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
+ curl.2:${PORTSDIR}/ftp/curl
+
+USE_GMAKE= yes
+USE_PERL5= yes
+USE_BZIP2= yes
+USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+NO_CHECKSUM= yes # the tarball is created on the fly from CVS
+USE_REINPLACE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+CONFIGURE_ENV= PERL=${PERL} LIBDIR=${PREFIX}/share/foomatic/
+
+.include <bsd.port.pre.mk>
+CVS_CMD?= cvs -z3
+CVS_DATE= ${PORTVERSION}
+CVS_SITES?= pserver:anonymous@cvs.linuxprinting.org:/usr/local/cvs
+CVS_MODULE= foomatic-db-engine
+
+MAN1= foomatic-printjob.1 foomatic-ppdfile.1 foomatic-perl-data.1 \
+ foomatic-configure.1 foomatic-compiledb.1 foomatic-combo-xml.1
+MAN8= foomatic-preferred-driver.8 foomatic-ppdload.8 \
+ foomatic-kitload.8 foomatic-getpjloptions.8 \
+ foomatic-addpjloptions.8
+
+#
+# CVS checkout stuff mostly stolen from security/openssh-askpass port by
+# kris@freebsd.org
+#
+do-fetch:
+ @if test ! -f ${DISTDIR}/${PKGNAME}${EXTRACT_SUFX} ; then \
+ ${MKDIR} ${DISTDIR}/${PKGNAME} && \
+ cd ${DISTDIR}/${PKGNAME}; \
+ for CVS_SITE in ${CVS_SITES}; do \
+ ${ECHO_MSG} ">> Attempting to check out from $${CVS_SITE}."; \
+ if ${CVS_CMD} -d:$${CVS_SITE} co -D "${CVS_DATE}" ${CVS_MODULE}; \
+ then \
+ cd ${DISTDIR}; \
+ ${ECHO_MSG} ">> Creating dist tarball in ${DISTDIR}"; \
+ ${ECHO_MSG} ">> \"${PKGNAME}${EXTRACT_SUFX}\"."; \
+ ${MV} ${PKGNAME}/${CVS_MODULE} \
+ ${PKGNAME}/${CVS_MODULE:H}/${PKGNAME}; \
+ ${TAR} -cj \
+ -f ${PKGNAME}${EXTRACT_SUFX} \
+ -C ${PKGNAME}/${CVS_MODULE:H} \
+ ${PKGNAME}; \
+ exit; \
+ fi \
+ done; \
+ ${RMDIR} ${DISTDIR}/${PKGNAME}; \
+ ${ECHO_MSG} ">> CVS checkout failed."; \
+ exit 1; \
+ fi
+
+pre-configure:
+ @cd ${WRKSRC} && ./make_configure
+
+.include <bsd.port.post.mk>
diff --git a/print/foomatic-db-engine/distinfo b/print/foomatic-db-engine/distinfo
new file mode 100644
index 000000000000..909a246d04e3
--- /dev/null
+++ b/print/foomatic-db-engine/distinfo
@@ -0,0 +1 @@
+Data is retrieved via CVS
diff --git a/print/foomatic-db-engine/files/patch-Makefile.in b/print/foomatic-db-engine/files/patch-Makefile.in
new file mode 100644
index 000000000000..68f9ba5b9e3a
--- /dev/null
+++ b/print/foomatic-db-engine/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Sun Apr 27 10:22:31 2003
++++ Makefile.in Wed Oct 8 04:56:22 2003
+@@ -62,7 +62,7 @@
+ PERL_INSTALLDIRS=@PERL_INSTALLDIRS@
+
+ # Genereal paths for all filter scripts
+-EXEC_PATH=/usr/local/bin:/usr/bin:/bin
++EXEC_PATH=${LOCALBASE}/bin:/usr/bin:/bin
+ LOG_PATH=/tmp
+
+ # Paths for LPD and LPRng
diff --git a/print/foomatic-db-engine/pkg-descr b/print/foomatic-db-engine/pkg-descr
new file mode 100644
index 000000000000..6e0590b98258
--- /dev/null
+++ b/print/foomatic-db-engine/pkg-descr
@@ -0,0 +1,4 @@
+foomatic is a collection of printer drivers that can be
+used by gimp-print and cups among others.
+
+WWW: http://www.linuxprinting.org/foomatic.html
diff --git a/print/foomatic-db-engine/pkg-plist b/print/foomatic-db-engine/pkg-plist
new file mode 100644
index 000000000000..33b1b3e7e323
--- /dev/null
+++ b/print/foomatic-db-engine/pkg-plist
@@ -0,0 +1,28 @@
+bin/foomatic-combo-xml
+bin/foomatic-compiledb
+bin/foomatic-configure
+bin/foomatic-datafile
+bin/foomatic-perl-data
+bin/foomatic-ppdfile
+bin/foomatic-printjob
+%%SITE_PERL%%/Foomatic/DB.pm
+%%SITE_PERL%%/Foomatic/Defaults.pm
+%%SITE_PERL%%/Foomatic/PPD.pm
+%%SITE_PERL%%/Foomatic/UIElem.pm
+%%SITE_PERL%%/mach/auto/Foomatic/.packlist
+sbin/foomatic-addpjloptions
+sbin/foomatic-fix-xml
+sbin/foomatic-getpjloptions
+sbin/foomatic-kitload
+sbin/foomatic-nonumericalids
+sbin/foomatic-ppdload
+sbin/foomatic-preferred-driver
+sbin/foomatic-replaceoldprinterids
+share/foomatic/templates/pjl_enum_choice.xml
+share/foomatic/templates/pjl_enum_option.xml
+share/foomatic/templates/pjl_num_option.xml
+@dirrm etc/foomatic
+@dirrm %%SITE_PERL%%/Foomatic
+@dirrm %%SITE_PERL%%/mach/auto/Foomatic/
+@dirrm share/foomatic/templates
+@dirrm share/foomatic