2013-02-01 11:55:26 +01:00
|
|
|
# Created by: Anton Yuzhaninov <citrin@citrin.ru>
|
2009-03-27 14:56:23 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libmp3splt
|
2014-12-13 19:59:28 +01:00
|
|
|
PORTVERSION= 0.9.2
|
2009-03-27 14:56:23 +01:00
|
|
|
CATEGORIES= audio
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
|
2009-03-27 14:56:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= citrin@citrin.ru
|
2013-02-01 11:55:26 +01:00
|
|
|
COMMENT= Library for splitting of various audio files
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2013-04-24 10:51:36 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2014-09-17 09:38:15 +02:00
|
|
|
LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl
|
|
|
|
|
2009-03-27 14:56:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-04-24 10:51:36 +02:00
|
|
|
CONFIGURE_ARGS= --disable-cutter --disable-doxygen_doc
|
2014-07-25 13:48:18 +02:00
|
|
|
USES= libtool pathfix pkgconfig
|
2009-03-27 14:56:23 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-12-13 19:59:28 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2012-06-19 16:52:48 +02:00
|
|
|
OPTIONS_MULTI= plugin
|
2014-12-13 19:59:28 +01:00
|
|
|
OPTIONS_MULTI_plugin= MAD FLAC VORBIS
|
2012-06-19 16:52:48 +02:00
|
|
|
OPTIONS_DEFINE= ID3 PCRE NLS
|
2014-12-13 19:59:28 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-06-19 16:52:48 +02:00
|
|
|
|
|
|
|
PCRE_DESC= PCRE support to set tags from input filename
|
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
OPTIONS_DEFAULT= MAD FLAC VORBIS ID3 PCRE NLS
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
MAD_CONFIGURE_ENABLE= mp3
|
|
|
|
MAD_LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/libmad
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
FLAC_CONFIGURE_ENABLE= flac
|
|
|
|
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
VORBIS_CONFIGURE_ENABLE=ogg
|
|
|
|
VORBIS_LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
|
|
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
PCRE_CONFIGURE_ENABLE= pcre
|
|
|
|
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
2012-06-19 16:52:48 +02:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
MID3_LIB_DEPENDS= libid3tag.so:${PORTSDIR}/audio/libid3tag
|
|
|
|
MID3_CONFIGURE_ENABLE= id3tag
|
2012-06-19 16:52:48 +02:00
|
|
|
|
2014-12-13 19:59:28 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2009-03-27 14:56:23 +01:00
|
|
|
|
2012-06-19 16:52:48 +02:00
|
|
|
.include <bsd.port.mk>
|