aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Shout/Makefile
blob: abdd7307d940ca09beda38232e834ab7cda0e67b (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
# 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
COMMENT=    Perl glue for libshout MP3 streaming source library

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>