summaryrefslogtreecommitdiff
path: root/print/foomatic-ppds
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-12-17 18:39:24 +0000
committerjlam <jlam@pkgsrc.org>2005-12-17 18:39:24 +0000
commit5db5f894e9e24ddd35c2828a524ef0702236d8e5 (patch)
tree41f52d026a1c93c815764735d1fea46786bc0bf5 /print/foomatic-ppds
parent80d856760538c6afd8c60fc4a1d6a1c329e00fcb (diff)
downloadpkgsrc-5db5f894e9e24ddd35c2828a524ef0702236d8e5.tar.gz
Initial import of print/foomatic-ppds, which is a collection of PPD
files for use with foomatic-rip. This collection is from the PPD tarball generated from the Foomatic printer database on 2005-12-17.
Diffstat (limited to 'print/foomatic-ppds')
-rw-r--r--print/foomatic-ppds/DESCR4
-rw-r--r--print/foomatic-ppds/Makefile39
-rw-r--r--print/foomatic-ppds/Makefile.common11
-rw-r--r--print/foomatic-ppds/PLIST1
-rw-r--r--print/foomatic-ppds/distinfo5
5 files changed, 60 insertions, 0 deletions
diff --git a/print/foomatic-ppds/DESCR b/print/foomatic-ppds/DESCR
new file mode 100644
index 00000000000..a4bf9fbecb6
--- /dev/null
+++ b/print/foomatic-ppds/DESCR
@@ -0,0 +1,4 @@
+The Foomatic PPD collection includes suitable PPDs for printers listed
+in the Foomatic printer/driver database. Together with the
+foomatic-filters package, this collection of PPDs allows many
+non-PostScript printers to function as if they were PostScript printers.
diff --git a/print/foomatic-ppds/Makefile b/print/foomatic-ppds/Makefile
new file mode 100644
index 00000000000..3b97a5092f2
--- /dev/null
+++ b/print/foomatic-ppds/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/17 18:39:24 jlam Exp $
+
+.include "Makefile.common"
+
+DISTNAME= foomatic-filters-ppds-${FOOMATIC_PPDS_VERSION}
+PKGNAME= ${DISTNAME:S/-filters-/-/}
+
+# The definitive location of the distfile is at www.linuxprinting.org,
+# but this tarball is regenerated daily from the Foomatic database.
+# Rather than track this file very aggressively, we'll place a new
+# copy at MASTER_SITE_LOCAL periodically and update this package
+# accordingly.
+#
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ http://www.linuxprinting.org/download/foomatic/
+
+MAINTAINER= jlam@pkgsrc.org
+COMMENT= Foomatic PPDs collection
+
+DEPENDS= foomatic-filters>=3.0.2:../../print/foomatic-filters
+
+USE_PKGINSTALL= yes
+REQD_DIRS= share/foomatic
+PLIST_SRC= ${WRKDIR}/PLIST_SRC
+
+do-build:
+ ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC}
+ cd ${WRKSRC}/share; \
+ ${FIND} ppd -type f -print | ${SORT} -u | \
+ ${SED} -e "s|^|share/foomatic/|" >> ${PLIST_SRC}
+ cd ${WRKSRC}/share; \
+ ${FIND} ppd -type d -print | ${SORT} -ur | \
+ ${SED} -e "s|^|@dirrm share/foomatic/|" >> ${PLIST_SRC}
+ ${ECHO} "@dirrm share/foomatic" >> ${PLIST_SRC}
+
+do-install:
+ ${CP} -R ${WRKSRC}/share/ppd ${PREFIX}/share/foomatic/ppd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/foomatic-ppds/Makefile.common b/print/foomatic-ppds/Makefile.common
new file mode 100644
index 00000000000..00d37984384
--- /dev/null
+++ b/print/foomatic-ppds/Makefile.common
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2005/12/17 18:39:24 jlam Exp $
+#
+# This Makefile.common file is included by the following Makefiles:
+#
+# print/foomatic-ppds/Makefile
+# print/foomatic-ppds-cups/Makefile
+#
+
+FOOMATIC_PPDS_VERSION= 20051217
+CATEGORIES= print
+HOMEPAGE= http://www.linuxprinting.org/foomatic.html
diff --git a/print/foomatic-ppds/PLIST b/print/foomatic-ppds/PLIST
new file mode 100644
index 00000000000..acb2154e697
--- /dev/null
+++ b/print/foomatic-ppds/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/17 18:39:24 jlam Exp $
diff --git a/print/foomatic-ppds/distinfo b/print/foomatic-ppds/distinfo
new file mode 100644
index 00000000000..4ba8072af86
--- /dev/null
+++ b/print/foomatic-ppds/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/12/17 18:39:24 jlam Exp $
+
+SHA1 (foomatic-filters-ppds-20051217.tar.gz) = e9b21db17f1a1a78070df4b3dc685783e119c74b
+RMD160 (foomatic-filters-ppds-20051217.tar.gz) = 75c294cc549213518751350b0dcff91f214ddc44
+Size (foomatic-filters-ppds-20051217.tar.gz) = 9012749 bytes