summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/foo2zjs/Makefile2
-rw-r--r--print/foo2zjs/distinfo6
-rw-r--r--print/foo2zjs/files/patch-Makefile24
3 files changed, 15 insertions, 17 deletions
diff --git a/print/foo2zjs/Makefile b/print/foo2zjs/Makefile
index 29d3544c2f22..f6437e2d7cf5 100644
--- a/print/foo2zjs/Makefile
+++ b/print/foo2zjs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= foo2zjs
-PORTVERSION= 20060919
+PORTVERSION= 20061004
CATEGORIES= print
MASTER_SITES= http://foo2zjs.rkkda.com/
DISTNAME= ${PORTNAME}
diff --git a/print/foo2zjs/distinfo b/print/foo2zjs/distinfo
index 14f52a4894de..07a75e881ca9 100644
--- a/print/foo2zjs/distinfo
+++ b/print/foo2zjs/distinfo
@@ -1,3 +1,3 @@
-MD5 (foo2zjs.tar.gz) = 25120776481235709bf60bf439dd49b9
-SHA256 (foo2zjs.tar.gz) = cc3cd220e9ff0300f8380919793c3311247a297e14d933dab6ed20a50826b8dc
-SIZE (foo2zjs.tar.gz) = 876878
+MD5 (foo2zjs.tar.gz) = 889ac408080c5be11be1085f8567f68d
+SHA256 (foo2zjs.tar.gz) = d84573a6ca5aedb8c8e3a56f1cb2eb13fc71d6c1b11de9d8c8f7be92122fb681
+SIZE (foo2zjs.tar.gz) = 876978
diff --git a/print/foo2zjs/files/patch-Makefile b/print/foo2zjs/files/patch-Makefile
index eb22fede0ff4..e009f719b6eb 100644
--- a/print/foo2zjs/files/patch-Makefile
+++ b/print/foo2zjs/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Mon May 1 22:35:49 2006
-+++ Makefile Sat May 6 21:35:57 2006
+--- Makefile Fri Sep 29 23:28:51 2006
++++ Makefile Sun Oct 8 17:29:53 2006
@@ -6,8 +6,7 @@
VERSION=0.0
@@ -19,18 +19,16 @@
# User ID's
LPuid=-olp
-@@ -155,8 +154,8 @@
+@@ -154,7 +153,7 @@
endif
# Compiler flags
-CFLAGS += -O2 -Wall
--
+CFLAGS?=
-+CC?=
+
#
# Rules to create test documents
- #
-@@ -277,7 +276,7 @@
+@@ -291,7 +290,7 @@
# Installation rules
#
install: all install-test install-prog install-icc2ps install-extra \
@@ -39,18 +37,18 @@
#
# If you use CUPS, then restart the spooler:
# make cups
-@@ -335,8 +334,10 @@
+@@ -349,8 +348,10 @@
#
# Install current database files
#
+ mkdir -p $(FOODB)
@if [ -d $(FOODB) ]; then \
for dir in driver printer opt; do \
-+ install -d $(FOODB)/$$dir/; \
++ 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 @@
+@@ -435,12 +436,13 @@
fi; \
done
@@ -63,6 +61,6 @@
# Install PPD files for CUPS
#
+ mkdir -p $(MODEL)
- if [ -d $(MODEL) ]; then \
- cd PPD; \
- for ppd in *.ppd; do \
+ if [ -d /usr/share/ppd/ ]; then \
+ find /usr/share/ppd/ -name '*foo2zjs*' | xargs rm -f; \
+ find /usr/share/ppd/ -name '*foo2hp*' | xargs rm -f; \