aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IO
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-08-09 20:20:10 +0800
committerskv <skv@FreeBSD.org>2003-08-09 20:20:10 +0800
commit662f50719f8a277440d109f369533c1873cc35d3 (patch)
treebdf48e5e650b650f4efddd710ee465f4ac5d3996 /devel/p5-IO
parent5196d1c4060d16dc860ab930aad5f7936de5ca1b (diff)
downloadfreebsd-ports-gnome-662f50719f8a277440d109f369533c1873cc35d3.tar.gz
freebsd-ports-gnome-662f50719f8a277440d109f369533c1873cc35d3.tar.zst
freebsd-ports-gnome-662f50719f8a277440d109f369533c1873cc35d3.zip
1. IGNORE this port on perl > 5.6.x
2. minor style changes
Diffstat (limited to 'devel/p5-IO')
-rw-r--r--devel/p5-IO/Makefile19
-rw-r--r--devel/p5-IO/pkg-descr9
-rw-r--r--devel/p5-IO/pkg-plist34
3 files changed, 36 insertions, 26 deletions
diff --git a/devel/p5-IO/Makefile b/devel/p5-IO/Makefile
index 14589888d206..995e8987db2a 100644
--- a/devel/p5-IO/Makefile
+++ b/devel/p5-IO/Makefile
@@ -12,15 +12,20 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
PKGNAMEPREFIX= p5-
-MAINTAINER= skv@protey.ru
+MAINTAINER= skv@FreeBSD.org
COMMENT= Various IO modules for Perl
PERL_CONFIGURE= yes
-CONFIGURE_ARGS+= POLLUTE=1
+CONFIGURE_ARGS= INSTALLDIRS=site POLLUTE=1
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-MAN3= IO::Pipe.3 IO::Dir.3 IO::Select.3 IO::File.3 IO.3 IO::Poll.3\
- IO::Socket::INET.3 IO::Socket.3 IO::Handle.3 \
- IO::Socket::UNIX.3 IO::Seekable.3
+MAN3= IO.3 IO::Dir.3 IO::File.3 IO::Handle.3 IO::Pipe.3 IO::Poll.3 \
+ IO::Seekable.3 IO::Select.3 IO::Socket.3 IO::Socket::INET.3 \
+ IO::Socket::UNIX.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} > 500600
+IGNORE= "This module is already included in perl 5.6.x and later."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-IO/pkg-descr b/devel/p5-IO/pkg-descr
index 41d812ba2496..823fb3377925 100644
--- a/devel/p5-IO/pkg-descr
+++ b/devel/p5-IO/pkg-descr
@@ -1,4 +1,9 @@
IO - various IO modules
-This ports aims to add IO::Dir, IO::Poll, IO::Socket::INET, IO::Socket::UNIX
-to standart perl 5.00503 distribution.
+This ports aims to add IO::Dir, IO::Poll, IO::Socket::INET,
+IO::Socket::UNIX to standard perl 5.00503 distribution.
+
+WWW: http://search.cpan.org/dist/IO/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/devel/p5-IO/pkg-plist b/devel/p5-IO/pkg-plist
index 2cafebfc2558..7d0558927953 100644
--- a/devel/p5-IO/pkg-plist
+++ b/devel/p5-IO/pkg-plist
@@ -1,17 +1,17 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/IO.so
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/IO.bs
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Pipe.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Dir.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/File.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Select.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Poll.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Socket/INET.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Socket/UNIX.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Socket.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Seekable.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Handle.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO/Socket
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/IO
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/IO.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/IO.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Pipe.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Dir.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Select.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Poll.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket/INET.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket/UNIX.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Seekable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO/Handle.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/IO.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/IO/Socket
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/IO