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 ..." |