mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Use new options framework "SINGLE" feature.
- Pet portlint. PR: ports/168521 Submitted by: Baptiste Daroussin <bapt@FreeBSD.org> Approved by: crees, tabthorpe (mentors, implicit)
This commit is contained in:
parent
4b4d667306
commit
f3b4dec123
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298578
@ -28,12 +28,15 @@ INSTALLS_OMF= yes
|
||||
|
||||
MAN1= amide.1
|
||||
|
||||
OPTIONS_DEFINE= DCMTK FAME FFMPEG GSL VOLPACK XMEDCON
|
||||
OPTIONS_DEFAULT= DCMTK FFMPEG GSL VOLPACK XMEDCON
|
||||
OPTIONS_DEFINE= CODEC DCMTK GSL VOLPACK XMEDCON
|
||||
OPTIONS_SINGLE= CODEC
|
||||
OPTIONS_SINGLE_CODEC= FFMPEG FAME
|
||||
OPTIONS_DEFAULT= CODEC DCMTK FFMPEG GSL VOLPACK XMEDCON
|
||||
|
||||
CODEC_DESC= Enable codec support. Choose one of FAME or FFMPEG
|
||||
DCMTK_DESC= Use dcmtk
|
||||
FAME_DESC= Use libfame (mutually exclusive with ffmpeg)
|
||||
FFMPEG_DESC= Use ffmpeg (mutually exclusive with libfame)
|
||||
FAME_DESC= Use libfame
|
||||
FFMPEG_DESC= Use ffmpeg
|
||||
GSL_DESC= Use gsl
|
||||
VOLPACK_DESC= Use volpack
|
||||
XMEDCON_DESC= Use xmedcon
|
||||
@ -48,9 +51,6 @@ CONFIGURE_ARGS+= --disable-libdcmdata
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFAME}
|
||||
. if${PORT_OPTIONS:MFFMPEG}
|
||||
IGNORE= libfame and ffmpeg support are mutually exclusive, please check options
|
||||
. endif
|
||||
LIB_DEPENDS+= fame:${PORTSDIR}/multimedia/libfame
|
||||
CONFIGURE_ARGS+= --enable-libfame
|
||||
.else
|
||||
@ -58,9 +58,6 @@ CONFIGURE_ARGS+= --disable-libfame
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFFMPEG}
|
||||
. if${PORT_OPTIONS:MFAME}
|
||||
IGNORE= libfame and ffmpeg support are mutually exclusive, please check options.
|
||||
. endif
|
||||
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
||||
CONFIGURE_ARGS+= --enable-ffmpeg
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user