pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/foomatic-ppds-cups Initial import of print/fooma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e267323e63fd
branches: trunk
changeset: 504631:e267323e63fd
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Dec 17 18:41:43 2005 +0000
description:
Initial import of print/foomatic-ppds-cups, which installs the Foomatic
PPDs collection into the CUPS PPD database.
diffstat:
print/foomatic-ppds-cups/DESCR | 1 +
print/foomatic-ppds-cups/INSTALL | 19 +++++++++++++++++++
print/foomatic-ppds-cups/Makefile | 31 +++++++++++++++++++++++++++++++
print/foomatic-ppds-cups/PLIST | 2 ++
4 files changed, 53 insertions(+), 0 deletions(-)
diffs (69 lines):
diff -r 64748a6d4548 -r e267323e63fd print/foomatic-ppds-cups/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-ppds-cups/DESCR Sat Dec 17 18:41:43 2005 +0000
@@ -0,0 +1,1 @@
+This package adds Foomatic PPDs to the CUPS PPD database.
diff -r 64748a6d4548 -r e267323e63fd print/foomatic-ppds-cups/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-ppds-cups/INSTALL Sat Dec 17 18:41:43 2005 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2005/12/17 18:41:43 jlam Exp $
+
+CUPS_DATADIR="@CUPS_DATADIR@"
+
+case ${STAGE} in
+POST-INSTALL)
+ ${TEST} ! -d ${CUPS_DATADIR} ||
+ ${TEST} -d ${CUPS_DATADIR}/foomatic-ppds ||
+ { ${ECHO} "Adding Foomatic PPDs to CUPS PPD database.";
+ ${LN} -fs ${PKG_PREFIX}/share/foomatic/ppd \
+ ${CUPS_DATADIR}/foomatic-ppds; }
+
+ ;;
+
+DEINSTALL)
+ ${ECHO} "Removing Foomatic PPDs from CUPS PPD database."
+ ${RM} -f ${CUPS_DATADIR}/foomatic-ppds
+ ;;
+esac
diff -r 64748a6d4548 -r e267323e63fd print/foomatic-ppds-cups/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-ppds-cups/Makefile Sat Dec 17 18:41:43 2005 +0000
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/17 18:41:43 jlam Exp $
+
+.include "../../print/foomatic-ppds/Makefile.common"
+
+DISTNAME= foomatic-ppds-cups-${FOOMATIC_PPDS_VERSION}
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= jlam%pkgsrc.org@localhost
+COMMENT= Foomatic PPD collection for CUPS servers
+
+DEPENDS+= cups>=1.0:../../print/cups
+DEPENDS+= foomatic-ppds-${FOOMATIC_PPDS_VERSION}{,nb[0-9]*}:../../print/foomatic-ppds
+
+EXTRACT_ONLY= # empty
+WRKSRC= ${WRKDIR}
+NO_CHECKSUM= yes
+NO_CONFIGURE= yes
+
+EVAL_PREFIX+= CUPS_PREFIX=cups
+CUPS_DATADIR= ${CUPS_PREFIX:Q}/share/cups/model
+FILES_SUBST+= CUPS_DATADIR=${CUPS_DATADIR}
+
+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 64748a6d4548 -r e267323e63fd print/foomatic-ppds-cups/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic-ppds-cups/PLIST Sat Dec 17 18:41:43 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/17 18:41:43 jlam Exp $
+@comment this plist intentionally left empty
Home |
Main Index |
Thread Index |
Old Index