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

(-)Makefile (-5 / +16 lines)
Lines 12-25 Link Here
12
PKGNAMESUFFIX?=	${GNOME_SUFFIX}${PKGNAMESUFFIX2}
12
PKGNAMESUFFIX?=	${GNOME_SUFFIX}${PKGNAMESUFFIX2}
13
13
14
MAINTAINER=	dinoex@FreeBSD.org
14
MAINTAINER=	dinoex@FreeBSD.org
15
COMMENT=	Emulator for Commodore's C64, C128, VIC20, PET, and CBM-II
15
COMMENT=	"Emulator for Commodore's C64, C128, VIC20, PET, and CBM-II"
16
16
17
LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
17
LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
18
.if !defined(VICE_WITH_GNOME)
18
.if !defined(VICE_WITH_GNOME)
19
LIB_DEPENDS+=	Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
19
LIB_DEPENDS+=	Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
20
.endif
20
.endif
21
21
22
RESTRICTED=	ROMs are copyrighted by Commodore Business Machines
22
RESTRICTED=	"ROMs are copyrighted by Commodore Business Machines"
23
23
24
USE_XPM=	yes
24
USE_XPM=	yes
25
USE_REINPLACE=	yes
25
USE_REINPLACE=	yes
Lines 41-47 Link Here
41
LDFLAGS+=	-L${LOCALBASE}/lib
41
LDFLAGS+=	-L${LOCALBASE}/lib
42
CPPFLAGS+=	-I${LOCALBASE}/include
42
CPPFLAGS+=	-I${LOCALBASE}/include
43
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
43
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
44
INFO=		vice
45
MAN1=		vice.1 c1541.1 petcat.1
44
MAN1=		vice.1 c1541.1 petcat.1
46
MLINKS=		vice.1 x64.1 \
45
MLINKS=		vice.1 x64.1 \
47
		vice.1 x128.1 \
46
		vice.1 x128.1 \
Lines 50-55 Link Here
50
		vice.1 xplus4.1 \
49
		vice.1 xplus4.1 \
51
		vice.1 xcbm2.1
50
		vice.1 xcbm2.1
52
51
52
.if !defined(NOPORTDOCS)
53
INFO=		vice
54
.endif
55
53
.include <bsd.port.pre.mk>
56
.include <bsd.port.pre.mk>
54
57
55
.if exists(${LOCALBASE}/include/esd.h) && !defined(WITHOUT_ESOUND)
58
.if exists(${LOCALBASE}/include/esd.h) && !defined(WITHOUT_ESOUND)
Lines 63-69 Link Here
63
66
64
.if !defined(WITHOUT_NLS)
67
.if !defined(WITHOUT_NLS)
65
USE_GETTEXT=		yes
68
USE_GETTEXT=		yes
66
LIBS+=			-lgettextlib
69
LDFLAGS+=		-lgettextlib
67
PLIST_SUB+=		NLS=""
70
PLIST_SUB+=		NLS=""
68
.else
71
.else
69
CONFIGURE_ARGS+=	--disable-nls
72
CONFIGURE_ARGS+=	--disable-nls
Lines 99-111 Link Here
99
post-patch:
102
post-patch:
100
	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
103
	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
101
		${WRKSRC}/man/vice.1
104
		${WRKSRC}/man/vice.1
