pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/foomatic-filters-cups Initial import of print/fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d8930ec4b99
branches: trunk
changeset: 504628:7d8930ec4b99
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Dec 17 18:26:15 2005 +0000
description:
Initial import of print/foomatic-filters-cups, which installs Foomatic
support into a pkgsrc CUPS installation.
diffstat:
print/foomatic-filters-cups/DESCR | 1 +
print/foomatic-filters-cups/INSTALL | 18 ++++++++++++++++++
print/foomatic-filters-cups/Makefile | 31 +++++++++++++++++++++++++++++++
print/foomatic-filters-cups/PLIST | 2 ++
4 files changed, 52 insertions(+), 0 deletions(-)
diffs (68 lines):
diff -r eaeb0ca6ea6d -r 7d8930ec4b99 print/foomatic-filters-cups/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-filters-cups/DESCR Sat Dec 17 18:26:15 2005 +0000
@@ -0,0 +1,1 @@
+This package adds Foomatic support to CUPS.
diff -r eaeb0ca6ea6d -r 7d8930ec4b99 print/foomatic-filters-cups/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-filters-cups/INSTALL Sat Dec 17 18:26:15 2005 +0000
@@ -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 -r eaeb0ca6ea6d -r 7d8930ec4b99 print/foomatic-filters-cups/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-filters-cups/Makefile Sat Dec 17 18:26:15 2005 +0000
@@ -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@localhost
+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 -r eaeb0ca6ea6d -r 7d8930ec4b99 print/foomatic-filters-cups/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-filters-cups/PLIST Sat Dec 17 18:26:15 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index