diff options
author | jlam <jlam> | 2005-12-17 18:41:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-12-17 18:41:43 +0000 |
commit | 9c3725fd3e4e62fb0e20017ff2fd16e823e2364a (patch) | |
tree | 28df1a39818107a6bfce201fe033fe875f7f4f7d | |
parent | bafbdde300b9b8fc566e536c9e6a7441686d9577 (diff) | |
download | pkgsrc-9c3725fd3e4e62fb0e20017ff2fd16e823e2364a.tar.gz |
Initial import of print/foomatic-ppds-cups, which installs the Foomatic
PPDs collection into the CUPS PPD database.
-rw-r--r-- | print/foomatic-ppds-cups/DESCR | 1 | ||||
-rw-r--r-- | print/foomatic-ppds-cups/INSTALL | 19 | ||||
-rw-r--r-- | print/foomatic-ppds-cups/Makefile | 31 | ||||
-rw-r--r-- | print/foomatic-ppds-cups/PLIST | 2 |
4 files changed, 53 insertions, 0 deletions
diff --git a/print/foomatic-ppds-cups/DESCR b/print/foomatic-ppds-cups/DESCR new file mode 100644 index 00000000000..8436914b431 --- /dev/null +++ b/print/foomatic-ppds-cups/DESCR @@ -0,0 +1 @@ +This package adds Foomatic PPDs to the CUPS PPD database. diff --git a/print/foomatic-ppds-cups/INSTALL b/print/foomatic-ppds-cups/INSTALL new file mode 100644 index 00000000000..d964aa0cea1 --- /dev/null +++ b/print/foomatic-ppds-cups/INSTALL @@ -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 --git a/print/foomatic-ppds-cups/Makefile b/print/foomatic-ppds-cups/Makefile new file mode 100644 index 00000000000..f49746c6fb9 --- /dev/null +++ b/print/foomatic-ppds-cups/Makefile @@ -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 +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 --git a/print/foomatic-ppds-cups/PLIST b/print/foomatic-ppds-cups/PLIST new file mode 100644 index 00000000000..a20b0edd78a --- /dev/null +++ b/print/foomatic-ppds-cups/PLIST @@ -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 |