View | Details | Raw Unified | Return to bug 98511
Collapse All | Expand All

(-)/usr/ports/print/foo2zjs-new/Makefile (-2 / +4 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	foo2zjs
8
PORTNAME=	foo2zjs
9
PORTVERSION=	20060504
9
PORTVERSION=	20060603
10
CATEGORIES=	print
10
CATEGORIES=	print
11
MASTER_SITES=	http://foo2zjs.rkkda.com/
11
MASTER_SITES=	http://foo2zjs.rkkda.com/
12
DISTNAME=	${PORTNAME}
12
DISTNAME=	${PORTNAME}
Lines 23-35 Link Here
23
SUB_FILES=	pkg-message
23
SUB_FILES=	pkg-message
24
24
25
MAN1=	foo2hp.1 foo2oak-wrapper.1 foo2zjs-wrapper.1 oakdecode.1 foo2hp2600-wrapper.1 foo2oak.1 foo2zjs.1 zjsdecode.1
25
MAN1=	foo2hp.1 foo2oak-wrapper.1 foo2zjs-wrapper.1 oakdecode.1 foo2hp2600-wrapper.1 foo2oak.1 foo2zjs.1 zjsdecode.1
26
EXTRAFILES=	msexpand getweb
26
27
27
post-patch:
28
post-patch:
28
	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
29
	@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
29
30
30
post-install:
31
post-install:
31
	@cd ${WRKSRC} && \
32
	@cd ${WRKSRC} && \
32
		${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/
33
		${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/ && \
34
			${INSTALL_SCRIPT} ${EXTRAFILES} ${PREFIX}/bin/
33
35
34
.if !defined(NOPORTDOCS)
36
.if !defined(NOPORTDOCS)
35
	@${MKDIR} ${DOCSDIR}
37
	@${MKDIR} ${DOCSDIR}
(-)/usr/ports/print/foo2zjs-new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (foo2zjs.tar.gz) = c44f2de01457308cca690b2e5e9dfbc7
1
MD5 (foo2zjs.tar.gz) = 33e0e16b7a15d6caf14d025b23c31865
2
SHA256 (foo2zjs.tar.gz) = f517886d5b1062ac360feff856fd6eac9fa52b2a2278e92f235056541a156a74
2
SHA256 (foo2zjs.tar.gz) = 1e92ba3a1867caaa6231cf354b11c9917c76117623c75eddf60b9d4aacb4c18f
3
SIZE (foo2zjs.tar.gz) = 2127249
3
SIZE (foo2zjs.tar.gz) = 917840
(-)/usr/ports/print/foo2zjs-new/files/patch-getweb.in (+29 lines)
Line 0 Link Here
1
--- getweb.in	Thu May 11 17:02:59 2006
2
+++ getweb.in	Sun Jun  4 15:41:29 2006
3
@@ -48,7 +48,7 @@
4
     exefile="$2"
5
     what="$3"
6
     
7
-    wget $WGETOPTS -O $exefile "$url/$exefile" ||
8
+    fetch -m -o $exefile "$url/$exefile" ||
9
 	error "Couldn't download $url/$exefile"
10
     unzip -o $exefile "$what"
11
     rm $exefile
12
@@ -62,7 +62,7 @@
13
     file="$2"
14
     what="$3"
15
     
16
-    wget $WGETOPTS -O $file "$url/$file" ||
17
+    fetch -m -o $file "$url/$file" ||
18
 	error "Couldn't download $url/$file"
19
     gunzip <$file | tar xvf - $what
20
     rm $file
21
@@ -130,7 +130,7 @@
22
 	do
23
 	    base=`basename $i .IC_`
24
 	    mv $base.IC_ $base.ic_
25
-	    ./msexpand $base.ic_
26
+	    msexpand $base.ic_
27
 	    rm -f $base.ic_
28
 	done
29
 	;;
(-)/usr/ports/print/foo2zjs-new/files/patch-icc2ps_lcms.h (+14 lines)
Line 0 Link Here
1
--- icc2ps/lcms.h	Sun Jun  4 14:21:49 2006
2
+++ icc2ps/lcms.h	Sun Jun  4 14:22:05 2006
3
@@ -133,9 +133,8 @@
4
 
5
 #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
6
 #  include <sys/types.h>
7
-#  define USE_INT64           1
8
-#  define LCMSSLONGLONG       int_64_t
9
-#  define LCMSULONGLONG       u_int64_t
10
+#  define LCMSSLONGLONG       int64_t
11
+#  define LCMSULONGLONG       uint64_t
12
 #endif
13
 
14
 #ifdef USE_INT64
(-)/usr/ports/print/foo2zjs-new/files/pkg-message.in (+13 lines)
Lines 4-7 Link Here
4
4
5
   * %%DOCSDIR%%/INSTALL
5
   * %%DOCSDIR%%/INSTALL
6
6
7
2) Go to tmp directory and run getweb script.
8
9
   # cd /tmp && getweb all
10
11
3) Copy icm and img files.
12
13
   # cp DL*.icm CP*.icm km2430*.icm %%DATADIR%%/icm && \
14
     cp sihp*.img %%DATADIR%%/firmware && \
15
     cp hpclj26*.icm km2430*.icm %%PREFIX%%/share/foo2hp/icm && \
16
     rm *.icm *.img
17
18
4) Enjoy it ;)
19
7
###############################################################################################
20
###############################################################################################
(-)/usr/ports/print/foo2zjs-new/pkg-plist (-19 / +11 lines)
Lines 5-10 Link Here
5
bin/foo2zjs
5
bin/foo2zjs
6
bin/foo2zjs-icc2ps
6
bin/foo2zjs-icc2ps
7
bin/foo2zjs-wrapper
7
bin/foo2zjs-wrapper
8
bin/getweb
9
bin/msexpand
8
bin/okidecode
10
bin/okidecode
9
bin/zjsdecode
11
bin/zjsdecode
10
share/cups/model/Generic-OAKT_Printer.ppd.gz
12
share/cups/model/Generic-OAKT_Printer.ppd.gz
Lines 16-21 Link Here
16
share/cups/model/HP-LaserJet_1005.ppd.gz
18
share/cups/model/HP-LaserJet_1005.ppd.gz
17
share/cups/model/HP-LaserJet_1018.ppd.gz
19
share/cups/model/HP-LaserJet_1018.ppd.gz
18
share/cups/model/HP-LaserJet_1020.ppd.gz
20
share/cups/model/HP-LaserJet_1020.ppd.gz
21
share/cups/model/HP-LaserJet_1022.ppd.gz
19
share/cups/model/Minolta-Color_PageWorks_Pro_L.ppd.gz
22
share/cups/model/Minolta-Color_PageWorks_Pro_L.ppd.gz
20
share/cups/model/Minolta-magicolor_2200_DL.ppd.gz
23
share/cups/model/Minolta-magicolor_2200_DL.ppd.gz
21
share/cups/model/Minolta-magicolor_2300_DL.ppd.gz
24
share/cups/model/Minolta-magicolor_2300_DL.ppd.gz
Lines 23-32 Link Here
23
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
26
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
24
%%PORTDOCS%%%%DOCSDIR%%/README
27
%%PORTDOCS%%%%DOCSDIR%%/README
25
%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
28
%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
26
share/foo2hp/icm/hpclj2600n.icm
27
share/foo2hp/icm/km2430_0.icm
28
share/foo2hp/icm/km2430_1.icm
29
share/foo2hp/icm/km2430_2.icm
30
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,0-per.crd
29
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,0-per.crd
31
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,50-per.crd
30
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,50-per.crd
32
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,75-per.crd
31
%%DATADIR%%/crd/2300w-1200@150-l250-kx,ucr100,75-per.crd
Lines 36-56 Link Here
36
%%DATADIR%%/crd/prolog.ps
35
%%DATADIR%%/crd/prolog.ps
37
%%DATADIR%%/crd/screen1200.ps
36
%%DATADIR%%/crd/screen1200.ps
38
%%DATADIR%%/crd/screen2400.ps
37
%%DATADIR%%/crd/screen2400.ps
39
%%DATADIR%%/firmware/sihp1000.dl
40
%%DATADIR%%/firmware/sihp1005.dl
41
%%DATADIR%%/firmware/sihp1018.dl
42
%%DATADIR%%/firmware/sihp1020.dl
43
%%DATADIR%%/gamma-lookup.ps
38
%%DATADIR%%/gamma-lookup.ps
44
%%DATADIR%%/gamma.ps
39
%%DATADIR%%/gamma.ps
45
%%DATADIR%%/icm/km2430_0.icm
46
%%DATADIR%%/icm/km2430_1.icm
47
%%DATADIR%%/icm/km2430_2.icm
48
%%PORTDOCS%%@dirrm %%DOCSDIR%%
40
%%PORTDOCS%%@dirrm %%DOCSDIR%%
49
@dirrm %%DATADIR%%/icm
41
@dirrmtry %%DATADIR%%/icm
50
@dirrm %%DATADIR%%/firmware
42
@dirrmtry %%DATADIR%%/firmware
51
@dirrm %%DATADIR%%/crd
43
@dirrmtry %%DATADIR%%/crd
52
@dirrm %%DATADIR%%
44
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || echo "Note: %D/%%DATADIR%%: icm and firmware directories not empty, remove it manually"
53
@dirrm share/foo2oak/icm
45
@dirrmtry share/foo2oak/icm
54
@dirrm share/foo2oak
46
@unexec rmdir %D/share/foo2oak 2>/dev/null || echo "Note: %D/share/foo2oak: icm directory not empty, remove it manually"
55
@dirrm share/foo2hp/icm
47
@dirrmtry share/foo2hp/icm
56
@dirrm share/foo2hp
48
@unexec rmdir %D/share/foo2hp 2>/dev/null || echo "Note: %D/share/foo2hp: icm directory not empty, remove it manually"

Return to bug 98511