mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
re-add p5-NetAddr-IP-Find
Approved by: knu
This commit is contained in:
parent
403c0f2842
commit
8cd2e28039
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67084
6 changed files with 42 additions and 0 deletions
|
@ -165,6 +165,7 @@
|
||||||
SUBDIR += p5-Lingua-Preferred
|
SUBDIR += p5-Lingua-Preferred
|
||||||
SUBDIR += p5-MARC
|
SUBDIR += p5-MARC
|
||||||
SUBDIR += p5-NetAdd-IP-Find
|
SUBDIR += p5-NetAdd-IP-Find
|
||||||
|
SUBDIR += p5-NetAddr-IP-Find
|
||||||
SUBDIR += p5-Number-Format
|
SUBDIR += p5-Number-Format
|
||||||
SUBDIR += p5-Orchard-Perl
|
SUBDIR += p5-Orchard-Perl
|
||||||
SUBDIR += p5-PDF-API2
|
SUBDIR += p5-PDF-API2
|
||||||
|
|
25
textproc/p5-NetAddr-IP-Find/Makefile
Normal file
25
textproc/p5-NetAddr-IP-Find/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# New ports collection makefile for: p5-NetAddr-IP-Find
|
||||||
|
# Date created: May 14th 2002
|
||||||
|
# Whom: Alex Kapranoff <kappa@freebsd.org.ua>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= NetAddr-IP-Find
|
||||||
|
PORTVERSION= 0.02
|
||||||
|
CATEGORIES= textproc perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= NetAddr
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= kappa@freebsd.org.ua
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/NetAddr/IP.pm:${PORTSDIR}/net/p5-NetAddr-IP
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
INSTALL_TARGET= pure_install
|
||||||
|
|
||||||
|
MAN3= NetAddr::IP::Find.3
|
||||||
|
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
textproc/p5-NetAddr-IP-Find/distinfo
Normal file
1
textproc/p5-NetAddr-IP-Find/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (NetAddr-IP-Find-0.02.tar.gz) = 2ccc8f7986543eefd935961e033fdf2f
|
1
textproc/p5-NetAddr-IP-Find/pkg-comment
Normal file
1
textproc/p5-NetAddr-IP-Find/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Iterates over all IP addresses in a text similar to Email::Find
|
7
textproc/p5-NetAddr-IP-Find/pkg-descr
Normal file
7
textproc/p5-NetAddr-IP-Find/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
This is a module for finding IP addresses in plain text.
|
||||||
|
|
||||||
|
NetAddr::IP::Find exports one function, find_ipaddrs(). It
|
||||||
|
works very similar to URI::Find's find_uris() or
|
||||||
|
Email::Find's find_emails().
|
||||||
|
|
||||||
|
$num_ipaddrs_found = find_ipaddrs($text, \&callback);
|
7
textproc/p5-NetAddr-IP-Find/pkg-plist
Normal file
7
textproc/p5-NetAddr-IP-Find/pkg-plist
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/NetAddr/IP/Find.pm
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/NetAddr/IP 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/NetAddr 2>/dev/null || true
|
||||||
|
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr/IP/Find/.packlist
|
||||||
|
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr/IP/Find
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr/IP 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetAddr 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue