1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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@gmail.com>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-05-03 08:47:09 +00:00
parent adfca3d177
commit c58eafb487
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352871

View File

@ -7,17 +7,16 @@ CATEGORIES= net-mgmt perl5 ipv6
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
MAINTAINER= 5u623l20@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>