svn commit: r547349 - head/audio/p5-Shout
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 2 09:36:46 UTC 2020
Author: amdmi3
Date: Wed Sep 2 09:36:45 2020
New Revision: 547349
URL: https://svnweb.freebsd.org/changeset/ports/547349
Log:
- 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
Modified:
head/audio/p5-Shout/Makefile
head/audio/p5-Shout/pkg-descr
Modified: head/audio/p5-Shout/Makefile
==============================================================================
--- head/audio/p5-Shout/Makefile Wed Sep 2 09:11:37 2020 (r547348)
+++ head/audio/p5-Shout/Makefile Wed Sep 2 09:36:45 2020 (r547349)
@@ -11,6 +11,8 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl at 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>
Modified: head/audio/p5-Shout/pkg-descr
==============================================================================
--- head/audio/p5-Shout/pkg-descr Wed Sep 2 09:11:37 2020 (r547348)
+++ head/audio/p5-Shout/pkg-descr Wed Sep 2 09:36:45 2020 (r547349)
@@ -4,4 +4,4 @@ Icecast streaming media server. It handles the socket
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/
More information about the svn-ports-head
mailing list