aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-Shout/Makefile
blob: d62e51c6cda7914bdc872feec082a8201b601d12 (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
# New ports collection makefile for:	Shout
# Date created:				18 April 2001
# Whom:					leo
#
# $FreeBSD$
#

PORTNAME=	Shout
PORTVERSION=	2.0.1
PORTREVISION=	1
CATEGORIES=	audio perl5
MASTER_SITES=	http://www.icecast.org/releases/libshout/
PKGNAMEPREFIX=	p5-

MAINTAINER=	mat@FreeBSD.org
COMMENT=	Perl glue for libshout MP3 streaming source library

LIB_DEPENDS=	shout.4:${PORTSDIR}/audio/libshout2

PERL_CONFIGURE=	yes

MAN3=		Shout.3

DOCSDIR=	${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}

post-patch:
	@${PERL} -i -pe 's/CCFLAGS/INC/;' ${WRKSRC}/Makefile.PL

post-configure:
	@${PERL} -i -pe '$$_ .= " ${PTHREAD_LIBS}" if /^LDDLFLAGS/;' ${WRKSRC}/Makefile

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${DOCSDIR}
.endif

.include <bsd.port.mk>