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

PORTNAME=	Shout
PORTVERSION=	1.0
CATEGORIES=	audio perl5
MASTER_SITES=	http://developer.icecast.org/libshout/releases/
PKGNAMEPREFIX=	p5-

MAINTAINER=	leo@florida.sarang.net

LIB_DEPENDS=	shout.2:${PORTSDIR}/audio/libshout

PERL_CONFIGURE=	yes

MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Shout.3

pre-configure:
	${MKDIR} ${WRKSRC}/examples
	${MV} ${WRKSRC}/example.pl ${WRKSRC}/example2.pl ${WRKSRC}/examples

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
	${INSTALL_SCRIPT} ${WRKSRC}/examples/* \
		${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.endif

.include <bsd.port.mk>