Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 18:11:16 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471667 - head/net/p5-POE-Component-ControlPort
Message-ID:  <201806041811.w54IBGZ1073295@repo.freebsd.org>

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



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