summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-03-29 17:51:04 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-03-29 17:51:04 +0000
commita55ac8908349b897cd6d48b28da9eb0de9fc3c38 (patch)
treebce0d261da60d7f9219e76cad4c6dacea68d34ea /print
parent- Add mod_dumpio to EXPERIMENTAL_MODULES (diff)
Clean up symlinks on deinstallation and work around hitting maxargs
during installation. PR: ports/110974, ports/110981 Approved by: maintainer
Notes
Notes: svn path=/head/; revision=188776
Diffstat (limited to 'print')
-rw-r--r--print/foomatic-db/files/patch-Makefile.in13
-rw-r--r--print/foomatic-db/pkg-plist3
2 files changed, 15 insertions, 1 deletions
diff --git a/print/foomatic-db/files/patch-Makefile.in b/print/foomatic-db/files/patch-Makefile.in
new file mode 100644
index 000000000000..fefa5ce19b15
--- /dev/null
+++ b/print/foomatic-db/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Wed Mar 28 14:47:22 2007
++++ Makefile.in Wed Mar 28 14:48:40 2007
+@@ -66,7 +66,9 @@
+ install -d $(DESTDIR)$(LIBDIR)/db/source/opt
+ install -d $(DESTDIR)$(LIBDIR)/db/source/PPD
+ cp db/oldprinterids $(DESTDIR)$(LIBDIR)/db
+- cp db/source/printer/*.xml $(DESTDIR)$(LIBDIR)/db/source/printer
++ ( for file in `find db/source/printer/ -name \*.xml`; do \
++ cp $$file $(DESTDIR)$(LIBDIR)/db/source/printer; \
++ done )
+ ( cd db/source/driver/; \
+ for d in $(DRIVERXMLS); do \
+ cp $$d $(DESTDIR)$(LIBDIR)/db/source/driver; \
diff --git a/print/foomatic-db/pkg-plist b/print/foomatic-db/pkg-plist
index c9b5a7bde293..1ab4a45469e6 100644
--- a/print/foomatic-db/pkg-plist
+++ b/print/foomatic-db/pkg-plist
@@ -4335,4 +4335,5 @@ share/foomatic/db/source/printer/Xerox-WorkCentre_XK35c.xml
@dirrm share/foomatic/db/source/PPD
@dirrm share/foomatic/db/source
@dirrm share/foomatic/db
-@dirrm share/foomatic
+@dirrmtry share/foomatic
+@unexec unlink %D/share/cups/model/foomatic-db-ppds > /dev/null 2>&1 || true