diff options
author | jlam <jlam@pkgsrc.org> | 2000-12-21 15:06:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-12-21 15:06:05 +0000 |
commit | e98158ca4810451c9782d527d5b2b1de26b3e545 (patch) | |
tree | 842c898cf609d526d482e4ad6c92c2d37c3cad30 /print | |
parent | ce2eeec55f14a3633fb11d255ec8205eb17001f5 (diff) | |
download | pkgsrc-e98158ca4810451c9782d527d5b2b1de26b3e545.tar.gz |
cupsomatic-ppds: free software printer drivers for use with CUPS
Diffstat (limited to 'print')
-rw-r--r-- | print/cupsomatic-ppds/Makefile | 55 | ||||
-rw-r--r-- | print/cupsomatic-ppds/files/md5 | 3 | ||||
-rw-r--r-- | print/cupsomatic-ppds/pkg/COMMENT | 1 | ||||
-rw-r--r-- | print/cupsomatic-ppds/pkg/DESCR | 4 | ||||
-rw-r--r-- | print/cupsomatic-ppds/pkg/PLIST | 1 |
5 files changed, 64 insertions, 0 deletions
diff --git a/print/cupsomatic-ppds/Makefile b/print/cupsomatic-ppds/Makefile new file mode 100644 index 00000000000..c7128a2ed36 --- /dev/null +++ b/print/cupsomatic-ppds/Makefile @@ -0,0 +1,55 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/12/21 15:06:06 jlam Exp $ + +DISTNAME= all-com-ppds +PKGNAME= cupsomatic-ppds-20001220 +WRKSRC= ${WRKDIR}/cupsomatic-ppd +CATEGORIES= print + +# Not sure why ${MASTER_SITE_LOCAL:=${PKGNAME}} doesn't work, but the +# following does the correct substitution. +# +.for subdir in ${PKGNAME} +MASTER_SITES= ${MASTER_SITE_LOCAL:=${subdir}/} +.endfor + +# The definitive location of the distfile is at www.linuxprinting.org, +# but this file changes daily as more PPDs are added. 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+= http://www.linuxprinting.org/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.linuxprinting.org/cups-doc.html + +CONFLICTS+= cupsomatic-200012?? + +DIST_SUBDIR= ${PKGNAME} + +DEPENDS+= cups>=1.1.1:../../print/cups +DEPENDS+= cupsomatic-[0-9]*:../../print/cupsomatic + +NO_CONFIGURE= # defined +NO_BUILD= # defined + +PLIST_SRC= ${WRKDIR}/PLIST +MODELDIR= share/cups/model + +# Dynamically generate the PLIST during installation to ease package +# upgrading. +# +do-install: + ${RM} -f ${PLIST_SRC} + ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} + cd ${WRKSRC}/ppd; for dir in *; do ( \ + cd $${dir}; for file in *.ppd; do \ + ${ECHO} "Installing ${PREFIX}/${MODELDIR}/$${dir}/$${file}"; \ + ${INSTALL_DATA_DIR} ${PREFIX}/${MODELDIR}/$${dir}; \ + ${INSTALL_DATA} $${file} \ + ${PREFIX}/${MODELDIR}/$${dir}/$${file}; \ + ${ECHO} "${MODELDIR}/$${dir}/$${file}" >> ${PLIST_SRC}; \ + done; \ + ${ECHO} "@dirrm ${MODELDIR}/$${dir}" >> ${PLIST_SRC} ); \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/print/cupsomatic-ppds/files/md5 b/print/cupsomatic-ppds/files/md5 new file mode 100644 index 00000000000..84e02a865e5 --- /dev/null +++ b/print/cupsomatic-ppds/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/12/21 15:06:06 jlam Exp $ + +MD5 (cupsomatic-ppds-20001220/all-com-ppds.tar.gz) = 29a5838e19fbdc272ba1bb41035022af diff --git a/print/cupsomatic-ppds/pkg/COMMENT b/print/cupsomatic-ppds/pkg/COMMENT new file mode 100644 index 00000000000..aa1fc974a09 --- /dev/null +++ b/print/cupsomatic-ppds/pkg/COMMENT @@ -0,0 +1 @@ +free software printer drivers for use with CUPS diff --git a/print/cupsomatic-ppds/pkg/DESCR b/print/cupsomatic-ppds/pkg/DESCR new file mode 100644 index 00000000000..fc515f06f53 --- /dev/null +++ b/print/cupsomatic-ppds/pkg/DESCR @@ -0,0 +1,4 @@ +The CUPS-O-Matic PPD collection includes suitable PPDs any printer +driver that has full details entered in the Linux Printing Database +(http://www.linuxprinting.org). This collection allows many +non-Postscript printers to function with CUPS. diff --git a/print/cupsomatic-ppds/pkg/PLIST b/print/cupsomatic-ppds/pkg/PLIST new file mode 100644 index 00000000000..648f546f012 --- /dev/null +++ b/print/cupsomatic-ppds/pkg/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/21 15:06:06 jlam Exp $ |