openbsd-ports/print/gutenprint/patches/patch-doc_developer_Makefile_in
ajacoutot 5f98d6be66 Import gutenprint-5.0.1
Gutenprint, formerly known as gimp-print, is a project to provide high
quality drivers for Canon, Epson, Lexmark and PCL printers.
This package contains the driver libraries which are the basis of the
gutenprint project, and which can be used by other printing programs. It
may be used with most common UNIX print spooling systems, including
CUPS, lpr, LPRng, or others.

There are 3 subpackages:
* foomatic-db-gutenprint -> Foomatic data for gutenprint drivers
* gutenprint-cups -> gutenprint CUPS driver
* gutenprint-gimp -> Gimp print plug-in


Note: the direct CUPS drivers won't work as they need pstoraster which
will be included with the next ghostscript update; you will still be
able to print with CUPS using foomatic (which most of the time is the
recommended way anyway).
Hopefully, more people will test this now that it's in.

based on a port by jakemsr@
ok jakemsr@
2007-10-01 10:32:57 +00:00

28 lines
1.2 KiB
Plaintext

$OpenBSD: patch-doc_developer_Makefile_in,v 1.1.1.1 2007/10/01 10:32:57 ajacoutot Exp $
--- doc/developer/Makefile.in.orig Sun Sep 9 18:30:00 2007
+++ doc/developer/Makefile.in Sun Sep 9 18:32:42 2007
@@ -600,11 +600,11 @@ html-stamp: $(MANUAL_SRC_FILES)
install-data-local: $(STANDARD_TARGETS)
if test -n '$(STANDARD_TARGETS)' ; then \
- $(mkdir_p) $(DESTDIR)$(datadir)/$(PACKAGE)/doc/$(HTMLDIR) ; \
+ $(mkdir_p) $(DESTDIR)$(docdir)/$(HTMLDIR) ; \
if test -f gutenprint.pdf ; then \
- $(INSTALL_DATA) gutenprint.pdf $(DESTDIR)$(datadir)/$(PACKAGE)/doc ; \
+ $(INSTALL_DATA) gutenprint.pdf $(DESTDIR)$(docdir) ; \
elif test -f $(srcdir)/gutenprint.pdf ; then \
- $(INSTALL_DATA) $(srcdir)/gutenprint.pdf $(DESTDIR)$(datadir)/$(PACKAGE)/doc ; \
+ $(INSTALL_DATA) $(srcdir)/gutenprint.pdf $(DESTDIR)$(docdir) ; \
fi ; \
if test -d $(HTMLDIR) ; then \
HTMLGENDIR="$(HTMLDIR)" ; \
@@ -615,7 +615,7 @@ install-data-local: $(STANDARD_TARGETS)
fi ; \
for file in $$HTMLGENDIR/*.html $$HTMLGENDIR/*.css ; do \
if test -f $$file ; then \
- $(INSTALL_DATA) $$file $(DESTDIR)$(datadir)/$(PACKAGE)/doc/$(HTMLDIR) ; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(HTMLDIR) ; \
fi ; \
done ; \
fi