freebsd-ports/print/foomatic-db/files/patch-Makefile.in
Boris Samorodov 652dde7a1c . take maintainership print/foomatic-db, print/foomatic-db-engine, print/foomatic-filters);
. update to version 20131207;
. change MASTER_SITES;
. use new LIB_DEPENDS syntax;
. incorporate USES=gmake;
. allow staging.

PR:		ports/184690
Submitted by:	bsam (me)
Reviewed by:	acm (former maintainer, maintainer timeout)
2013-12-26 19:38:16 +00:00

22 lines
1,002 B
Text

--- Makefile.in.orig 2013-11-25 04:41:21.000000000 +0400
+++ Makefile.in 2013-11-25 12:16:27.911379666 +0400
@@ -67,6 +67,7 @@ install-db:
install -d $(DESTDIR)$(LIBDIR)/db/source/opt
install -d $(DESTDIR)$(LIBDIR)/db/source/PPD
install -d $(DESTDIR)$(LIBDIR)/xmlschema
+ install -d $(DESTDIR)$(datadir)/cups/model
cp db/oldprinterids $(DESTDIR)$(LIBDIR)/db
cp db/source/printer/*.xml $(DESTDIR)$(LIBDIR)/db/source/printer
( cd db/source/driver/; \
@@ -79,10 +80,7 @@ install-db:
if test $(GZIP) != GZIP_NOT_FOUND -a $(GZIP_PPDS) != no ; then \
GZIP='' find $(DESTDIR)$(LIBDIR)/db/source/PPD -name "*.ppd" -exec $(GZIP) "{}" \; ; \
fi
- if test $(CUPS_PPDS) != CUPS_PPDS_NOT_FOUND -a $(PPDS_TO_CUPS) != no ; then \
- install -d $(DESTDIR)$(CUPS_PPDS); \
- ln -sf $(LIBDIR)/db/source/PPD $(DESTDIR)$(CUPS_PPDS)/foomatic-db-ppds; \
- fi
+ ln -sf $(LIBDIR)/db/source/PPD $(DESTDIR)$(datadir)/cups/model/foomatic-db-ppds
cp xmlschema/*.xsd $(DESTDIR)$(LIBDIR)/xmlschema
build: