summaryrefslogtreecommitdiff
path: root/print/cupsomatic/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-12-21 15:02:26 +0000
committerjlam <jlam>2000-12-21 15:02:26 +0000
commit73b308cc594888d4f3a77832824285ef94878d85 (patch)
treee0ee247b6d673d2b73ab2d76c5bce332a5898c69 /print/cupsomatic/Makefile
parent91ff72a69a0e51c964e93b36356b543bce2ae3a8 (diff)
downloadpkgsrc-73b308cc594888d4f3a77832824285ef94878d85.tar.gz
Split off the PPDs from the cupsomatic filter script. CUPS will copy the
PPD to /etc/cups/ppd when a printer is added, so now even if the cupsomatic-ppds are uninstalled, your CUPS setup will still work as long as the cupsomatic package is still installed.
Diffstat (limited to 'print/cupsomatic/Makefile')
-rw-r--r--print/cupsomatic/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/print/cupsomatic/Makefile b/print/cupsomatic/Makefile
index 0073e9e7796..cc77e553902 100644
--- a/print/cupsomatic/Makefile
+++ b/print/cupsomatic/Makefile
@@ -1,26 +1,28 @@
-# $NetBSD: Makefile,v 1.2 2000/12/12 11:14:49 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2000/12/21 15:02:26 jlam Exp $
-DISTNAME= all-com-ppds
-PKGNAME= cupsomatic-20001211
+DISTNAME= cupsomatic
+PKGNAME= cupsomatic-1.3
CATEGORIES= print
MASTER_SITES= http://www.linuxprinting.org/
+EXTRACT_SUFX= # empty
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+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= mpage-[0-9]*:../../print/mpage
-WRKSRC= ${WRKDIR}/cupsomatic-ppd
-
USE_PERL5= # defined
+NO_WRKSUBDIR= # defined
NO_CONFIGURE= # defined
+EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}/cupsomatic
FILTERDIR= ${PREFIX}/libexec/cups/filter
-MODELDIR= ${PREFIX}/share/cups/model
post-extract:
cd ${WRKSRC}; ${MV} cupsomatic cupsomatic.in
@@ -32,10 +34,5 @@ do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cupsomatic ${FILTERDIR}
- cd ${WRKSRC}/ppd; for dir in *; do \
- ( cd $${dir}; for file in *.ppd; do \
- ${INSTALL_DATA} $${file} ${MODELDIR}/$${dir}-$${file}; \
- done ); \
- done
.include "../../mk/bsd.pkg.mk"