svn commit: r471667 - head/net/p5-POE-Component-ControlPort

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Jun 4 18:11:17 UTC 2018


Author: sunpoet
Date: Mon Jun  4 18:11:15 2018
New Revision: 471667
URL: https://svnweb.freebsd.org/changeset/ports/471667

Log:
  Add LICENSE
  
  - Remove USE_PERL5=extract: use REINPLACE_CMD to patch Makefile.PL in post-patch:
  - Fix and update WWW

Modified:
  head/net/p5-POE-Component-ControlPort/Makefile
  head/net/p5-POE-Component-ControlPort/pkg-descr

Modified: head/net/p5-POE-Component-ControlPort/Makefile
==============================================================================
--- head/net/p5-POE-Component-ControlPort/Makefile	Mon Jun  4 18:11:10 2018	(r471666)
+++ head/net/p5-POE-Component-ControlPort/Makefile	Mon Jun  4 18:11:15 2018	(r471667)
@@ -11,16 +11,18 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	Network control port for POE applications
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 RUN_DEPENDS=	p5-Params-Validate>=0:devel/p5-Params-Validate \
 		p5-Authen-Libwrap>=0:security/p5-Authen-Libwrap \
 		p5-POE>=0:devel/p5-POE
 BUILD_DEPENDS:=	${RUN_DEPENDS}
 
 USES=		perl5
-USE_PERL5=	configure extract
+USE_PERL5=	configure
 
-# Make port non-interactive
-post-extract:
-	@${PERL} -pi -e 's/my \$$ret =.*/my \$$ret = 0;/' ${WRKSRC}/Makefile.PL
+post-patch:
+	@${REINPLACE_CMD} -e 's|\(my $$ret = \).*|\1 0;|' ${WRKSRC}/Makefile.PL
 
 .include <bsd.port.mk>

Modified: head/net/p5-POE-Component-ControlPort/pkg-descr
==============================================================================
--- head/net/p5-POE-Component-ControlPort/pkg-descr	Mon Jun  4 18:11:10 2018	(r471666)
+++ head/net/p5-POE-Component-ControlPort/pkg-descr	Mon Jun  4 18:11:15 2018	(r471667)
@@ -4,4 +4,4 @@ provides such an interface for POE applications. By de
 provides a fairly limited set of commands but is easily extended
 to provide whatever command set you require.
 
-WWW: http://search.cpan.org/dist/POE-Component-ControlPort/
+WWW: https://metacpan.org/release/SUNGO/POE-Component-ControlPort-0.01


More information about the svn-ports-head mailing list