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

(-)print/ghostscript-afpl/Makefile (-42 / +4 lines)
Lines 7-15 Link Here
7
7
8
PORTNAME=	ghostscript
8
PORTNAME=	ghostscript
9
PORTVERSION=	7.04
9
PORTVERSION=	7.04
10
PORTREVISION=	4
10
PORTREVISION=	5
11
CATEGORIES=	print
11
CATEGORIES=	print
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint,hpijs/} \
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S/$/:DEFAULT,fonts,gprint/} \
13
		http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
13
		http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
14
		http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
14
		http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
15
		http://www.harsch.net/Download/:dj970 \
15
		http://www.harsch.net/Download/:dj970 \
Lines 21-30 Link Here
21
		http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \
21
		http://www.linuxprinting.org/download/printing/samsung-gdi/:gdi \
22
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
22
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
23
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
23
		ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
24
MASTER_SITE_SUBDIR=	${PORTNAME} \
24
MASTER_SITE_SUBDIR=	ghostscript/:DEFAULT,fonts,ports_jp \
25
			gimp-print/:gprint \
25
			gimp-print/:gprint
26
			hpinkjet/:hpijs \
27
			ghostscript/:ports_jp
28
PKGNAMESUFFIX=	-afpl
26
PKGNAMESUFFIX=	-afpl
29
DISTFILES=	${GS_SRCS}:DEFAULT \
27
DISTFILES=	${GS_SRCS}:DEFAULT \
30
		${GS_FONTS_STD}:fonts \
28
		${GS_FONTS_STD}:fonts \
Lines 34-40 Link Here
34
		${PCL3_SRCS}:hpdj_pcl3 \
32
		${PCL3_SRCS}:hpdj_pcl3 \
35
		${DJ970_SRCS}:dj970 \
33
		${DJ970_SRCS}:dj970 \
36
		${GPRINT_SRCS}:gprint \
34
		${GPRINT_SRCS}:gprint \
37
		${HPIJS_SRCS}:hpijs \
38
		${MD2K_SRCS}:md2k \
35
		${MD2K_SRCS}:md2k \
39
		${ALPS_SRCS}:ports_jp \
36
		${ALPS_SRCS}:ports_jp \
40
		${BJ10V_SRCS}:ports_jp \
37
		${BJ10V_SRCS}:ports_jp \
Lines 147-159 Link Here
147
GPRINT_NAME=	${GPRINT}-${GPRINT_VERS}
144
GPRINT_NAME=	${GPRINT}-${GPRINT_VERS}
148
GPRINT_SRCS=	${GPRINT_NAME}.tar.gz
145
GPRINT_SRCS=	${GPRINT_NAME}.tar.gz
149
146
150
# HPinkjet - additional driver for PhotoSmart/DeskJet series (HP developed)
151
# http://hpinkjet.sourceforge.net/
152
HPIJS=		hpijs
153
HPIJS_VERS=	1.0.4
154
HPIJS_NAME=	${HPIJS}-${HPIJS_VERS}
155
HPIJS_SRCS=	${HPIJS_NAME}.tar.gz
156
157
# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
147
# MD2K - additional driver for Alps MD-2000/2010/4000/1300/1500/5000
158
# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
148
# http://plaza26.mbn.or.jp/~higamasa/gdevmd2k/
159
MD2K=		md2k
149
MD2K=		md2k
Lines 257-265 Link Here
257
# for Gimp-Print driver
247
# for Gimp-Print driver
258
	${ECHO_MSG} ">>>   extracting ${GPRINT_SRCS} ..."
248
	${ECHO_MSG} ">>>   extracting ${GPRINT_SRCS} ..."
259
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRCS}
249
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${GPRINT_SRCS}
260
# for HPinkjet driver
261
	${ECHO_MSG} ">>>   extracting ${HPIJS_SRCS} ..."
262
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${HPIJS_SRCS}
263
# for MD2K driver
250
# for MD2K driver
264
	${ECHO_MSG} ">>>   extracting ${MD2K_SRCS} ..."
251
	${ECHO_MSG} ">>>   extracting ${MD2K_SRCS} ..."
265
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS}
252
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${MD2K_SRCS}
Lines 303-314 Link Here
303
		${WRKSRC}/src/unixinst.mak
290
		${WRKSRC}/src/unixinst.mak
304
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
291
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g' \
305
		${WRKSRC}/lib/gs_res.ps
292
		${WRKSRC}/lib/gs_res.ps
