mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Convert to new option framework
This commit is contained in:
parent
9217d0ff50
commit
aac1104b4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308841
@ -19,26 +19,28 @@ RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS= SOUNDS "Sound files for use with FreeSwitch PBX" on \
|
||||
MUSIC "Music on hold for use with FreeSwitch PBX" on \
|
||||
PIZZA "Install Pizza Shop voice demo" off \
|
||||
SCRIPTS "Install Freeswitch various scripts" off \
|
||||
OPTIONS_DEFINE= SOUNDS MUSIC PIZZA SCRIPTS
|
||||
OPTIONS_DEFAULT= SOUNDS MUSIC
|
||||
SOUNDS_DESC= Sound files for use with FreeSwitch PBX
|
||||
MUSIC_DESC= Music on hold for use with FreeSwitch PBX
|
||||
PIZZA_DESC= Pizza Shop voice demo
|
||||
SCRIPTS_DESC= Freeswitch various scripts
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if defined(WITH_SOUNDS)
|
||||
.if ${PORT_OPTIONS:MSOUNDS}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MUSIC)
|
||||
.if ${PORT_OPTIONS:MMUSIC}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-music:${PORTSDIR}/audio/freeswitch-music
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PIZZA)
|
||||
.if ${PORT_OPTIONS:MPIZZA}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.pizza:${PORTSDIR}/misc/freeswitch-pizzademo
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SCRIPTS)
|
||||
.if ${PORT_OPTIONS:MSCRIPTS}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/etc/freeswitch/scripts/.freeswitch-scripts:${PORTSDIR}/misc/freeswitch-scripts
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user