aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript-afpl
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-08-18 05:10:17 +0800
committernaddy <naddy@FreeBSD.org>2002-08-18 05:10:17 +0800
commit1f05467fcd07aeb703eae7a7e8afb359b39b0c80 (patch)
tree3b51cc35b2593a29c2745619b7fc6370849d792a /print/ghostscript-afpl
parent95092844f166c07ea123e7a55dc9e84b47630fca (diff)
downloadfreebsd-ports-gnome-1f05467fcd07aeb703eae7a7e8afb359b39b0c80.tar.gz
freebsd-ports-gnome-1f05467fcd07aeb703eae7a7e8afb359b39b0c80.tar.zst
freebsd-ports-gnome-1f05467fcd07aeb703eae7a7e8afb359b39b0c80.zip
Add BJC250 driver.
PR: 41737 Submitted by: Ports Fury
Diffstat (limited to 'print/ghostscript-afpl')
-rw-r--r--print/ghostscript-afpl/Makefile29
-rw-r--r--print/ghostscript-afpl/distinfo1
-rw-r--r--print/ghostscript-afpl/files/bjc250.contrib.mak31
-rw-r--r--print/ghostscript-afpl/scripts/configure4
-rw-r--r--print/ghostscript-afpl/scripts/configure.batch2
5 files changed, 64 insertions, 3 deletions
diff --git a/print/ghostscript-afpl/Makefile b/print/ghostscript-afpl/Makefile
index 72a255cccc0a..f9213d774bbd 100644
--- a/print/ghostscript-afpl/Makefile
+++ b/print/ghostscript-afpl/Makefile
@@ -7,9 +7,9 @@
PORTNAME= ghostscript
PORTVERSION= 7.04
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= print
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gs_fonts/} \
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gs_fonts,bjc250/} \
http://www.gelhaus.net/hp880c/1.4beta/:hp8xx \
http://home.t-online.de/home/Martin.Lottermoser/pcl3dist/:hpdj_pcl3 \
http://www.harsch.net/Download/:dj970 \
@@ -23,6 +23,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:gs_srcs,gs_fonts/} \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/fonts/:fonts \
ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs704/
MASTER_SITE_SUBDIR= ghostscript/:gs_srcs,gs_fonts,ports_jp_gs \
+ bjc250gs/:bjc250 \
./:ports_jp
PKGNAMESUFFIX= -afpl
DISTFILES= ${GS_SRCS}:gs_srcs \
@@ -35,6 +36,7 @@ DISTFILES= ${GS_SRCS}:gs_srcs \
${MD2K_SRCS}:md2k \
${ALPS_SRCS}:ports_jp_gs \
${BJ10V_SRCS}:ports_jp_gs \
+ ${BJC250_SRCS}:bjc250 \
${LIPS_SRCS}:lips \
${DMPRT_SRCS}:ports_jp_gs \
${EPAG_SRCS}:epag \
@@ -156,6 +158,13 @@ BJ10V= bj10v
BJ10V_NAME= gdev10v
BJ10V_SRCS= ${BJ10V_NAME}.tar.gz
+# BJC250 - additional driver for Canon BJC-210/240/250/265/1000
+# http://bjc250gs.sourceforge.net/
+BJC250= bjc250
+BJC250_VERS= 0.756
+BJC250_NAME= ${BJC250}-v${BJC250_VERS}
+BJC250_SRCS= gs7.05-${BJC250_NAME}.diff.gz
+
# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
# http://www.ucatv.ne.jp/~taeko/software/gs/
LIPS= lips
@@ -250,6 +259,13 @@ post-extract:
# for BJ10V driver
${ECHO_MSG} ">>> extracting ${BJ10V_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${BJ10V_SRCS}
+# for BJC250 driver
+ ${ECHO_MSG} ">>> extracting ${BJC250_SRCS} ..."
+ ${MKDIR} ${WRKSRC}/${BJC250_NAME}/src
+ ${GZCAT} ${DISTDIR}/${DIST_SUBDIR}/${BJC250_SRCS} | \
+ ${PATCH} -d ${WRKSRC}/${BJC250_NAME} -f -s -N -E -p1 \
+ 2>/dev/null || ${TRUE}
+
# for LIPS driver
${ECHO_MSG} ">>> extracting ${LIPS_SRCS} ..."
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${LIPS_SRCS}
@@ -319,6 +335,10 @@ pre-configure:
${ECHO_MSG} ">>> adding ${BJ10V} driver to contrib.mak ..."
${CAT} ${WRKSRC}/${BJ10V_NAME}/gdev10v.mak \
>> ${WRKSRC}/src/contrib.mak
+# for BJC250 driver
+ ${ECHO_MSG} ">>> adding ${BJC250} driver to contrib.mak ..."
+ ${CAT} ${FILESDIR}/bjc250.contrib.mak \
+ >> ${WRKSRC}/src/contrib.mak
# for LIPS driver
${ECHO_MSG} ">>> adding ${LIPS} driver to contrib.mak ..."
${CAT} ${WRKSRC}/${LIPS_NAME}/gdevlips.mak \
@@ -379,6 +399,11 @@ pre-build:
.for i in gdev10v.c
${LN} -sf ${WRKSRC}/${BJ10V_NAME}/${i} ${WRKSRC}/src
.endfor
+# for BJC250 driver
+ ${ECHO_MSG} ">>> creating symlinks for ${BJC250} ..."
+.for i in gdevbjc_.[ch] gdevbjca.c
+ ${LN} -sf ${WRKSRC}/${BJC250_NAME}/src/${i} ${WRKSRC}/src
+.endfor
# for LIPS driver
${ECHO_MSG} ">>> creating symlinks for ${LIPS} ..."
.for i in gdevlips.[ch] gdevlprn.[ch] gdevl4r.c gdevl4v.c gdevespg.c gdevrpdl.c
diff --git a/print/ghostscript-afpl/distinfo b/print/ghostscript-afpl/distinfo
index 17ecfbe0785a..e953668eb784 100644
--- a/print/ghostscript-afpl/distinfo
+++ b/print/ghostscript-afpl/distinfo
@@ -8,6 +8,7 @@ MD5 (ghostscript/gdevdj9.c.gz) = 3a9c20c34b79ffab434abfbcc31d1c27
MD5 (ghostscript/gdevmd2k-0.2a.tar.gz) = 5ed2b4218b8f77cb411f3d2e4509ed24
MD5 (ghostscript/gdevalps-0.21.tar.gz) = 553bee251b96105eb7d1d7f4027ac0e9
MD5 (ghostscript/gdev10v.tar.gz) = 1486bb54c214ce215044a6c606280d73
+MD5 (ghostscript/gs7.05-bjc250-v0.756.diff.gz) = 1a12eddad0c5989811edcfd01a20621d
MD5 (ghostscript/gdevlips-2.4.0.tar.gz) = 89327cac37665f3fdbae0da5f2c8a89f
MD5 (ghostscript/dmprt-2.01.tar.gz) = c7a9fb127fde5d888a798bf5e1822b88
MD5 (ghostscript/epag-3.09.tar.gz) = 63304a6afe44842124d2d880bf24dbe3
diff --git a/print/ghostscript-afpl/files/bjc250.contrib.mak b/print/ghostscript-afpl/files/bjc250.contrib.mak
new file mode 100644
index 000000000000..5c1ce77e98dc
--- /dev/null
+++ b/print/ghostscript-afpl/files/bjc250.contrib.mak
@@ -0,0 +1,31 @@
+### ----------------- The BJC-210/240/250/250ex/265/1000 ---------------- ###
+
+###
+### For questions about the driver, mailto://szaszg@hu.inter.net
+### http://bjc250gs.sourceforge.net
+###
+
+bjc_h=$(GLSRC)gdevbjc_.h
+
+bjc_=$(GLOBJ)gdevbjc_.$(OBJ) $(GLOBJ)gdevbjca.$(OBJ)
+
+$(GLOBJ)gdevbjc_.$(OBJ) : $(GLSRC)gdevbjc_.c $(PDEVH) $(bjc_h)
+ $(GLCC) $(GLO_)gdevbjc_.$(OBJ) $(C_) $(GLSRC)gdevbjc_.c
+
+$(GLOBJ)gdevbjca.$(OBJ) : $(GLSRC)gdevbjca.c $(PDEVH) $(bjc_h)
+ $(GLCC) $(GLO_)gdevbjca.$(OBJ) $(C_) $(GLSRC)gdevbjca.c
+
+$(DD)bjcmono.dev : $(bjc_) $(DD)page.dev
+ $(SETPDEV) $(DD)bjcmono $(bjc_)
+
+$(DD)bjcgray.dev : $(bjc_) $(DD)page.dev
+ $(SETPDEV) $(DD)bjcgray $(bjc_)
+
+$(DD)bjccmyk.dev : $(bjc_) $(DD)page.dev
+ $(SETPDEV) $(DD)bjccmyk $(bjc_)
+
+$(DD)bjccolor.dev : $(bjc_) $(DD)page.dev
+ $(SETPDEV) $(DD)bjccolor $(bjc_)
+
+### -------------------- The H-P Color LaserJet 5/5M -------------------- ###
+
diff --git a/print/ghostscript-afpl/scripts/configure b/print/ghostscript-afpl/scripts/configure
index e46e721a5b4b..0b337569834a 100644
--- a/print/ghostscript-afpl/scripts/configure
+++ b/print/ghostscript-afpl/scripts/configure
@@ -41,6 +41,10 @@ Have fun with this new configuration style ! -andreas \n\n\
"bj200" "Canon BubbleJet BJ-200 and BJC-240(b&w)" ON \
"bjc600" "Canon Color BJC-600/4xxx/70 + Apple StyleWriter 2x00" ON \
"bjc800" "Canon Color BubbleJet BJC-240/800" ON \
+ "bjccmyk" "Canon Color BubbleJet BJC-210/240/250/265/1000 [BJC250]" ON \
+ "bjccolor" "Canon Color BubbleJet BJC-210 ... 1000 truecolor [BJC250]" ON \
+ "bjcgray" "Canon Color BubbleJet BJC-210 ... 1000 grayscale [BJC250]" ON \
+ "bjcmono" "Canon Color BubbleJet BJC-210 ... 1000 monochrome [BJC250]" ON \
"lbp8" "Canon LBP-8II laser printer" OFF \
"lips2p" "Canon LIPS II+ [LIPS]" ON \
"lips3" "Canon LIPS III [LIPS]" ON \
diff --git a/print/ghostscript-afpl/scripts/configure.batch b/print/ghostscript-afpl/scripts/configure.batch
index 3a30da7d6d9b..d60e681b0bdb 100644
--- a/print/ghostscript-afpl/scripts/configure.batch
+++ b/print/ghostscript-afpl/scripts/configure.batch
@@ -10,7 +10,7 @@ ifndef WITHOUT_X11
DEVICE_DEVS= \$(DD)x11.dev \$(DD)x11alpha.dev \$(DD)x11cmyk.dev \$(DD)x11cmyk2.dev \$(DD)x11cmyk4.dev \$(DD)x11cmyk8.dev \$(DD)x11gray2.dev \$(DD)x11gray4.dev \$(DD)x11mono.dev \$(DD)x11rg16x.dev \$(DD)x11rg32x.dev
endif
-DEVICE_DEVS+= \$(DD)md2k.dev \$(DD)md5k.dev \$(DD)md50Mono.dev \$(DD)md50Eco.dev \$(DD)md1xMono.dev \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj10v.dev \$(DD)bj10vh.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)lbp8.dev \$(DD)lips2p.dev \$(DD)lips3.dev \$(DD)lips4.dev \$(DD)bjc880j.dev \$(DD)lips4v.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)uniprint.dev \$(DD)dmprt.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)epag.dev \$(DD)escpage.dev \$(DD)lp2000.dev \$(DD)alc8600.dev \$(DD)alc8500.dev \$(DD)alc2000.dev \$(DD)alc4000.dev \$(DD)lp8800c.dev \$(DD)lp8300c.dev \$(DD)lp8500c.dev \$(DD)lp3000c.dev \$(DD)lp8200c.dev \$(DD)lp8000c.dev \$(DD)epl5900.dev \$(DD)epl5800.dev \$(DD)epl2050.dev \$(DD)epl2050p.dev \$(DD)epl2120.dev \$(DD)lp7500.dev \$(DD)lp2400.dev \$(DD)lp2200.dev \$(DD)lp9400.dev \$(DD)lp8900.dev \$(DD)lp8700.dev \$(DD)lp8100.dev \$(DD)lp7700.dev \$(DD)lp8600f.dev \$(DD)lp8400f.dev \$(DD)lp8300f.dev \$(DD)lp1900.dev \$(DD)lp9600s.dev \$(DD)lp9300.dev \$(DD)lp9600.dev \$(DD)lp8600.dev \$(DD)lp1800.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)mjc180.dev \$(DD)mjc360.dev \$(DD)mjc720.dev \$(DD)mj500c.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)ijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)npdl.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)rpdl.dev \$(DD)gdi.dev \$(DD)sj48.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev
+DEVICE_DEVS+= \$(DD)md2k.dev \$(DD)md5k.dev \$(DD)md50Mono.dev \$(DD)md50Eco.dev \$(DD)md1xMono.dev \$(DD)appledmp.dev \$(DD)iwhi.dev \$(DD)iwlo.dev \$(DD)iwlq.dev \$(DD)hl7x0.dev \$(DD)bj10e.dev \$(DD)bj10v.dev \$(DD)bj10vh.dev \$(DD)bj200.dev \$(DD)bjc600.dev \$(DD)bjc800.dev \$(DD)bjccmyk.dev \$(DD)bjccolor.dev \$(DD)bjcgray.dev \$(DD)bjcmono.dev \$(DD)lbp8.dev \$(DD)lips2p.dev \$(DD)lips3.dev \$(DD)lips4.dev \$(DD)bjc880j.dev \$(DD)lips4v.dev \$(DD)m8510.dev \$(DD)coslw2p.dev \$(DD)coslwxl.dev \$(DD)uniprint.dev \$(DD)dmprt.dev \$(DD)lj250.dev \$(DD)declj250.dev \$(DD)ap3250.dev \$(DD)epson.dev \$(DD)eps9mid.dev \$(DD)eps9high.dev \$(DD)lp8000.dev \$(DD)epag.dev \$(DD)escpage.dev \$(DD)lp2000.dev \$(DD)alc8600.dev \$(DD)alc8500.dev \$(DD)alc2000.dev \$(DD)alc4000.dev \$(DD)lp8800c.dev \$(DD)lp8300c.dev \$(DD)lp8500c.dev \$(DD)lp3000c.dev \$(DD)lp8200c.dev \$(DD)lp8000c.dev \$(DD)epl5900.dev \$(DD)epl5800.dev \$(DD)epl2050.dev \$(DD)epl2050p.dev \$(DD)epl2120.dev \$(DD)lp7500.dev \$(DD)lp2400.dev \$(DD)lp2200.dev \$(DD)lp9400.dev \$(DD)lp8900.dev \$(DD)lp8700.dev \$(DD)lp8100.dev \$(DD)lp7700.dev \$(DD)lp8600f.dev \$(DD)lp8400f.dev \$(DD)lp8300f.dev \$(DD)lp1900.dev \$(DD)lp9600s.dev \$(DD)lp9300.dev \$(DD)lp9600.dev \$(DD)lp8600.dev \$(DD)lp1800.dev \$(DD)lq850.dev \$(DD)epsonc.dev \$(DD)mjc180.dev \$(DD)mjc360.dev \$(DD)mjc720.dev \$(DD)mj500c.dev \$(DD)st800.dev \$(DD)stcolor.dev \$(DD)photoex.dev \$(DD)lp2563.dev \$(DD)dnj650c.dev \$(DD)deskjet.dev \$(DD)djet500.dev \$(DD)cdeskjet.dev \$(DD)djet500c.dev \$(DD)cdjcolor.dev \$(DD)cdjmono.dev \$(DD)cdj500.dev \$(DD)cdj550.dev \$(DD)cdj670.dev \$(DD)cdj850.dev \$(DD)cdj880.dev \$(DD)cdj890.dev \$(DD)cdj1600.dev \$(DD)cdj970.dev \$(DD)laserjet.dev \$(DD)ljetplus.dev \$(DD)ljet2p.dev \$(DD)ljet3.dev \$(DD)ljet3d.dev \$(DD)ljet4.dev \$(DD)ljet4d.dev \$(DD)lj4dith.dev \$(DD)cljet5.dev \$(DD)cljet5c.dev \$(DD)cljet5pr.dev \$(DD)lj5mono.dev \$(DD)lj5gray.dev \$(DD)pj.dev \$(DD)pjetxl.dev \$(DD)pjxl.dev \$(DD)paintjet.dev \$(DD)pjxl300.dev \$(DD)pxlmono.dev \$(DD)pxlcolor.dev \$(DD)pcl3.dev \$(DD)hpdj.dev \$(DD)ijs.dev \$(DD)ibmpro.dev \$(DD)jetp3852.dev \$(DD)imagen.dev \$(DD)fs600.dev \$(DD)lxm5700m.dev \$(DD)cp50.dev \$(DD)necp6.dev \$(DD)npdl.dev \$(DD)oce9050.dev \$(DD)oki182.dev \$(DD)okiibm.dev \$(DD)atx23.dev \$(DD)atx24.dev \$(DD)atx38.dev \$(DD)r4081.dev \$(DD)rpdl.dev \$(DD)gdi.dev \$(DD)sj48.dev \$(DD)t4693d2.dev \$(DD)t4693d4.dev \$(DD)t4693d8.dev \$(DD)tek4696.dev
DEVICE_DEVS+= \$(DD)bmpmono.dev \$(DD)bmpgray.dev \$(DD)bmp16.dev \$(DD)bmp256.dev \$(DD)bmp16m.dev \$(DD)bmp32b.dev \$(DD)bmpsep1.dev \$(DD)bmpsep8.dev \$(DD)ccr.dev \$(DD)cgmmono.dev \$(DD)cgm8.dev \$(DD)cgm24.dev \$(DD)cif.dev \$(DD)dfaxhigh.dev \$(DD)dfaxlow.dev \$(DD)faxg3.dev \$(DD)faxg32d.dev \$(DD)faxg4.dev \$(DD)miff24.dev \$(DD)inferno.dev \$(DD)jpeg.dev \$(DD)jpeggray.dev \$(DD)mgrmono.dev \$(DD)mgrgray2.dev \$(DD)mgrgray4.dev \$(DD)mgrgray8.dev \$(DD)mgr4.dev \$(DD)mgr8.dev \$(DD)pcxmono.dev \$(DD)pcxgray.dev \$(DD)pcx16.dev \$(DD)pcx256.dev \$(DD)pcx24b.dev \$(DD)pcxcmyk.dev \$(DD)pdfwrite.dev \$(DD)bit.dev \$(DD)bitrgb.dev \$(DD)bitcmyk.dev \$(DD)plan9bm.dev \$(DD)pbm.dev \$(DD)pbmraw.dev \$(DD)pgm.dev \$(DD)pgmraw.dev \$(DD)pgnm.dev \$(DD)pgnmraw.dev \$(DD)pnm.dev \$(DD)pnmraw.dev \$(DD)ppm.dev \$(DD)ppmraw.dev \$(DD)pkm.dev \$(DD)pkmraw.dev \$(DD)pksm.dev \$(DD)pksmraw.dev \$(DD)pngmono.dev \$(DD)pnggray.dev \$(DD)png16.dev \$(DD)png256.dev \$(DD)png16m.dev \$(DD)psmono.dev \$(DD)psgray.dev \$(DD)psrgb.dev \$(DD)pswrite.dev \$(DD)epswrite.dev \$(DD)sgirgb.dev \$(DD)sunhmono.dev \$(DD)tiffcrle.dev \$(DD)tiffg3.dev \$(DD)tiffg32d.dev \$(DD)tiffg4.dev \$(DD)tiff12nc.dev \$(DD)tiff24nc.dev \$(DD)tifflzw.dev \$(DD)tiffpack.dev
!EOT