summaryrefslogtreecommitdiffstats
path: root/audio/mp3splt-gtk/Makefile
blob: f9414512d7235a7e4fd966c83c21a61ab6d18150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# New ports collection makefile for:    audio/mp3splt-gtk
# Date created:                         05.09.2009
# Whom:                                 Timothy Beyer <beyert@cs.ucr.edu>
#
# $FreeBSD$

PORTNAME=	mp3splt-gtk
PORTVERSION=	0.7.2
PORTREVISION=	1
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
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	mp3splt:${PORTSDIR}/audio/libmp3splt \
		mad:${PORTSDIR}/audio/libmad \
		ogg:${PORTSDIR}/audio/libogg \
		vorbis:${PORTSDIR}/audio/libvorbis \
		id3tag:${PORTSDIR}/audio/libid3tag

USE_GNOME+=	libxml2
INSTALLS_OMF=	yes
USE_AUTOTOOLS=	libltdl
USE_GSTREAMER=	yes
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
USE_GMAKE=	yes

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

MAN1=		mp3splt-gtk.1
PORTDOCS=	*

.include <bsd.port.options.mk>

.if !defined(NOPORTDOCS)
LIB_DEPENDS+=	gvc:${PORTSDIR}/graphics/graphviz
BUILD_DEPENDS+=	${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
USE_GNOME+=	gnomedocutils
.else
CONFIGURE_ARGS+=	--disable-doxygen-doc
.endif

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.else
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud