Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2020 09:36:46 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547349 - head/audio/p5-Shout
Message-ID:  <202009020936.0829akAc084471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009020936.0829akAc084471>