Lines 21-26
Link Here
|
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} |
21 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} |
22 |
|
22 |
|
23 |
OPTIONS_DEFINE= DOCS FLUIDSYNTH SAVE_PASSWORDS SERVER |
23 |
OPTIONS_DEFINE= DOCS FLUIDSYNTH SAVE_PASSWORDS SERVER |
|
|
24 |
OPTIONS_RADIO= SDL |
25 |
OPTIONS_RADIO_SDL= SDL1 SDL2 SDLAUTO |
26 |
OPTIONS_DEFAULT= SDLAUTO |
24 |
SERVER_PREVENTS= FLUIDSYNTH |
27 |
SERVER_PREVENTS= FLUIDSYNTH |
25 |
|
28 |
|
26 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth |
29 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth |
Lines 40-45
Link Here
|
40 |
libiculx.so:devel/icu-lx |
43 |
libiculx.so:devel/icu-lx |
41 |
SERVER_VARS= USE_RC_SUBR=${PORTNAME} |
44 |
SERVER_VARS= USE_RC_SUBR=${PORTNAME} |
42 |
|
45 |
|
|
|
46 |
SDL1_DESC= Use SDL 1.2 |
47 |
SDL2_DESC= Use SDL 2.0 |
48 |
SDLAUTO_DESC= Use SDL 2.0 if installed, SDL 1.2 otherwise |
49 |
|
43 |
.include <bsd.port.options.mk> |
50 |
.include <bsd.port.options.mk> |
44 |
|
51 |
|
45 |
.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078 |
52 |
.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078 |
Lines 50-59
Link Here
|
50 |
USES+= compiler:c++17-lang |
57 |
USES+= compiler:c++17-lang |
51 |
.endif |
58 |
.endif |
52 |
|
59 |
|
|
|
60 |
.if ${PORT_OPTIONS:MSDLAUTO} |
53 |
.if exists(${LOCALBASE}/lib/libSDL2.so) |
61 |
.if exists(${LOCALBASE}/lib/libSDL2.so) |
54 |
_SDL_VERSION= sdl2 |
62 |
_SDL_VERSION= sdl2 |
55 |
.else |
63 |
.else |
56 |
_SDL_VERSION= sdl |
64 |
_SDL_VERSION= sdl |
|
|
65 |
.endif |
66 |
.else |
67 |
.if ${PORT_OPTIONS:MSDL2} |
68 |
_SDL_VERSION= sdl2 |
69 |
.else |
70 |
_SDL_VERSION= sdl |
71 |
.endif |
57 |
.endif |
72 |
.endif |
58 |
|
73 |
|
59 |
post-install-SERVER-on: |
74 |
post-install-SERVER-on: |