diff options
author | jlam <jlam@pkgsrc.org> | 2005-12-17 18:26:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-12-17 18:26:15 +0000 |
commit | cf09320118fa9f50631cf420ffeeea0d9d60c96d (patch) | |
tree | 5f740408a069f5afb07fcd3523bcb1284276b3ff /print | |
parent | 54eb955f0ae34d3a3e7d9486f9bddfeb6edd0ffb (diff) | |
download | pkgsrc-cf09320118fa9f50631cf420ffeeea0d9d60c96d.tar.gz |
Initial import of print/foomatic-filters-cups, which installs Foomatic
support into a pkgsrc CUPS installation.
Diffstat (limited to 'print')
-rw-r--r-- | print/foomatic-filters-cups/DESCR | 1 | ||||
-rw-r--r-- | print/foomatic-filters-cups/INSTALL | 18 | ||||
-rw-r--r-- | print/foomatic-filters-cups/Makefile | 31 | ||||
-rw-r--r-- | print/foomatic-filters-cups/PLIST | 2 |
4 files changed, 52 insertions, 0 deletions
diff --git a/print/foomatic-filters-cups/DESCR b/print/foomatic-filters-cups/DESCR new file mode 100644 index 00000000000..57ed4458e07 --- /dev/null +++ b/print/foomatic-filters-cups/DESCR @@ -0,0 +1 @@ +This package adds Foomatic support to CUPS. diff --git a/print/foomatic-filters-cups/INSTALL b/print/foomatic-filters-cups/INSTALL new file mode 100644 index 00000000000..df9e9a15583 --- /dev/null +++ b/print/foomatic-filters-cups/INSTALL @@ -0,0 +1,18 @@ +# $NetBSD: INSTALL,v 1.1.1.1 2005/12/17 18:26:15 jlam Exp $ + +CUPS_FILTERDIR="@CUPS_FILTERDIR@" + +case ${STAGE} in +POST-INSTALL) + ${TEST} ! -d ${CUPS_FILTERDIR} || + ${TEST} -f ${CUPS_FILTERDIR}/foomatic-rip || + { ${ECHO} "Adding foomatic-rip filter to CUPS."; + ${LN} -s ${PKG_PREFIX}/bin/foomatic-rip ${CUPS_FILTERDIR}; } + + ;; + +DEINSTALL) + ${ECHO} "Removing foomatic-rip filter from CUPS." + ${RM} -f ${CUPS_FILTERDIR}/foomatic-rip + ;; +esac diff --git a/print/foomatic-filters-cups/Makefile b/print/foomatic-filters-cups/Makefile new file mode 100644 index 00000000000..0a3bb0262e9 --- /dev/null +++ b/print/foomatic-filters-cups/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/12/17 18:26:15 jlam Exp $ + +.include "../../print/foomatic-filters/Makefile.common" + +DISTNAME= foomatic-filters-cups-${FOOMATIC_FILTERS_VERSION} +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= jlam@pkgsrc.org +COMMENT= Foomatic support for CUPS + +DEPENDS+= cups>=1.0:../../print/cups +DEPENDS+= foomatic-filters-${FOOMATIC_FILTERS_VERSION}{,nb[0-9]*}:../../print/foomatic-filters + +EXTRACT_ONLY= # empty +WRKSRC= ${WRKDIR} +NO_CHECKSUM= yes +NO_CONFIGURE= yes + +EVAL_PREFIX+= CUPS_PREFIX=cups +CUPS_FILTERDIR= ${CUPS_PREFIX:Q}/libexec/cups/filter +FILES_SUBST+= CUPS_FILTERDIR=${CUPS_FILTERDIR} + +USE_PKGINSTALL= yes +DEINSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL +INSTALL_EXTRA_TMPL= ${PKGDIR}/INSTALL + +do-build: # empty +do-install: # empty + +.include "../../mk/bsd.pkg.mk" diff --git a/print/foomatic-filters-cups/PLIST b/print/foomatic-filters-cups/PLIST new file mode 100644 index 00000000000..6a32aef1f40 --- /dev/null +++ b/print/foomatic-filters-cups/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/17 18:26:15 jlam Exp $ +@comment this plist intentionally left empty |