- Support staging
- Convert LIB_DEPENDS to new syntax - Use options helpers
This commit is contained in:
parent
fccb515040
commit
3b40187e41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329869
1 changed files with 10 additions and 28 deletions
|
@ -10,10 +10,9 @@ COMMENT= KDE4 audio CD ripping utility
|
|||
|
||||
LICENSE= GPLv3
|
||||
|
||||
LIB_DEPENDS= cdda_paranoia:${PORTSDIR}/audio/cdparanoia
|
||||
LIB_DEPENDS= libcdda_paranoia.so:${PORTSDIR}/audio/cdparanoia
|
||||
|
||||
USE_XZ= yes
|
||||
NO_STAGE= yes
|
||||
USES= cmake
|
||||
USE_KDE4= automoc4 kdeprefix kdelibs libkcddb libkcompactdisc
|
||||
USE_QT4= gui dbus network svg xml \
|
||||
|
@ -21,38 +20,21 @@ USE_QT4= gui dbus network svg xml \
|
|||
|
||||
OPTIONS_DEFINE= NLS EYED3 FAAC FLAC LAME VORBIS
|
||||
OPTIONS_DEFAULT= FLAC VORBIS
|
||||
OPTIONS_SUB= yes
|
||||
NO_OPTIONS_SORT= yes
|
||||
|
||||
NLS_USES= gettext
|
||||
NLS_CMAKE_OFF= -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
|
||||
|
||||
EYED3_DESC= Unicode MP3 tag support via audio/py-eyed3
|
||||
EYED3_RUN_DEPENDS= eyeD3:${PORTSDIR}/audio/py-eyed3
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
FAAC_RUN_DEPENDS= faac:${PORTSDIR}/audio/faac
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
FLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac
|
||||
|
||||
.if ${PORT_OPTIONS:MEYED3}
|
||||
RUN_DEPENDS+= eyeD3:${PORTSDIR}/audio/py-eyed3
|
||||
.endif
|
||||
LAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame
|
||||
|
||||
.if ${PORT_OPTIONS:MFAAC}
|
||||
RUN_DEPENDS+= faac:${PORTSDIR}/audio/faac
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFLAC}
|
||||
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLAME}
|
||||
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MVORBIS}
|
||||
RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
|
||||
.endif
|
||||
VORBIS_RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue