aboutsummaryrefslogtreecommitdiff
path: root/archivers/p5-Archive-Tar
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-07-10 13:34:26 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-07-10 13:34:26 +0000
commit938e402a66dabf56285fc5066ceb6a03ece22e09 (patch)
tree6f79715d3d071a9d3621b91f4db603a42a5946f8 /archivers/p5-Archive-Tar
parente99da717ba0b228cf129cc89d529b2db5a31fb68 (diff)
downloadports-938e402a66dabf56285fc5066ceb6a03ece22e09.tar.gz
ports-938e402a66dabf56285fc5066ceb6a03ece22e09.zip
Notes
Diffstat (limited to 'archivers/p5-Archive-Tar')
-rw-r--r--archivers/p5-Archive-Tar/Makefile23
-rw-r--r--archivers/p5-Archive-Tar/distinfo2
-rw-r--r--archivers/p5-Archive-Tar/pkg-descr16
-rw-r--r--archivers/p5-Archive-Tar/pkg-plist17
4 files changed, 31 insertions, 27 deletions
diff --git a/archivers/p5-Archive-Tar/Makefile b/archivers/p5-Archive-Tar/Makefile
index 59b42ee8d358..fb73fb8dc870 100644
--- a/archivers/p5-Archive-Tar/Makefile
+++ b/archivers/p5-Archive-Tar/Makefile
@@ -6,23 +6,28 @@
#
PORTNAME= Archive-Tar
-PORTVERSION= 0.23
+PORTVERSION= 1.03
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Archive
PKGNAMEPREFIX= p5-
-EXTRACT_SUFX= .tgz
MAINTAINER= roman@xpert.com
COMMENT= Perl module for creation and manipulation of tar files
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= ${BUILD_DEPENDS} \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
-
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
+BUILD_DEPENDS= ${RUN_DEPENDS} \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+
PERL_CONFIGURE= YES
-MAN3= Archive::Tar.3 Archive::Tar::Win32.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Archive::Tar.3 Archive::Tar::File.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/archivers/p5-Archive-Tar/distinfo b/archivers/p5-Archive-Tar/distinfo
index ea1f16fd5af6..02be71be19f3 100644
--- a/archivers/p5-Archive-Tar/distinfo
+++ b/archivers/p5-Archive-Tar/distinfo
@@ -1 +1 @@
-MD5 (Archive-Tar-0.23.tgz) = e8b73ec9e7925ab84461fc9ecb23bd9b
+MD5 (Archive-Tar-1.03.tar.gz) = 0ca42d658ae28d6c7df371d07b0b83ea
diff --git a/archivers/p5-Archive-Tar/pkg-descr b/archivers/p5-Archive-Tar/pkg-descr
index 4146f73f929c..fa1610f1353b 100644
--- a/archivers/p5-Archive-Tar/pkg-descr
+++ b/archivers/p5-Archive-Tar/pkg-descr
@@ -1,11 +1,11 @@
-Perl module for creation and manipulation of tar files.
+Archive::Tar provides an object oriented mechanism for handling tar files. It
+provides class methods for quick and easy files handling while also allowing
+for the creation of tar file objects for custom manipulation. If you have the
+IO::Zlib module installed, Archive::Tar will also support compressed or gzipped
+tar files.
-This module uses no C-coded parts in itself, but it will try to use
-the Compress::Zlib module to read and write gzipped tarfiles.
-Archive::Tar will still work without Zlib, it will just complain a
-little bit (and, of course, not be able to use compression). The
-complaining will be removed when the module leaves the alpha stage,
-and can be trivially removed by commenting out the offending print
-near the top of Tar.pm.
+An object of class Archive::Tar represents a .tar(.gz) archive full of files
+and things.
Roman Shterenzon <roman@xpert.com>
+WWW: http://search.cpan.org/dist/Archive-Tar/
diff --git a/archivers/p5-Archive-Tar/pkg-plist b/archivers/p5-Archive-Tar/pkg-plist
index 8aa2d2d90042..5c7cdaa4801a 100644
--- a/archivers/p5-Archive-Tar/pkg-plist
+++ b/archivers/p5-Archive-Tar/pkg-plist
@@ -1,9 +1,8 @@
-bin/ptar
-lib/perl5/site_perl/%%PERL_VER%%/Archive/Tar/Std.pm
-lib/perl5/site_perl/%%PERL_VER%%/Archive/Tar/Win32.pm
-lib/perl5/site_perl/%%PERL_VER%%/Archive/Tar.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive/Tar/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive/Tar
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Archive/Tar
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Archive 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Archive 2>/dev/null || true
+%%SITE_PERL%%/Archive/Tar.pm
+%%SITE_PERL%%/Archive/Tar/Constant.pm
+%%SITE_PERL%%/Archive/Tar/File.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Tar/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Tar
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Archive/Tar
+@unexec rmdir %D/%%SITE_PERL%%/Archive 2>/dev/null || true