105
.if defined(NOPORTDOCS)
106
	${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in
107
.endif
102
108
103
pre-install:
109
pre-install:
104
	${MKDIR} ${DOCSDIR} ${PREFIX}/lib/vice/fonts
110
.if !defined(NOPORTDOCS)
111
	${MKDIR} ${DOCSDIR}
112
.endif
113
	${MKDIR} ${PREFIX}/lib/vice/fonts
105
	${INSTALL_DATA} ${WRKSRC}/data/fonts/vice-cbm.bdf \
114
	${INSTALL_DATA} ${WRKSRC}/data/fonts/vice-cbm.bdf \
106
		${PREFIX}/lib/vice/fonts/
115
		${PREFIX}/lib/vice/fonts/
107
116
108
post-install:
117
post-install:
118
.if !defined(NOPORTDOCS)
109
	@${LN} -sf vice_toc.html ${DOCSDIR}/index.html
119
	@${LN} -sf vice_toc.html ${DOCSDIR}/index.html
120
.endif
110
121
111
.include <bsd.port.post.mk>
122
.include <bsd.port.post.mk>
(-)pkg-plist (-47 / +47 lines)
Lines 7-18 Link Here
7
bin/xpet
7
bin/xpet
8
bin/xplus4
8
bin/xplus4
9
bin/xvic
9
bin/xvic
10
%%NLS%%lib/locale/de/LC_MESSAGES/vice.mo
10
%%NLS%%share/locale/de/LC_MESSAGES/vice.mo
11
%%NLS%%lib/locale/fr/LC_MESSAGES/vice.mo
11
%%NLS%%share/locale/fr/LC_MESSAGES/vice.mo
12
%%NLS%%lib/locale/it/LC_MESSAGES/vice.mo
12
%%NLS%%share/locale/it/LC_MESSAGES/vice.mo
13
%%NLS%%lib/locale/nl/LC_MESSAGES/vice.mo
13
%%NLS%%share/locale/nl/LC_MESSAGES/vice.mo
14
%%NLS%%lib/locale/pl/LC_MESSAGES/vice.mo
14
%%NLS%%share/locale/pl/LC_MESSAGES/vice.mo
15
%%NLS%%lib/locale/sv/LC_MESSAGES/vice.mo
15
%%NLS%%share/locale/sv/LC_MESSAGES/vice.mo
16
lib/vice/C128/basic64
16
lib/vice/C128/basic64
17
lib/vice/C128/basichi
17
lib/vice/C128/basichi
18
lib/vice/C128/basiclo
18
lib/vice/C128/basiclo
Lines 186-232 Link Here
186
lib/vice/VIC20/x11_sym.vkm
186
lib/vice/VIC20/x11_sym.vkm
187
lib/vice/fonts/fonts.dir
187
lib/vice/fonts/fonts.dir
188
lib/vice/fonts/vice-cbm.pcf
188
lib/vice/fonts/vice-cbm.pcf
189
%%DOCSDIR%%/64doc.txt
189
%%PORTDOCS%%%%DOCSDIR%%/64doc.txt
190
%%DOCSDIR%%/BUGS
190
%%PORTDOCS%%%%DOCSDIR%%/BUGS
191
%%DOCSDIR%%/COPYING
191
%%PORTDOCS%%%%DOCSDIR%%/COPYING
192
%%DOCSDIR%%/MSDOS-Ethernet-Howto.txt
192
%%PORTDOCS%%%%DOCSDIR%%/MSDOS-Ethernet-Howto.txt
193
%%DOCSDIR%%/MSDOS-Howto.txt
193
%%PORTDOCS%%%%DOCSDIR%%/MSDOS-Howto.txt
194
%%DOCSDIR%%/MinixVmd-Howto.txt
194
%%PORTDOCS%%%%DOCSDIR%%/MinixVmd-Howto.txt
195
%%DOCSDIR%%/NEWS
195
%%PORTDOCS%%%%DOCSDIR%%/NEWS
196
%%DOCSDIR%%/NLS-Howto.txt
196
%%PORTDOCS%%%%DOCSDIR%%/NLS-Howto.txt
197
%%DOCSDIR%%/PETdoc.txt
197
%%PORTDOCS%%%%DOCSDIR%%/PETdoc.txt
198
%%DOCSDIR%%/Readme.beos
198
%%PORTDOCS%%%%DOCSDIR%%/Readme.beos
199
%%DOCSDIR%%/Readme.dos
199
%%PORTDOCS%%%%DOCSDIR%%/Readme.dos
200
%%DOCSDIR%%/ReadmeMacOSX.txt
200
%%PORTDOCS%%%%DOCSDIR%%/ReadmeMacOSX.txt
201
%%DOCSDIR%%/TODO
201
%%PORTDOCS%%%%DOCSDIR%%/TODO
202
%%DOCSDIR%%/Walkthrough-Howto.txt
202
%%PORTDOCS%%%%DOCSDIR%%/Walkthrough-Howto.txt
203
%%DOCSDIR%%/Win32-Howto.txt
203
%%PORTDOCS%%%%DOCSDIR%%/Win32-Howto.txt
204
%%DOCSDIR%%/cbm_basic_tokens.txt
204
%%PORTDOCS%%%%DOCSDIR%%/cbm_basic_tokens.txt
205
%%DOCSDIR%%/drive_info.txt
205
%%PORTDOCS%%%%DOCSDIR%%/drive_info.txt
206
%%DOCSDIR%%/iec-bus.txt
206
%%PORTDOCS%%%%DOCSDIR%%/iec-bus.txt
207
%%DOCSDIR%%/index.html
207
%%PORTDOCS%%%%DOCSDIR%%/index.html
208
%%DOCSDIR%%/mon.txt
208
%%PORTDOCS%%%%DOCSDIR%%/mon.txt
209
%%DOCSDIR%%/new.gif
209
%%PORTDOCS%%%%DOCSDIR%%/new.gif
210
%%DOCSDIR%%/serial.txt
210
%%PORTDOCS%%%%DOCSDIR%%/serial.txt
211
%%DOCSDIR%%/vice_1.html
211
%%PORTDOCS%%%%DOCSDIR%%/vice_1.html
212
%%DOCSDIR%%/vice_10.html
212
%%PORTDOCS%%%%DOCSDIR%%/vice_10.html
213
%%DOCSDIR%%/vice_11.html
213
%%PORTDOCS%%%%DOCSDIR%%/vice_11.html
214
%%DOCSDIR%%/vice_12.html
214
%%PORTDOCS%%%%DOCSDIR%%/vice_12.html
215
%%DOCSDIR%%/vice_13.html
215
%%PORTDOCS%%%%DOCSDIR%%/vice_13.html
216
%%DOCSDIR%%/vice_14.html
216
%%PORTDOCS%%%%DOCSDIR%%/vice_14.html
217
%%DOCSDIR%%/vice_15.html
217
%%PORTDOCS%%%%DOCSDIR%%/vice_15.html
218
%%DOCSDIR%%/vice_16.html
218
%%PORTDOCS%%%%DOCSDIR%%/vice_16.html
219
%%DOCSDIR%%/vice_2.html
219
%%PORTDOCS%%%%DOCSDIR%%/vice_2.html
220
%%DOCSDIR%%/vice_3.html
220
%%PORTDOCS%%%%DOCSDIR%%/vice_3.html
221
%%DOCSDIR%%/vice_4.html
221
%%PORTDOCS%%%%DOCSDIR%%/vice_4.html
222
%%DOCSDIR%%/vice_5.html
222
%%PORTDOCS%%%%DOCSDIR%%/vice_5.html
223
%%DOCSDIR%%/vice_6.html
223
%%PORTDOCS%%%%DOCSDIR%%/vice_6.html
224
%%DOCSDIR%%/vice_7.html
224
%%PORTDOCS%%%%DOCSDIR%%/vice_7.html
225
%%DOCSDIR%%/vice_8.html
225
%%PORTDOCS%%%%DOCSDIR%%/vice_8.html
226
%%DOCSDIR%%/vice_9.html
226
%%PORTDOCS%%%%DOCSDIR%%/vice_9.html
227
%%DOCSDIR%%/vice_toc.html
227
%%PORTDOCS%%%%DOCSDIR%%/vice_toc.html
228
%%DOCSDIR%%/vice-logo.jpg
228
%%PORTDOCS%%%%DOCSDIR%%/vice-logo.jpg
229
@dirrm %%DOCSDIR%%
229
%%PORTDOCS%%@dirrm %%DOCSDIR%%
230
@dirrm lib/vice/VIC20
230
@dirrm lib/vice/VIC20
231
@dirrm lib/vice/PLUS4
231
@dirrm lib/vice/PLUS4
232
@dirrm lib/vice/PRINTER
232
@dirrm lib/vice/PRINTER

Return to bug 90525