svn commit: r352871 - head/net-mgmt/p5-Net-IP

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat May 3 08:47:09 UTC 2014


Author: sunpoet
Date: Sat May  3 08:47:09 2014
New Revision: 352871
URL: http://svnweb.freebsd.org/changeset/ports/352871
QAT: https://qat.redports.org/buildarchive/r352871/

Log:
  - Add LICENSE
  - Pass maintainership to submitter
  - While I'm here:
    - Remove outdated post-configure:
    - Cleanup Makefile
  
  PR:		ports/189224
  Submitted by:	Muhammad Moinur Rahman <5u623l20 at gmail.com>

Modified:
  head/net-mgmt/p5-Net-IP/Makefile

Modified: head/net-mgmt/p5-Net-IP/Makefile
==============================================================================
--- head/net-mgmt/p5-Net-IP/Makefile	Sat May  3 08:46:24 2014	(r352870)
+++ head/net-mgmt/p5-Net-IP/Makefile	Sat May  3 08:47:09 2014	(r352871)
@@ -7,17 +7,16 @@ CATEGORIES=	net-mgmt perl5 ipv6
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	5u623l20 at gmail.com
 COMMENT=	Perl extension for manipulating IPv4/IPv6 addresses
 
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
 USES=		perl5
 USE_PERL5=	configure
 
-post-configure:
-	${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
-
 post-patch:
-	${REINPLACE_CMD} "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm
-	${REINPLACE_CMD} "76s#count#count   = 0#" ${WRKSRC}/ipcount
+	@${REINPLACE_CMD} -e 's|my $$count|& = 0|' ${WRKSRC}/ipcount
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list