summaryrefslogtreecommitdiff
path: root/audio/streamripper/Makefile
blob: dfc298f28f6e6691ff49e30e824d36ddb15cf81d (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:	streamripper
# Date created:		6 Apr 2000
# Whom:			Trevor Johnson
#
# $FreeBSD$
#

PORTNAME=	streamripper
PORTVERSION=	1.61.27
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	streamripper

MAINTAINER=	ports@FreeBSD.org
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.4:${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>