summaryrefslogtreecommitdiffstats
path: root/audio/streamripper/Makefile
blob: 45c899ecc47ac010e76edacc5273fca2db23973f (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
# New ports collection makefile for:	streamripper
# Date created:		6 Apr 2000
# Whom:			Trevor Johnson
#
# $FreeBSD$
#

PORTNAME=	streamripper
PORTVERSION=	1.61.24
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	streamripper

MAINTAINER=	rainer.alves@gmail.com
COMMENT=	Splits SHOUTcast stream into tracks

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

USE_ICONV=	yes

OPTIONS=	VORBIS "Include Ogg Vorbis codec support" on

.include <bsd.port.pre.mk>

.ifdef(WITH_VORBIS)
LIB_DEPENDS+=	ogg.5:${PORTSDIR}/audio/libogg \
		vorbis.3:${PORTSDIR}/audio/libvorbis
.endif

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

PLIST_FILES=	bin/streamripper
MAN1=		streamripper.1

pre-install:
		@${CHMOD} +x ${WRKSRC}/install-sh

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