diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2024-06-05 22:03:43 +0200 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2024-06-06 21:05:47 +0200 |
commit | 7526bd06d847df743b24059b1f52f1a94467b28f (patch) | |
tree | 381b4eacd7d211d9261fc84e3e1b2f5d52d6ade1 /audio | |
parent | security/sks: Mark BROKEN, deprecate and set expiration date to 2024-06-30 (diff) |
audio/moc: Remove BDB5 support and improve port
* Switch to DISTVERSION
* Use USES= localbase:ldflags helper
* Disable BDB5 (deprecated)
* Add libogg.so as dependency for VORBIS option
* Minor style changes
* Remove GNU_CONFIGURE_MANPREFIX
PR: 279123
Approved by: portmgr (maintainer timeout, 2+ weeks)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/moc/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/moc/Makefile b/audio/moc/Makefile index bb74e098322b..830e1614b225 100644 --- a/audio/moc/Makefile +++ b/audio/moc/Makefile @@ -1,6 +1,6 @@ PORTNAME= moc -PORTVERSION= 2.5.2 -PORTREVISION= 11 +DISTVERSION= 2.5.2 +PORTREVISION= 12 CATEGORIES= audio MASTER_SITES= http://ftp.daper.net/pub/soft/moc/stable/ @@ -13,21 +13,17 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl -USES= bdb gmake libtool ncurses pkgconfig tar:bzip2 +USES= gmake iconv libtool localbase:ldflags ncurses pkgconfig tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip -CPPFLAGS+= -I${LOCALBASE}/include -I${BDB_INCLUDE_DIR} -LDFLAGS+= -L${LOCALBASE}/lib -L${BDB_LIB_DIR} - -CONFIGURE_ARGS= --without-ffmpeg +CONFIGURE_ARGS= --disable-cache --without-ffmpeg OPTIONS_DEFINE= AAC CURL DEBUG FLAC JACK MODPLUG MP3 MUSEPACK RCC \ SAMPLERATE SIDPLAY2 SNDFILE SPEEX VORBIS WAVPACK -OPTIONS_DEFAULT= MP3 VORBIS FLAC CURL WAVPACK +OPTIONS_DEFAULT=MP3 VORBIS FLAC CURL WAVPACK CURL_DESC= curl support (Internet streams) RCC_DESC= RCC support SIDPLAY2_DESC= libsidplay2 support @@ -81,7 +77,8 @@ SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_PLIST_FILES= lib/moc/decoder_plugins/libspeex_decoder.so SPEEX_CONFIGURE_OFF= --without-speex -VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis +VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ + libvorbis.so:audio/libvorbis VORBIS_PLIST_FILES= lib/moc/decoder_plugins/libvorbis_decoder.so VORBIS_CONFIGURE_OFF= --without-ogg |