mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Add LICENSE
- Dont't mix variables and targets - Remove redundant passing of DESTDIR to make - Silence stripping and mkdirs - Switch to options helpers - Update WWW Approved by: portmgr blanket
This commit is contained in:
parent
91bdf3526f
commit
0d32ef5455
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547349
@ -11,6 +11,8 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Perl glue for libshout MP3 streaming source library
|
||||
|
||||
LICENSE= NONE
|
||||
|
||||
LIB_DEPENDS= libshout.so:audio/libshout
|
||||
|
||||
USES= perl5 pkgconfig shebangfix
|
||||
@ -19,20 +21,20 @@ USE_PERL5= configure
|
||||
DOCSDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
SHEBANG_FILES= *.pl
|
||||
|
||||
MAKE_ENV+= DESTDIR="${STAGEDIR}"
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -i '' -e 's/CCFLAGS/INC/' ${WRKSRC}/Makefile.PL
|
||||
@${REINPLACE_CMD} -i '' -e 's/CCFLAGS/INC/' ${WRKSRC}/Makefile.PL
|
||||
|
||||
post-configure:
|
||||
@${PERL} -i -pe '$$_ .= " -lpthread" if /^LDDLFLAGS/;' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Shout/Shout.so
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Shout/Shout.so
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/example*.pl ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,4 +4,4 @@ Icecast streaming media server. It handles the socket connections, metadata
|
||||
communication, and data streaming for the calling application, and lets
|
||||
developers focus on feature sets instead of implementation details.
|
||||
|
||||
WWW: http://www.icecast.org/
|
||||
WWW: https://www.icecast.org/
|
||||
|
Loading…
Reference in New Issue
Block a user