blob: e02dc786adb04f25cb2beaa42f11fa7af48f92e1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
# $FreeBSD$
# pre/postprocessing driver variables
# dmprt specific
.if ${PORT_OPTIONS:MGS_dmprt}
.include "${MASTERDIR}/files/Makefile.dmprt"
.endif
# epag specific
.if ${PORT_OPTIONS:MGS_epag}
.include "${MASTERDIR}/files/Makefile.epag"
.endif
EPAG_BASE= epag
EPAG_SRCS= ${EPAG_BASE}-3.09.tar.gz
EPAG_NAME= ${EPAG_SRCS:S,.tar.gz$,,}
post-extract-epag:
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
${LN} -s -f ${EPAG_NAME} ${WRKSRC}/${EPAG_BASE}
${INSTALL_DATA} ${FILESDIR}/epag.contrib.mak \
${WRKSRC}/contrib/epag.contrib.mak
post-extract: post-extract-epag
# pcl3 specific
.if ${PORT_OPTIONS:MGS_pcl3}
.include "${MASTERDIR}/files/Makefile.pcl3"
.endif
# cups specific
CUPS_DEVS= cups
.undef _CUPS_DEVS
.for D in ${CUPS_DEVS}
.if ${PORT_OPTIONS:MCUPS} && ${PORT_OPTIONS:MGS_${D}}
_CUPS_DEVS+= ${D}
.else
PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}}
.endif
.endfor
.if defined(_CUPS_DEVS)
LIB_DEPENDS+= libcupsimage.so:${PORTSDIR}/print/cups
CONFIGURE_ARGS+= --enable-cups
.else
CONFIGURE_ARGS+= --disable-cups
.endif
# vgalib specific
VGA_DEVS= lvga256 vgalib
.undef _VGA_DEVS
.for D in ${VGA_DEVS}
.if ${PORT_OPTIONS:MGS_${D}}
.if ${ARCH:Mamd64} || ${ARCH:Mi386}
_VGA_DEVS+= ${D}
.else
OPTIONS_UNSET+= ${PORT_OPTIONS:MGS_${D}}
.endif
.endif
.endfor
.if defined(_VGA_DEVS)
LIB_DEPENDS+= libvga.so:${PORTSDIR}/graphics/svgalib
.endif
# iconv specific
ICONV_DEVS= oprp opvp
.undef _ICONV_DEVS
.for D in ${ICONV_DEVS}
.if ${PORT_OPTIONS:MICONV} && ${PORT_OPTIONS:MGS_${D}}
_ICONV_DEVS+= ${D}
.else
PORT_OPTIONS:= ${PORT_OPTIONS:NGS_${D}}
.endif
.endfor
.if defined(_ICONV_DEVS)
USES+= iconv
CONFIGURE_ARGS+=--with-libiconv=maybe
.else
CONFIGURE_ARGS+=--with-libiconv=no
.endif
# pre-defined order
DEVS_LIST= DISPLAY_DEV \
DEVS1 DEVS2 DEVS3 DEVS4 DEVS5 DEVS6 DEVS7 DEVS8 DEVS9 \
DEVS10 DEVS11 DEVS12 DEVS13 DEVS14 DEVS15 DEVS16 DEVS17 DEVS18 \
DEVS19 DEVS20 DEVS21
DISPLAY_DEV= bbox.dev
DEVICE_DEVS1= bmpmono.dev bmpgray.dev bmpsep1.dev bmpsep8.dev \
bmp16.dev bmp256.dev bmp16m.dev bmp32b.dev stcolor.dev
DEVICE_DEVS2= epson.dev eps9high.dev eps9mid.dev epsonc.dev ibmpro.dev
DEVICE_DEVS3= deskjet.dev djet500.dev laserjet.dev ljetplus.dev \
ljet2p.dev ljet3.dev ljet3d.dev ljet4.dev ljet4d.dev \
lj5mono.dev lj5gray.dev cups.dev
DEVICE_DEVS4= cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev \
pjxl.dev pjxl300.dev ijs.dev
DEVICE_DEVS5= uniprint.dev omni.dev inkcov.dev
DEVICE_DEVS6= bj10e.dev bj200.dev bjc600.dev bjc800.dev png48.dev \
png16m.dev pnggray.dev pngmono.dev png256.dev png16.dev \
pngalpha.dev
DEVICE_DEVS7= faxg3.dev faxg32d.dev faxg4.dev
DEVICE_DEVS8= pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev \
pcxcmyk.dev plan.dev planc.dev plang.dev plank.dev \
planm.dev plib.dev plibc.dev plibg.dev plibk.dev plibm.dev
DEVICE_DEVS9= pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev \
pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev \
pkmraw.dev pksm.dev pksmraw.dev
DEVICE_DEVS10= tiffcrle.dev tiffg3.dev tiffg32d.dev tiffg4.dev \
tifflzw.dev tiffpack.dev
DEVICE_DEVS11= tiff12nc.dev tiff24nc.dev tiff48nc tiffgray.dev \
tiff32nc.dev tiff64nc.dev tiffsep.dev tiffsep1.dev
DEVICE_DEVS12= bit.dev bitrgb.dev bitcmyk.dev
DEVICE_DEVS13=
DEVICE_DEVS14= jpeg.dev jpeggray.dev jpegcmyk.dev
DEVICE_DEVS15= pdfwrite.dev ps2write.dev eps2write.dev \
txtwrite.dev pxlmono.dev pxlcolor.dev
DEVICE_DEVS16= bbox.dev
DEVICE_DEVS17=
DEVICE_DEVS18=
DEVICE_DEVS20= cljet5.dev cljet5c.dev
DEVICE_DEVS21= spotcmyk.dev devicen.dev xcf.dev psdcmyk.dev psdrgb.dev \
pamcmyk32.dev
# DEVS19 is for this port specific
DEVICE_DEVS19= alc1900.dev alc2000.dev alc4000.dev alc4100.dev \
alc8500.dev alc8600.dev ap3250.dev appledmp.dev atx23.dev \
atx24.dev atx38.dev bj10v.dev bj10vh.dev bjc880j.dev \
bjccmyk.dev bjccolor.dev bjcgray.dev bjcmono.dev \
ccr.dev cdj1600.dev cdj500.dev cdj670.dev cdj850.dev \
cdj880.dev cdj890.dev cdj970.dev cdnj500.dev cfax.dev \
cgm24.dev cgm8.dev cgmmono.dev chp2200.dev cif.dev \
cljet5pr.dev coslw2p.dev coslwxl.dev cp50.dev declj250.dev \
dfaxhigh.dev dfaxlow.dev display.dev dj505j.dev djet500c.dev \
dl2100.dev dmprt.dev dnj650c.dev epag.dev epl2050.dev \
epl2050p.dev epl2120.dev epl2500.dev epl2750.dev epl5800.dev \
epl5900.dev epl6100.dev eplcolor.dev eplmono.dev escpage.dev \
fmlbp.dev fmpr.dev fs600.dev gdi.dev hl1240.dev hl1250.dev \
hl7x0.dev imagen.dev imdi.dev inferno.dev iwhi.dev iwlo.dev \
iwlq.dev jetp3852.dev jj100.dev jpegcmyk.dev la50.dev la70.dev \
la75.dev la75plus.dev lbp310.dev lbp320.dev lbp8.dev \
lex2050.dev lex3200.dev lex5700.dev lex7000.dev lips2p.dev \
lips3.dev lips4.dev lips4v.dev lj250.dev lj4dith.dev \
lj4dithp.dev ljet4pjl.dev ln03.dev lp1800.dev lp1900.dev \
lp2000.dev lp2200.dev lp2400.dev lp2500.dev lp2563.dev \
lp3000c.dev lp7500.dev lp7700.dev lp7900.dev lp8000.dev \
lp8000c.dev lp8100.dev lp8200c.dev lp8300c.dev lp8300f.dev \
lp8400f.dev lp8500c.dev lp8600.dev lp8600f.dev lp8700.dev \
lp8800c.dev lp8900.dev lp9000b.dev lp9000c.dev lp9100.dev \
lp9300.dev lp9400.dev lp9500c.dev lp9600.dev lp9600s.dev \
lp9800c.dev lq850.dev lvga256.dev lx5000.dev lxm3200.dev \
lxm5700m.dev m8510.dev mag16.dev mag256.dev md1xMono.dev \
md2k.dev md50Eco.dev md50Mono.dev md5k.dev mgr4.dev mgr8.dev \
mgrgray2.dev mgrgray4.dev mgrgray8.dev mgrmono.dev miff24.dev \
mj500c.dev mj6000c.dev mj700v2c.dev mj8000c.dev ml600.dev \
necp6.dev npdl.dev oce9050.dev oki182.dev oki4w.dev okiibm.dev \
oprp.dev opvp.dev paintjet.dev pam.dev pamcmyk32.dev pcl3.dev \
perm.dev photoex.dev picty180.dev pjetxl.dev plan9bm.dev \
pr1000.dev pr1000_4.dev pr150.dev pr201.dev r4081.dev rpdl.dev \
sgirgb.dev sj48.dev st800.dev sunhmono.dev t4693d2.dev \
t4693d4.dev t4693d8.dev tek4696.dev tiff48nc tiff64nc.dev \
tiffsep1.dev txtwrite.dev vgalib.dev wtscmyk.dev wtsimdi.dev \
x11.dev x11alpha.dev x11cmyk.dev x11cmyk2.dev x11cmyk4.dev \
x11cmyk8.dev x11gray2.dev x11gray4.dev x11mono.dev x11rg16x.dev \
x11rg32x.dev xcfcmyk.dev xes.dev
|