306
# for HPinkjet driver
307
	${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
308
		 s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' \
309
			${WRKSRC}/${HPIJS_NAME}/configure
310
	${PERL} -pi -e 's|#include <malloc.h>||g' \
311
		${WRKSRC}/${HPIJS_NAME}/platform.h
312
# for DMPRT driver
293
# for DMPRT driver
313
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
294
	${PERL} -pi -e 's|%%DATADIR%%|${DATADIR}|g ; \
314
		 s|%%GS_VERSION%%|${PORTVERSION}|g' \
295
		 s|%%GS_VERSION%%|${PORTVERSION}|g' \
Lines 400-410 Link Here
400
			--without-user-guide --disable-escputil \
381
			--without-user-guide --disable-escputil \
401
			--disable-nls --disable-shared \
382
			--disable-nls --disable-shared \
402
			--prefix=${PREFIX}
383
			--prefix=${PREFIX}
403
# for HPinkjet driver
404
	${ECHO_MSG} ">>>   running configure script for ${HPIJS} server ..."
405
	cd ${WRKSRC}/${HPIJS_NAME} ; \
406
		${SETENV} ${MAKE_ENV} ${SH} ./configure \
407
			--prefix=${PREFIX}
408
384
409
pre-build:
385
pre-build:
410
	${ECHO_MSG} ">>> in pre-build ..."
386
	${ECHO_MSG} ">>> in pre-build ..."
Lines 424-433 Link Here
424
		${WRKSRC}/${GPRINT}/gimp-print
400
		${WRKSRC}/${GPRINT}/gimp-print
425
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
401
	${LN} -sf ${WRKSRC}/${GPRINT_NAME}/src/main/.libs/libgimpprint.a \
426
		${WRKSRC}/${GPRINT}/libgimpprint.a
402
		${WRKSRC}/${GPRINT}/libgimpprint.a
427
# for HPinkjet driver
428
	${ECHO_MSG} ">>>   building ${HPIJS} server ..."
429
	cd ${WRKSRC}/${HPIJS_NAME} ; \
430
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
431
# for MD2K driver
403
# for MD2K driver
432
	${ECHO_MSG} ">>>   creating symlinks for ${MD2K} ..."
404
	${ECHO_MSG} ">>>   creating symlinks for ${MD2K} ..."
433
.for i in gdevmd2k.c
405
.for i in gdevmd2k.c
Lines 522-530 Link Here
522
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
494
	${INSTALL_DATA} ${WRKSRC}/${PCL3_NAME}/${i} \
523
		${DATADIR}/${PORTVERSION}/${PCL3}
495
		${DATADIR}/${PORTVERSION}/${PCL3}
524
.endfor
496
.endfor
525
# for HPinkjet driver
526
	${ECHO_MSG} ">>>   installing ${HPIJS} server in bindir ..."
527
	${INSTALL_PROGRAM} ${WRKSRC}/${HPIJS_NAME}/hpijs ${PREFIX}/bin
528
# for DMPRT driver
497
# for DMPRT driver
529
	${ECHO_MSG} ">>>   installing ${DMPRT} resources ..."
498
	${ECHO_MSG} ">>>   installing ${DMPRT} resources ..."
530
.for i in dmp_init.ps dmp_site.ps escp_24.src
499
.for i in dmp_init.ps dmp_site.ps escp_24.src
Lines 566-578 Link Here
566
.for i in README
535
.for i in README
567
	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
536
	${INSTALL_DATA} ${WRKSRC}/${GPRINT_NAME}/src/ghost/${i} \
568
		${DOCSDIR}/${PORTVERSION}/${GPRINT}
537
		${DOCSDIR}/${PORTVERSION}/${GPRINT}
569
.endfor
570
# for HPinkjet driver
571
	${ECHO_MSG} ">>>   installing ${HPIJS} docs ..."
572
	${MKDIR} ${DOCSDIR}/${PORTVERSION}/${HPIJS}
573
.for i in hpijs_readme.html gs_hpijs.png
574
	${INSTALL_DATA} ${WRKSRC}/${HPIJS_NAME}/${i} \
575
		${DOCSDIR}/${PORTVERSION}/${HPIJS}
576
.endfor
538
.endfor
577
# for MD2K driver
539
# for MD2K driver
578
	${ECHO_MSG} ">>>   installing ${MD2K} docs ..."
540
	${ECHO_MSG} ">>>   installing ${MD2K} docs ..."
(-)print/ghostscript-afpl/distinfo (-1 lines)
Lines 6-12 Link Here
6
MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
6
MD5 (ghostscript/pcl3-3.3.tar.gz) = 34e664c2a98b847598f8441f8cac7ab6
7
MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
7
MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
8
MD5 (ghostscript/gimp-print-4.2.1.tar.gz) = 62f59f0bf0b4d2843cc9953f3b4f894f
8
MD5 (ghostscript/gimp-print-4.2.1.tar.gz) = 62f59f0bf0b4d2843cc9953f3b4f894f
9
MD5 (ghostscript/hpijs-1.0.4.tar.gz) = e2b8d2a671fdbcd27f20092691d40bba
10
MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
9
MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
11
MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9
10
MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9
12
MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
11
MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
(-)print/ghostscript-afpl/pkg-plist (-4 lines)
Lines 13-19 Link Here
13
bin/gslp
13
bin/gslp
14
bin/gsnd
14
bin/gsnd
15
%%SHLIB%%bin/gsx
15
%%SHLIB%%bin/gsx
16
bin/hpijs
17
bin/lprsetup.sh
16
bin/lprsetup.sh
18
bin/pcl3opts
17
bin/pcl3opts
19
bin/pdf2dsc
18
bin/pdf2dsc
Lines 48-55 Link Here
48
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gimp-print/README
47
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/gimp-print/README
49
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
48
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/NEWS
50
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
49
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpdj/hpdj.html
51
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/gs_hpijs.png
52
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/hpijs/hpijs_readme.html
53
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
50
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/lips/Gdevlips.htm
54
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis
51
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/md2k/README.jis
55
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ
52
%%PORTDOCS%%share/doc/ghostscript/%%GS_VERSION%%/mjc/MJ700V2C.FAQ
Lines 531-537 Link Here
531
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
528
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/mjc
532
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
529
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/md2k
533
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
530
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/lips
534
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpijs
535
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
531
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/hpdj
536
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gimp-print
532
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/gimp-print
537
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser
533
%%PORTDOCS%%@dirrm share/doc/ghostscript/%%GS_VERSION%%/eplaser

Return to bug 37890