mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
b9ffc38464
PR: 96936 Submitted by: Paul Schmehl <pauls@utdallas.edu>
38 lines
795 B
Makefile
38 lines
795 B
Makefile
# New ports collection makefile for: Shout
|
|
# Date created: 18 April 2001
|
|
# Whom: leo
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Shout
|
|
PORTVERSION= 2.1
|
|
CATEGORIES= audio perl5
|
|
MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
COMMENT= Perl glue for libshout MP3 streaming source library
|
|
|
|
LIB_DEPENDS= shout.5:${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>
|