aboutsummaryrefslogtreecommitdiffstats
path: root/print/foo2zjs/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-07 19:38:51 +0800
committerpav <pav@FreeBSD.org>2006-05-07 19:38:51 +0800
commit2c63d7f1649449294090e92b58ea4285c5e1d60d (patch)
treea6a03d68227f1acdf62f2057ece2b62cc67b03b9 /print/foo2zjs/files
parent50a3210224bfc68140c27e5585a398cf0890e0a4 (diff)
downloadfreebsd-ports-gnome-2c63d7f1649449294090e92b58ea4285c5e1d60d.tar.gz
freebsd-ports-gnome-2c63d7f1649449294090e92b58ea4285c5e1d60d.tar.zst
freebsd-ports-gnome-2c63d7f1649449294090e92b58ea4285c5e1d60d.zip
foo2zjs is an open source printer driver for printers that use the Zenographics
ZjStream wire protocol for their print data, such as the Minolta/QMS magicolor 2300 DL or Konica Minolta magicolor 2430 DL. These printers are often erroneously referred to as winprinters or GDI printers. However, Microsoft GDI only mandates the API between an application and the printer driver, not the protocol on the wire between the printer driver and the printer. In fact, ZjStream printers are raster printers which happen to use a very efficient wire protocol which was developed by Zenographics and licensed by most major printer manufacturers for at least some of their product lines. ZjStream is just one of many wire protocols that are in use today, such as Postscript, PCL, Epson, etc. WWW: http://foo2zjs.rkkda.com/ PR: ports/94592 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Diffstat (limited to 'print/foo2zjs/files')
-rw-r--r--print/foo2zjs/files/patch-Makefile68
-rw-r--r--print/foo2zjs/files/pkg-message.in7
2 files changed, 75 insertions, 0 deletions
diff --git a/print/foo2zjs/files/patch-Makefile b/print/foo2zjs/files/patch-Makefile
new file mode 100644
index 000000000000..eb22fede0ff4
--- /dev/null
+++ b/print/foo2zjs/files/patch-Makefile
@@ -0,0 +1,68 @@
+--- Makefile.orig Mon May 1 22:35:49 2006
++++ Makefile Sat May 6 21:35:57 2006
+@@ -6,8 +6,7 @@
+ VERSION=0.0
+
+ # Installation prefix...
+-PREFIX=/usr/local
+-PREFIX=/usr
++PREFIX?=
+
+ # Pathnames for this package...
+ BIN=$(PREFIX)/bin
+@@ -18,7 +17,7 @@
+ DOCDIR=$(PREFIX)/share/doc/foo2zjs/
+
+ # Pathnames for referenced packages...
+-FOODB=/usr/share/foomatic/db/source
++FOODB=$(PREFIX)/share/foomatic/db/source
+
+ # User ID's
+ LPuid=-olp
+@@ -155,8 +154,8 @@
+ endif
+
+ # Compiler flags
+-CFLAGS += -O2 -Wall
+-
++CFLAGS?=
++CC?=
+ #
+ # Rules to create test documents
+ #
+@@ -277,7 +276,7 @@
+ # Installation rules
+ #
+ install: all install-test install-prog install-icc2ps install-extra \
+- install-crd install-foo install-ppd install-man install-doc
++ install-crd install-ppd
+ #
+ # If you use CUPS, then restart the spooler:
+ # make cups
+@@ -335,8 +334,10 @@
+ #
+ # Install current database files
+ #
++ mkdir -p $(FOODB)
+ @if [ -d $(FOODB) ]; then \
+ for dir in driver printer opt; do \
++ install -d $(FOODB)/$$dir/; \
+ echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
+ install -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
+ done \
+@@ -421,12 +422,13 @@
+ fi; \
+ done
+
+-MODEL=/usr/share/cups/model
+-LOCALMODEL=/usr/local/share/cups/model
++MODEL=$(PREFIX)/share/cups/model
++LOCALMODEL=$(PREFIX)/share/cups/model
+ install-ppd:
+ #
+ # Install PPD files for CUPS
+ #
++ mkdir -p $(MODEL)
+ if [ -d $(MODEL) ]; then \
+ cd PPD; \
+ for ppd in *.ppd; do \
diff --git a/print/foo2zjs/files/pkg-message.in b/print/foo2zjs/files/pkg-message.in
new file mode 100644
index 000000000000..0fc230a844b5
--- /dev/null
+++ b/print/foo2zjs/files/pkg-message.in
@@ -0,0 +1,7 @@
+###############################################################################################
+
+1) Please read the detailed installation instructions in the file:
+
+ * %%DOCSDIR%%/INSTALL
+
+###############################################################################################