mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 00:39:15 -04:00
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>
68 lines
1.5 KiB
Text
68 lines
1.5 KiB
Text
--- 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 \
|