blob: 6961a1b88c0c88bb9b92fcd1042a464e382f8ad8 (
plain)
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
|
# $NetBSD: Makefile,v 1.153 2021/01/01 12:46:03 rhialto Exp $
DISTNAME= vice-3.5
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vice-emu/}
MAINTAINER= rhialto@NetBSD.org
HOMEPAGE= http://vice-emu.sourceforge.net/
COMMENT= Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16
LICENSE= gnu-gpl-v2
RESTRICTED= ROM image copyright is questionable.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++11
USE_TOOLS+= bash gmake pkg-config perl flex yacc tar
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-ethernet
CONFIGURE_ARGS+= --enable-lame
CONFIGURE_ARGS+= --with-flac
CONFIGURE_ARGS+= --with-gif
CONFIGURE_ARGS+= --with-jpeg
CONFIGURE_ARGS+= --with-mpg123
CONFIGURE_ARGS+= --with-png
CONFIGURE_ARGS+= --with-vorbis
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS.NetBSD+= --with-sun
CONFIGURE_ARGS.NetBSD+= --without-oss
# Avoid build changes if these programs are installed
CONFIGURE_ENV+= ac_cv_prog_SVN=no
CONFIGURE_ENV+= ac_cv_prog_SVNVERSION=no
CONFIGURE_ARGS+= --disable-pdf-docs
CONFIGURE_ARGS+= --enable-html-docs
INFO_FILES= yes
REQD_DIRS+= ${PREFIX}/share/vice
BUILD_DEPENDS+= xa65-[0-9]*:../../devel/xa65
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-configure
SUBST_FILES.prefix+= doc/vice.texi
SUBST_SED.prefix= -e 's|/usr/local|${PREFIX}|g'
# Mess created by xdg-utils; clean it up.
post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/applications/mimeinfo.cache
cd ${DESTDIR}${PREFIX} && ${MV} etc/xdg/menus/applications-merged/vice-org-vice-org.menu share/vice/ || :
.include "options.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/mpg123/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|