blob: cb03643ebd504b23b5e97b6b6e04bc2a6f09feaf (
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
|
# Created by: Li-Lun Wang <llwang@infor.org>
PORTNAME= hugo
PORTVERSION= 2.12
PORTREVISION= 16
CATEGORIES= emulators
MASTER_SITES= http://www.zeograd.com/download/ \
http://www.sourcefiles.org/Emulators/Videogames/
MAINTAINER= ports@FreeBSD.org
COMMENT= PC Engine (TurboGrafx 16) emulator
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= multi
LIB_DEPENDS= libargp.so:devel/argp-standalone
OPTIONS_DEFINE= GTK2 DOCS NETPLAY SDL_MIXER
OPTIONS_DEFAULT=GTK2
OPTIONS_SUB= yes
NETPLAY_DESC= Netplay support
SDL_MIXER_DESC= SDL_mixer support
USES= gmake pkgconfig sdl
USE_SDL= sdl
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CFLAGS+= -Wno-return-type
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MGTK2) && ${PORT_OPTIONS:MNETPLAY}
IGNORE= NETPLAY support requires GTK2 support
.endif
.if ${PORT_OPTIONS:MGTK2}
LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES+= gnome
USE_GNOME= gtk20 cairo gdkpixbuf2
.else
CONFIGURE_ARGS+= --disable-gui --disable-gtktest
.endif
.if ${PORT_OPTIONS:MNETPLAY}
USE_SDL+= net
.else
CONFIGURE_ENV+= ac_cv_lib_SDL_net_main=no
.endif
.if ${PORT_OPTIONS:MSDL_MIXER}
LIB_DEPENDS+= libvorbis.so:audio/libvorbis
USE_SDL+= mixer
CFLAGS+= -DOGG_SUPPORT
.else
CONFIGURE_ENV+= ac_cv_lib_SDL_mixer_main=no \
ac_cv_lib_vorbis_main=no \
ac_cv_lib_vorbisfile_main=no
.endif
.include <bsd.port.mk>
|