Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/emulators/bochs/Makefile 356267 2014-06-03 00:40:13Z amdmi3 $ |
2 |
# $FreeBSD: head/emulators/bochs/Makefile 356267 2014-06-03 00:40:13Z amdmi3 $ |
3 |
|
3 |
|
4 |
PORTNAME= bochs |
4 |
PORTNAME= bochs |
5 |
PORTVERSION= 2.6.2 |
5 |
PORTVERSION= 2.6.5 |
6 |
PORTEPOCH= 2 |
6 |
PORTEPOCH= 2 |
7 |
CATEGORIES= emulators |
7 |
CATEGORIES= emulators |
8 |
MASTER_SITES= SF |
8 |
MASTER_SITES= SF |
Lines 12-190
Link Here
|
12 |
|
12 |
|
13 |
LICENSE= LGPL21 |
13 |
LICENSE= LGPL21 |
14 |
|
14 |
|
15 |
OPTIONS_DEFINE= A20_PIN ALIGN_CHECK ASSERT_CHECK AVX \ |
15 |
USES= gmake libtool pkgconfig |
16 |
CDROM CHAINING CLGD54XX CONF_MSRS CPP_SUFX \ |
|
|
17 |
DISASM DOCS \ |
18 |
E1000 ES1370 FPU \ |
19 |
GAMEPORT IDLE_HACK IODEBUG \ |
20 |
LARGE_RAMFILE LOGGING LONG_PHY_ADDR \ |
21 |
MWAIT NE2000 OPTIMIZATIONS PCI PLUGINS PNIC \ |
22 |
RAW_SERIAL READLINE REPEAT_SPEED RFB \ |
23 |
SB16 SDL SHOW_IPS SMP SVGALIB SVM TERM USB USB_OHCI USB_XHCI \ |
24 |
VMX VOODOO WXGTK X11 X86_64 XPM |
25 |
OPTIONS_DEFINE_i386= FAST_FUNCCALL |
26 |
OPTIONS_RADIO= DEBUG |
27 |
OPTIONS_RADIO_DEBUG= DEBUGGER GDB_STUB |
28 |
OPTIONS_DEFAULT=A20_PIN ALIGN_CHECK CDROM CONF_MSRS DISASM FPU LOGGING \ |
29 |
NE2000 OPTIMIZATIONS SB16 X11 |
30 |
|
31 |
A20_PIN_DESC= Enable support for A20 pin |
32 |
ALIGN_CHECK_DESC= Enable alignment check support |
33 |
ASSERT_CHECK_DESC= Enable BX_ASSERT checks |
34 |
AVX_DESC= Enable AVX instructions support |
35 |
CDROM_DESC= Enable CDROM support |
36 |
CHAINING_DESC= Enable handlers-chaining emulation speedups |
37 |
CLGD54XX_DESC= Enable Cirrus Logic GD54xx video card |
38 |
CONF_MSRS_DESC= Enable configurable MSR registers support |
39 |
CPP_SUFX_DESC= Use .cpp as C++ suffix |
40 |
DEBUG_DESCR= Enable Debugging, select this and one of DEBUGGER or GDB_STUB (or none) |
41 |
DEBUGGER_DESC= Enable debugger support |
42 |
DEBUGGER_X86_DESC= Enable x86 hardware debugger |
43 |
DISASM_DESC= Enable disassemler support |
44 |
E1000_DESC= Enable Intel(R) Gigabit Ethernet support |
45 |
ES1370_DESC= Enable ES1370 soundcard support |
46 |
FAST_FUNCCALL_DESC= Enable fast function calls support (x86 only) |
47 |
FPU_DESC= Enable FPU emulator |
48 |
GAMEPORT_DESC= Enable standard PC gameport support |
49 |
GDB_STUB_DESC= Enable GDB stub support |
50 |
IDLE_HACK_DESC= Keep Bochs from using all CPU time |
51 |
IODEBUG_DESC= Enable I/O interface to debugger |
52 |
LARGE_RAMFILE_DESC= Enable large ramfile support |
53 |
LOGGING_DESC= Enable logging |
54 |
LONG_PHY_ADDR_DESC= Enable support for physical address >= 32bit |
55 |
MWAIT_DESC= Enable experimental MONITOR/MWAIT support |
56 |
NE2000_DESC= Enable ne2000 support |
57 |
OPTIMIZATIONS_DESC= Enable all safe speed optimizations |
58 |
PCI_DESC= Enable i440FX PCI support |
59 |
PLUGINS_DESC= Enable building dynamic loadable plugins |
60 |
PNIC_DESC= Enable PCI pseudo NIC (network card) support |
61 |
RAW_SERIAL_DESC= Use raw serial port access |
62 |
READLINE_DESC= Enable readline support in debugger |
63 |
REPEAT_SPEED_DESC= Enable repeated IO and mem copy speedups |
64 |
RFB_DESC= Enable VNC server support in display |
65 |
SB16_DESC= Enable Sound Blaster 16 emulation |
66 |
SHOW_IPS_DESC= Enable logging of measured IPS |
67 |
SMP_DESC= Enable SMP simulation support (CPU level 6) |
68 |
SVM_DESC= Enable SVM (AMD: secure virtual machine) emulation |
69 |
TERM_DESC= Use text only, console based interface |
70 |
USB_DESC= Enable USB UHCI support |
71 |
USB_OHCI_DESC= Enable USB OHCI support |
72 |
USB_XHCI_DESC= Enable experimental USB xHCI support |
73 |
VMX_DESC= Enable Virtialization extensions |
74 |
VOODOO_DESC= Enable 3dfx Voodoo Graphics emulation |
75 |
X86_64_DESC= Enable x86-64 instructions support |
76 |
|
77 |
USES= gmake pkgconfig libtool |
78 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
79 |
CONFIGURE_ENV= ac_cv_header_alsa_asoundlib_h=no |
17 |
CONFIGURE_ENV= ac_cv_header_alsa_asoundlib_h=no |
80 |
CONFIGURE_ARGS= --disable-docbook --disable-instrumentation |
18 |
CONFIGURE_ARGS= --disable-docbook --disable-instrumentation |
81 |
|
19 |
|
|
|
20 |
SUB_FILES= pkg-message |
21 |
|
82 |
CFLAGS+= -fno-exceptions -fomit-frame-pointer ${CPPFLAGS} |
22 |
CFLAGS+= -fno-exceptions -fomit-frame-pointer ${CPPFLAGS} |
83 |
CXXFLAGS+= -fno-rtti |
23 |
CXXFLAGS+= -fno-rtti |
84 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
85 |
LDFLAGS+= -L${LOCALBASE}/lib |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
86 |
|
26 |
|
87 |
SUB_FILES= pkg-message |
27 |
OPTIONS_DEFINE= A20_PIN ALIGN_CHECK ASSERT_CHECK AVX BUSMOUSE \ |
|
|
28 |
CDROM CHAINING CLGD54XX CONF_MSRS CPP_SUFX \ |
29 |
DISASM DOCS \ |
30 |
E1000 ES1370 EVEX FPU \ |
31 |
GAMEPORT IDLE_HACK IODEBUG \ |
32 |
LARGE_RAMFILE LOGGING LONG_PHY_ADDR \ |
33 |
MWAIT NE2000 OPTIMIZATIONS PCI PLUGINS PNIC \ |
34 |
RAW_SERIAL READLINE REPEAT_SPEED RFB \ |
35 |
SB16 SDL SHOW_IPS SMP SVGALIB SVM \ |
36 |
TERM TRACE_LINK \ |
37 |
USB USB_OHCI USB_XHCI \ |
38 |
VMX VNCSERVER VOODOO WXGTK X11 X86_64 XPM |
39 |
OPTIONS_DEFINE_i386= FAST_FUNCCALL |
40 |
OPTIONS_RADIO= DEBUG |
41 |
OPTIONS_RADIO_DEBUG= DEBUGGER GDB_STUB |
42 |
OPTIONS_DEFAULT= A20_PIN ALIGN_CHECK CDROM CONF_MSRS DISASM FPU \ |
43 |
LOGGING NE2000 OPTIMIZATIONS SB16 X11 |
88 |
|
44 |
|
|
|
45 |
A20_PIN_DESC= Enable support for A20 pin |
89 |
A20_PIN_CONFIGURE_ENABLE= a20-pin |
46 |
A20_PIN_CONFIGURE_ENABLE= a20-pin |
90 |
|
47 |
ALIGN_CHECK_DESC= Enable alignment check support |
91 |
ALIGN_CHECK_CONFIGURE_ENABLE= alignment-check |
48 |
ALIGN_CHECK_CONFIGURE_ENABLE= alignment-check |
92 |
|
49 |
ASSERT_CHECK_DESC= Enable BX_ASSERT checks |
93 |
ASSERT_CHECK_CONFIGURE_ENABLE= assert-checks |
50 |
ASSERT_CHECK_CONFIGURE_ENABLE= assert-checks |
94 |
|
51 |
AVX_DESC= Enable AVX instructions support |
95 |
AVX_CONFIGURE_ENABLE= avx |
52 |
AVX_CONFIGURE_ENABLE= avx |
96 |
|
53 |
BUSMOUSE_DESC= Enable Busmouse support |
|
|
54 |
BUSMOUSE_CONFIGURE_ENABLE= busmouse |
55 |
CDROM_DESC= Enable CDROM support |
97 |
CDROM_CONFIGURE_ENABLE= cdrom |
56 |
CDROM_CONFIGURE_ENABLE= cdrom |
98 |
|
57 |
CHAINING_DESC= Enable handlers-chaining emulation speedups |
99 |
CHAINING_CONFIGURE_ENABLE= handlers-chaining |
58 |
CHAINING_CONFIGURE_ENABLE= handlers-chaining |
100 |
|
59 |
CLGD54XX_DESC= Enable Cirrus Logic GD54xx video card |
101 |
CLGD54XX_CONFIGURE_ENABLE= clgd54xx |
60 |
CLGD54XX_CONFIGURE_ENABLE= clgd54xx |
102 |
|
61 |
CONF_MSRS_DESC= Enable configurable MSR registers support |
103 |
CONF_MSRS_CONFIGURE_ENABLE= configurable-msrs |
62 |
CONF_MSRS_CONFIGURE_ENABLE= configurable-msrs |
104 |
|
63 |
CPP_SUFX_DESC= Use .cpp as C++ suffix |
105 |
CPP_SUFX_CONFIGURE_ENABLE= cpp |
64 |
CPP_SUFX_CONFIGURE_ENABLE= cpp |
106 |
|
65 |
DEBUG_DESCR= Enable Debugging, select this and one of DEBUGGER or GDB_STUB (or none) |
|
|
66 |
DEBUGGER_DESC= Enable debugger support |
107 |
DEBUGGER_CONFIGURE_ENABLE= debugger |
67 |
DEBUGGER_CONFIGURE_ENABLE= debugger |
108 |
|
68 |
DEBUGGER_X86_DESC= Enable x86 hardware debugger |
109 |
DEBUGGER_X86_CONFIGURE_ENABLE= x86-debugger |
69 |
DEBUGGER_X86_CONFIGURE_ENABLE= x86-debugger |
110 |
|
70 |
DISASM_DESC= Enable disassemler support |
111 |
DISASM_CONFIGURE_ENABLE= disasm |
71 |
DISASM_CONFIGURE_ENABLE= disasm |
112 |
|
72 |
E1000_DESC= Enable Intel(R) Gigabit Ethernet support |
113 |
E1000_CONFIGURE_ENABLE= e1000 |
73 |
E1000_CONFIGURE_ENABLE= e1000 |
114 |
|
74 |
ES1370_DESC= Enable ES1370 soundcard support |
115 |
ES1370_CONFIGURE_ENABLE= es1370 |
75 |
ES1370_CONFIGURE_ENABLE= es1370 |
116 |
|
76 |
EVEX_DESC= Enable EVEX prefix and AVX-512 extensios support |
|
|
77 |
EVEX_CONFIGURE_ENABLE= evex |
78 |
FAST_FUNCCALL_DESC= Enable fast function calls support (x86 only) |
117 |
FAST_FUNCCALL_CONFIGURE_ENABLE= fast-function-calls |
79 |
FAST_FUNCCALL_CONFIGURE_ENABLE= fast-function-calls |
118 |
|
80 |
FPU_DESC= Enable FPU emulator |
119 |
FPU_CONFIGURE_ENABLE= fpu |
81 |
FPU_CONFIGURE_ENABLE= fpu |
120 |
|
82 |
GAMEPORT_DESC= Enable standard PC gameport support |
121 |
GAMEPORT_CONFIGURE_ENABLE= gameport |
83 |
GAMEPORT_CONFIGURE_ENABLE= gameport |
122 |
|
84 |
GDB_STUB_DESC= Enable GDB stub support |
123 |
GDB_STUB_CONFIGURE_ENABLE= gdb-stub |
85 |
GDB_STUB_CONFIGURE_ENABLE= gdb-stub |
124 |
|
86 |
IDLE_HACK_DESC= Keep Bochs from using all CPU time |
125 |
IDLE_HACK_CONFIGURE_ENABLE= idle-hack |
87 |
IDLE_HACK_CONFIGURE_ENABLE= idle-hack |
126 |
|
88 |
IODEBUG_DESC= Enable I/O interface to debugger |
127 |
IODEBUG_CONFIGURE_ENABLE= iodebug |
89 |
IODEBUG_CONFIGURE_ENABLE= iodebug |
128 |
|
90 |
LARGE_RAMFILE_DESC= Enable large ramfile support |
129 |
LARGE_RAMFILE_CONFIGURE_ENABLE= large-ramfile |
91 |
LARGE_RAMFILE_CONFIGURE_ENABLE= large-ramfile |
130 |
|
92 |
LOGGING_DESC= Enable logging |
131 |
LOGGING_CONFIGURE_ENABLE= logging |
93 |
LOGGING_CONFIGURE_ENABLE= logging |
132 |
|
94 |
LONG_PHY_ADDR_DESC= Enable support for physical address >= 32bit |
133 |
LONG_PHY_ADDR_CONFIGURE_ENABLE= long-phy-address |
95 |
LONG_PHY_ADDR_CONFIGURE_ENABLE= long-phy-address |
134 |
|
96 |
MWAIT_DESC= Enable experimental MONITOR/MWAIT support |
135 |
MWAIT_CONFIGURE_ENABLE= monitor-mwait |
97 |
MWAIT_CONFIGURE_ENABLE= monitor-mwait |
136 |
|
98 |
NE2000_DESC= Enable ne2000 support |
137 |
NE2000_CONFIGURE_ENABLE= ne2000 |
99 |
NE2000_CONFIGURE_ENABLE= ne2000 |
138 |
|
100 |
OPTIMIZATIONS_DESC= Enable all safe speed optimizations |
139 |
OPTIMIZATIONS_CONFIGURE_ENABLE= all-optimizations |
101 |
OPTIMIZATIONS_CONFIGURE_ENABLE= all-optimizations |
140 |
|
102 |
PCI_DESC= Enable i440FX PCI support |
141 |
PCI_CONFIGURE_ENABLE= pci |
103 |
PCI_CONFIGURE_ENABLE= pci |
142 |
|
104 |
PLUGINS_DESC= Enable building dynamic loadable plugins |
143 |
PLUGINS_CONFIGURE_ENABLE= plugins |
105 |
PLUGINS_CONFIGURE_ENABLE= plugins |
144 |
|
106 |
PNIC_DESC= Enable PCI pseudo NIC (network card) support |
145 |
PNIC_CONFIGURE_ENABLE= pnic |
107 |
PNIC_CONFIGURE_ENABLE= pnic |
146 |
|
108 |
RAW_SERIAL_DESC= Use raw serial port access |
147 |
RAW_SERIAL_CONFIGURE_ENABLE= raw-serial |
109 |
RAW_SERIAL_CONFIGURE_ENABLE= raw-serial |
148 |
|
110 |
READLINE_DESC= Enable readline support in debugger |
149 |
READLINE_USES= readline |
111 |
READLINE_USES= readline |
150 |
READLINE_CONFIGURE_ENABLE= readline |
112 |
READLINE_CONFIGURE_ENABLE= readline |
151 |
|
113 |
REPEAT_SPEED_DESC= Enable repeated IO and mem copy speedups |
152 |
REPEAT_SPEED_CONFIGURE_ENABLE= repeat-speedups |
114 |
REPEAT_SPEED_CONFIGURE_ENABLE= repeat-speedups |
153 |
|
115 |
RFB_DESC= Use RFB protocol (works with VNC viewer) |
154 |
RFB_CONFIGURE_WITH= rfb |
116 |
RFB_CONFIGURE_WITH= rfb |
155 |
|
117 |
SB16_DESC= Enable Sound Blaster 16 emulation |
156 |
SB16_CONFIGURE_ENABLE= sb16 |
118 |
SB16_CONFIGURE_ENABLE= sb16 |
157 |
|
119 |
SDL_USE= SDL=sdl |
158 |
SDL_USE= SDL=sdl |
120 |
SDL_CONFIGURE_WITH= sdl |
159 |
SDL_CONFIGURE_WITH= sdl |
121 |
SHOW_IPS_DESC= Enable logging of measured IPS |
160 |
|
|
|
161 |
SHOW_IPS_CONFIGURE_ENABLE= show-ips |
122 |
SHOW_IPS_CONFIGURE_ENABLE= show-ips |
162 |
|
123 |
SMP_DESC= Enable SMP simulation support (CPU level 6) |
163 |
SMP_CONFIGURE_ENABLE= smp |
124 |
SMP_CONFIGURE_ENABLE= smp |
164 |
|
125 |
SVGALIB_LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib |
165 |
SVGALIB_LIB_DEPENDS= libvga.so:${PORTSDIR}/graphics/svgalib |
126 |
SVGALIB_CONFIGURE_WITH= svga |
166 |
SVGALIB_CONFIGURE_WITH= svga |
127 |
SVM_DESC= Enable SVM (AMD: secure virtual machine) emulation |
167 |
|
128 |
SVM_CONFIGURE_ENABLE= svm |
168 |
SVM_CONFIGURE_ENABLE= svm |
129 |
TERM_DESC= Use text only, console based interface |
169 |
|
130 |
TERM_CONFIGURE_WITH= term |
170 |
TERM_CONFIGURE_WITH= term |
131 |
TRACE_LINK_DESC= Enable trace linking speedups |
171 |
|
132 |
TRACE_LINK_CONFIGURE_ENABLE= trace-linking |
172 |
USB_CONFIGURE_ENABLE= usb |
133 |
USB_DESC= Enable USB UHCI support |
173 |
|
134 |
USB_CONFIGURE_ENABLE= usb |
|
|
135 |
USB_OHCI_DESC= Enable USB OHCI support |
174 |
USB_OHCI_CONFIGURE_ENABLE= usb-ohci |
136 |
USB_OHCI_CONFIGURE_ENABLE= usb-ohci |
175 |
|
137 |
USB_XHCI_DESC= Enable experimental USB xHCI support |
176 |
USB_XHCI_CONFIGURE_ENABLE= usb-xhci |
138 |
USB_XHCI_CONFIGURE_ENABLE= usb-xhci |
177 |
|
139 |
VMX_DESC= Enable Virtialization extensions |
|
|
140 |
VNCSERVER_DESC= Use LibVNCServer (works with VNC viewer) |
141 |
VNCSERVER_LIB_DEPENDS= libvncserver.so:${PORTSDIR}/net/libvncserver |
142 |
VNCSERVER_CONFIGURE_WITH= vncsrv |
143 |
VOODOO_DESC= Enable 3dfx Voodoo Graphics emulation |
178 |
VOODOO_CONFIGURE_ENABLE= voodoo |
144 |
VOODOO_CONFIGURE_ENABLE= voodoo |
179 |
|
145 |
WXGTK_USE= WX=2.8 |
180 |
WXGTK_USE= WX=2.4+ |
146 |
WXGTK_CONFIGURE_WITH= wx |
181 |
WXGTK_CONFIGURE_WITH= wx |
147 |
WXGTK_CONFIGURE_OFF= --disable-debugger-gui |
182 |
WXGTK_CONFIGURE_OFF= --disable-debugger-gui |
148 |
X11_USE= XORG=xrandr |
183 |
|
149 |
X11_CONFIGURE_WITH= x11 |
184 |
X11_USE= XORG=xrandr |
150 |
X86_64_DESC= Enable x86-64 instructions support |
185 |
X11_CONFIGURE_WITH= x11 |
|
|
186 |
|
187 |
X86_64_CONFIGURE_ENABLE= x86-64 |
151 |
X86_64_CONFIGURE_ENABLE= x86-64 |
|
|
152 |
XPM_USE= XORG=xpm |
153 |
XOM_CONFIGURE_ENABE= xpm |
188 |
|
154 |
|
189 |
.include <bsd.port.options.mk> |
155 |
.include <bsd.port.options.mk> |
190 |
|
156 |
|
Lines 214-226
Link Here
|
214 |
WITH_CPU_LEVEL= 6 |
180 |
WITH_CPU_LEVEL= 6 |
215 |
.endif |
181 |
.endif |
216 |
|
182 |
|
217 |
.if ${PORT_OPTIONS:MXPM} && ${PORT_OPTIONS:MX11} |
|
|
218 |
USE_XORG+= xpm |
219 |
CONFIGURE_ARGS+=--enable-xpm |
220 |
.else |
221 |
CONFIGURE_ARGS+=--disable-xpm |
222 |
.endif |
223 |
|
224 |
.if defined(WITH_CPU_LEVEL) |
183 |
.if defined(WITH_CPU_LEVEL) |
225 |
.if ${WITH_CPU_LEVEL} < 3 || ${WITH_CPU_LEVEL} > 6 |
184 |
.if ${WITH_CPU_LEVEL} < 3 || ${WITH_CPU_LEVEL} > 6 |
226 |
IGNORE= can not install: WITH_CPU_LEVEL must be an integer value between 3 and 6 |
185 |
IGNORE= can not install: WITH_CPU_LEVEL must be an integer value between 3 and 6 |
Lines 232-237
Link Here
|
232 |
IGNORE= GDB_STUB is incompatible with multiprocessor |
191 |
IGNORE= GDB_STUB is incompatible with multiprocessor |
233 |
.endif |
192 |
.endif |
234 |
|
193 |
|
|
|
194 |
.if ${PORT_OPTIONS:ME1000} && empty(PORT_OPTIONS:MPCI) |
195 |
IGNORE= E1000 network adapter support requires PCI support |
196 |
.endif |
197 |
|
235 |
.if ${PORT_OPTIONS:MES1370} && empty(PORT_OPTIONS:MGAMEPORT) |
198 |
.if ${PORT_OPTIONS:MES1370} && empty(PORT_OPTIONS:MGAMEPORT) |
236 |
IGNORE= ES1370 soundcard support requires GAMEPORT support |
199 |
IGNORE= ES1370 soundcard support requires GAMEPORT support |
237 |
.endif |
200 |
.endif |
Lines 240-245
Link Here
|
240 |
IGNORE= ES1370 soundcard support requires PCI support |
203 |
IGNORE= ES1370 soundcard support requires PCI support |
241 |
.endif |
204 |
.endif |
242 |
|
205 |
|
|
|
206 |
.if ${PORT_OPTIONS:MEVEX} && empty(PORT_OPTIONS:MAVX) |
207 |
IGNORE= EVEX instructions support requires AVX support |
208 |
.endif |
209 |
|
243 |
.if ${PORT_OPTIONS:MPNIC} && empty(PORT_OPTIONS:MPCI) |
210 |
.if ${PORT_OPTIONS:MPNIC} && empty(PORT_OPTIONS:MPCI) |
244 |
IGNORE= PCI pseudo NIC support requires PCI support |
211 |
IGNORE= PCI pseudo NIC support requires PCI support |
245 |
.endif |
212 |
.endif |
Lines 256-261
Link Here
|
256 |
IGNORE= SVM emulation requires X86-64 support |
223 |
IGNORE= SVM emulation requires X86-64 support |
257 |
.endif |
224 |
.endif |
258 |
|
225 |
|
|
|
226 |
.if ${PORT_OPTIONS:MXPM} && empty(PORT_OPTIONS:MX11) |
227 |
IGNORE= XPM support requires X11 support |
228 |
.endif |
229 |
|
259 |
pre-everything:: |
230 |
pre-everything:: |
260 |
.if !defined(WITH_CPU_LEVEL) |
231 |
.if !defined(WITH_CPU_LEVEL) |
261 |
@${ECHO_CMD} |
232 |
@${ECHO_CMD} |
Lines 287-294
Link Here
|
287 |
s|(-lvgagl)$$|\1 @LDFLAGS@|' \ |
258 |
s|(-lvgagl)$$|\1 @LDFLAGS@|' \ |
288 |
${WRKSRC}/gui/Makefile.in |
259 |
${WRKSRC}/gui/Makefile.in |
289 |
|
260 |
|
|
|
261 |
post-build: |
262 |
@${LN} -sf .bochsrc ${WRKSRC}/bochsrc-sample.txt |
263 |
|
290 |
post-install: |
264 |
post-install: |
291 |
.for f in bochs bxcommit bximage |
265 |
.for f in bochs bxcommit bximage bximage_old |
292 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} |
266 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} |
293 |
.endfor |
267 |
.endfor |
294 |
.if ${PORT_OPTIONS:MPLUGINS} |
268 |
.if ${PORT_OPTIONS:MPLUGINS} |
Lines 298-309
Link Here
|
298 |
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
272 |
${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} |
299 |
.endif |
273 |
.endif |
300 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
274 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
301 |
${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}/CHANGES |
275 |
.for i in CHANGES README TODO bochsrc-sample.txt |
302 |
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README |
276 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ |
303 |
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}/TODO |
277 |
${STAGEDIR}${DOCSDIR}) |
304 |
${INSTALL_DATA} ${WRKSRC}/.bochsrc ${STAGEDIR}${DOCSDIR}/bochsrc-sample.txt |
278 |
.endfor |
305 |
${INSTALL_DATA} ${WRKSRC}/docs-html/*.txt ${STAGEDIR}${DOCSDIR} |
279 |
(cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.txt \ |
|
|
280 |
${STAGEDIR}${DOCSDIR}) |
306 |
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html |
281 |
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html |
307 |
${INSTALL_DATA} ${WRKSRC}/docs-html/*.html ${STAGEDIR}${DOCSDIR}/html |
282 |
(cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.html \ |
|
|
283 |
${STAGEDIR}${DOCSDIR}/html) |
308 |
|
284 |
|
309 |
.include <bsd.port.mk> |
285 |
.include <bsd.port.mk> |