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

PORTNAME=   streamripper
PORTVERSION=    1.61.27
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>