aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3splt/Makefile
blob: cb6e8a830ff5235f3950639721eb2cf040ef6d90 (plain) (blame)
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
# New ports collection makefile for:	audio/mp3splt
# Date created:				30.05.2003
# Whom:					Ulrich Spoerlein <q@uni.de>
#
# $FreeBSD$
#

PORTNAME=	mp3splt
PORTVERSION=	2.1c
PORTREVISION=	3
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	fk@fabiankeil.de
COMMENT=	Utility to split mp3 and ogg files (via CUE sheets)

OPTIONS=	VORBIS	"Ogg Vorbis support" On

.include <bsd.port.pre.mk>

LIB_DEPENDS+=	mad.2:${PORTSDIR}/audio/libmad

.if !defined(WITHOUT_VORBIS)
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis \
		ogg.5:${PORTSDIR}/audio/libogg
.else
CONFIGURE_ARGS+=--disable-ogg
.endif

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
		CFLAGS="${CFLAGS} -I${LOCALBASE}/include"

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=		mp3splt.1
PLIST_FILES=	bin/mp3splt bin/oggsplt

.include <bsd.port.post.mk>