freebsd-ports/audio/libmp3splt/Makefile
Danilo Egea Gondolfo 3c43ce4c29 libmp3splt
- Update to 0.9.2
- Use INSTALL_TARGET as install-strip
while here
- Use options helpers
- Add a pkg-plist file

mp3splt
- Update to 2.6.2
while here
- Use options helpers
- Add a pkg-plist file

PR:		195923
Submitted by:	Anton Yuzhaninov <citrin+pr@citrin.ru> (maintainer)
2014-12-13 18:59:28 +00:00

52 lines
1.3 KiB
Makefile

# Created by: Anton Yuzhaninov <citrin@citrin.ru>
# $FreeBSD$
PORTNAME= libmp3splt
PORTVERSION= 0.9.2
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
MAINTAINER= citrin@citrin.ru
COMMENT= Library for splitting of various audio files
LICENSE= GPLv2
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-cutter --disable-doxygen_doc
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include
OPTIONS_MULTI= plugin
OPTIONS_MULTI_plugin= MAD FLAC VORBIS
OPTIONS_DEFINE= ID3 PCRE NLS
OPTIONS_SUB= yes
PCRE_DESC= PCRE support to set tags from input filename
OPTIONS_DEFAULT= MAD FLAC VORBIS ID3 PCRE NLS
MAD_CONFIGURE_ENABLE= mp3
MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
FLAC_CONFIGURE_ENABLE= flac
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
VORBIS_CONFIGURE_ENABLE=ogg
VORBIS_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
libvorbis.so:${PORTSDIR}/audio/libvorbis
PCRE_CONFIGURE_ENABLE= pcre
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
MID3_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag
MID3_CONFIGURE_ENABLE= id3tag
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>