9437c078d0
- Update to 0.8.2 [1] - Use options helpers - Convert lib depends to new format - Allow staging PR: ports/184401 Submitted by: maintainer
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# Created by: Timothy Beyer <beyert@cs.ucr.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mp3splt-gtk
|
|
PORTVERSION= 0.8.2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= beyert@cs.ucr.edu
|
|
COMMENT= Utility to split mp3 and ogg files (via GTK Interface)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
|
|
libmad.so:${PORTSDIR}/audio/libmad \
|
|
libogg.so:${PORTSDIR}/audio/libogg \
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
|
libid3tag.so:${PORTSDIR}/audio/libid3tag
|
|
|
|
INSTALLS_OMF= yes
|
|
USE_AUTOTOOLS= libltdl
|
|
USE_GSTREAMER= yes
|
|
USE_GNOME= gnomedocutils gtk20
|
|
GNU_CONFIGURE= yes
|
|
USES= desktop-file-utils gmake pkgconfig
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
# disable audacious, because gtk 3 is required to enable it for this program...
|
|
CONFIGURE_ARGS+= --disable-audacious --with-mp3splt=${LOCALBASE} \
|
|
--with-mp3splt-includes=${LOCALBASE}/include \
|
|
--with-mp3splt-libraries=${LOCALBASE}/lib --disable-mp3splttest \
|
|
--disable-gtk3
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
LIB_DEPENDS+= gvc:${PORTSDIR}/graphics/graphviz
|
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-doxygen-doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|