35 lines
818 B
Makefile
35 lines
818 B
Makefile
# 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>
|