ok?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: Makefile
===================================================================
RCS file: /home2/cvs/OpenBSD/ports/print/gutenprint/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile    11 Sep 2008 19:24:23 -0000      1.7
+++ Makefile    14 Dec 2008 09:25:18 -0000
@@ -6,9 +6,9 @@
 
 V=                     5.0.1
 DISTNAME=              gutenprint-${V}
-PKGNAME-main=          ${DISTNAME}p4
-PKGNAME-foomatic=      foomatic-db-${DISTNAME}
-PKGNAME-gimp=          gutenprint-gimp-${V}p1
+PKGNAME-main=          ${DISTNAME}p5
+PKGNAME-foomatic=      foomatic-db-${DISTNAME}p0
+PKGNAME-gimp=          gutenprint-gimp-${V}p2
 CATEGORIES=            print
 
 EXTRACT_SUFX=          .tar.bz2
@@ -17,8 +17,6 @@
 
 HOMEPAGE=              http://gimp-print.sourceforge.net/
 
-MAINTAINER=            Jacob Meuser <jake...@openbsd.org>
-
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
@@ -87,5 +85,10 @@
 MAKE_FLAGS=            INTLLIBS="\$${LTLIBINTL}"
 
 PKG_ARCH-foomatic=     *
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/foomatic-db-gutenprint
+       ${INSTALL_DATA} ${FILESDIR}/README.OpenBSD-foomatic \
+               ${PREFIX}/share/doc/foomatic-db-gutenprint/README.OpenBSD
 
 .include <bsd.port.mk>
Index: files/README.OpenBSD-foomatic
===================================================================
RCS file: files/README.OpenBSD-foomatic
diff -N files/README.OpenBSD-foomatic
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/README.OpenBSD-foomatic       14 Dec 2008 09:25:18 -0000
@@ -0,0 +1,15 @@
+This package only installs the gutenprint data for Foomatic, not the
+PPD files.  PPD files can be created using foomatic-ppdfile(1) from the
+foomatic-db-engine package as in the following example for an Epson
+Stylus C64:
+
+% foomatic-ppdfile -P C64
+Epson Stylus C64 Id='Epson-Stylus_C64' Driver='gutenprint' 
CompatibleDrivers='gutenprint gutenprint-ijs-simplified.5.0 gutenprint-ijs.5.0 '
+% foomatic-ppdfile -p 'Epson-Stylus_C64' -d 'gutenprint-ijs.5.0' > C64.ppd
+
+C64.ppd can then be used with CUPS or with lpd(8) and foomatic-rip(1) as
+the input filter.
+
+Note that the 'gutenprint' driver must be compiled into Ghostscript to
+work; as this is not the case under OpenBSD, you're advised to use the
+ijs driver which will communicate with Ghostscript using libijs.
Index: pkg/DESCR-main
===================================================================
RCS file: /home2/cvs/OpenBSD/ports/print/gutenprint/pkg/DESCR-main,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR-main
--- pkg/DESCR-main      1 Oct 2007 10:32:57 -0000       1.1.1.1
+++ pkg/DESCR-main      14 Dec 2008 09:25:18 -0000
@@ -4,3 +4,12 @@
 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.
+
+This package only contains the gutenprint libraries and ijs driver.  To
+get more use of this package, install the corresponding package(s):
+
+* foomatic-db-gutenprint: foomatic PPD files, which allows the
+  foomatic-filters to use the gutenprint drivers with your favorite
+  print spooler 
+
+* gutenprint-gimp: printing plugin for gimp
Index: pkg/MESSAGE-foomatic
===================================================================
RCS file: pkg/MESSAGE-foomatic
diff -N pkg/MESSAGE-foomatic
--- pkg/MESSAGE-foomatic        1 Oct 2007 10:32:57 -0000       1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-This package only installs the gutenprint data for Foomatic, not the
-PPD files.  PPD files can be created using foomatic-ppdfile(1) from the
-foomatic-db-engine package as in the following example for an Epson
-Stylus C64:
-
-% foomatic-ppdfile -P C64
-Epson Stylus C64 Id='Epson-Stylus_C64' Driver='gutenprint' 
CompatibleDrivers='gutenprint gutenprint-ijs-simplified.5.0 gutenprint-ijs.5.0 '
-% foomatic-ppdfile -p 'Epson-Stylus_C64' -d 'gutenprint-ijs.5.0' > C64.ppd
-
-C64.ppd can then be used with CUPS or with lpd(8) and foomatic-rip(1) as
-the input filter.
-
-Note that the 'gutenprint' driver must be compiled into Ghostscript to
-work; as this is not the case under OpenBSD, you're advised to use the
-ijs driver which will communicate with Ghostscript using libijs.
Index: pkg/MESSAGE-main
===================================================================
RCS file: pkg/MESSAGE-main
diff -N pkg/MESSAGE-main
--- pkg/MESSAGE-main    31 Aug 2008 16:06:11 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-This package only contains the gutenprint libraries and ijs driver.  To
-use gutenprint with your favorite spooler, install the corresponding
-package(s):
- * foomatic (lpr, cups, LPRng) -> foomatic-db-gutenprint
- * gimp (print plugin) -> gutenprint-gimp
Index: pkg/PLIST-foomatic
===================================================================
RCS file: /home2/cvs/OpenBSD/ports/print/gutenprint/pkg/PLIST-foomatic,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST-foomatic
--- pkg/PLIST-foomatic  1 Oct 2007 10:32:57 -0000       1.1.1.1
+++ pkg/PLIST-foomatic  14 Dec 2008 09:25:18 -0000
@@ -1,4 +1,6 @@
 @comment $OpenBSD: PLIST-foomatic,v 1.1.1.1 2007/10/01 10:32:57 ajacoutot Exp $
+share/doc/foomatic-db-gutenprint/
+share/doc/foomatic-db-gutenprint/README.OpenBSD
 share/foomatic/
 share/foomatic/db/
 share/foomatic/db/source/

Reply via email to