freebsd-ports/audio/p5-Shout/Makefile

39 lines
807 B
Makefile
Raw Normal View History

# New ports collection makefile for: Shout
# Date created: 18 April 2001
# Whom: leo
#
# $FreeBSD$
#
PORTNAME= Shout
2004-05-14 17:10:39 +02:00
PORTVERSION= 2.0.1
PORTREVISION= 2
CATEGORIES= audio perl5
MASTER_SITES= http://www.icecast.org/releases/libshout/
PKGNAMEPREFIX= p5-
2004-05-14 17:10:39 +02:00
MAINTAINER= mat@FreeBSD.org
2003-02-21 12:08:38 +01:00
COMMENT= Perl glue for libshout MP3 streaming source library
LIB_DEPENDS= shout.5:${PORTSDIR}/audio/libshout2
PERL_CONFIGURE= yes
MAN3= Shout.3
2004-05-14 17:10:39 +02:00
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)
2004-05-14 17:10:39 +02:00
@${MKDIR} ${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${DOCSDIR}
.endif
.include <bsd.port.mk>