Use options helpers
This commit is contained in:
parent
078f55e9d1
commit
cf6fc45e41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378652
1 changed files with 6 additions and 25 deletions
|
@ -34,31 +34,12 @@ LAME_DESC= Encoder: Enable lame MP3 encoder
|
|||
VORBIS_DESC= Encoder: Enable vorbis OGG encoder
|
||||
FLAC_DESC= Encoder: Enable FLAC encoder
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMPLAYER}
|
||||
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MXINE}
|
||||
LIB_DEPENDS+= libxine.so:${PORTSDIR}/multimedia/libxine
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCDDA2WAV}
|
||||
RUN_DEPENDS+= cdda2wav:${PORTSDIR}/sysutils/cdrtools
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLAME}
|
||||
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MVORBIS}
|
||||
RUN_DEPENDS+= ogg123:${PORTSDIR}/audio/vorbis-tools
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFLAC}
|
||||
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
||||
.endif
|
||||
MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
|
||||
XINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
|
||||
CDDA2WAV_RUN_DEPENDS= cdda2wav:${PORTSDIR}/sysutils/cdrtools
|
||||
LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame
|
||||
VORBIS_RUN_DEPENDS= ogg123:${PORTSDIR}/audio/vorbis-tools
|
||||
FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac
|
||||
|
||||
DESKTOP_ENTRIES="aTunes" \
|
||||
"Audio player and manager" \
|
||||
|
|
Loading…
Reference in a new issue