- use CPAN macro

- fix dependency
- switch to PERL_MODBUILD
- bump PORTREVISION

Submitted by:	leeym
Approved by:	clsung
This commit is contained in:
Yen-Ming Lee 2008-03-10 12:21:53 +00:00
parent bb97787dbb
commit 5aac148861
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208717
2 changed files with 17 additions and 10 deletions

View file

@ -7,25 +7,33 @@
PORTNAME= Archive-Any
PORTVERSION= 0.09.3
PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Archive
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}-0.093
DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Single interface to deal with file archives
RUN_DEPENDS= ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types \
p5-Archive-Tar>=0.22:${PORTSDIR}/archivers/p5-Archive-Tar \
p5-Archive-Zip>=1.07:${PORTSDIR}/archivers/p5-Archive-Zip \
BUILD_DEPENDS= p5-Test-Perl-Critic>=0:${PORTSDIR}/textproc/p5-Test-Perl-Critic \
p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
RUN_DEPENDS= p5-Archive-Zip>=1.07:${PORTSDIR}/archivers/p5-Archive-Zip \
p5-File-MMagic>=1.27:${PORTSDIR}/devel/p5-File-MMagic \
p5-MIME-Types>=1.16:${PORTSDIR}/mail/p5-MIME-Types \
p5-Module-Find>=0.05:${PORTSDIR}/devel/p5-Module-Find
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
PERL_MODBUILD= yes
MAN3= Archive::Any.3 Archive::Any::Plugin.3 \
Archive::Any::Plugin::Tar.3 Archive::Any::Plugin::Zip.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+= p5-Archive-Tar>=0.22:${PORTSDIR}/archivers/p5-Archive-Tar
.endif
.include <bsd.port.post.mk>

View file

@ -1,5 +1,4 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Archive/Any/.packlist
%%SITE_PERL%%/Archive/Any.pm
%%SITE_PERL%%/Archive/Any/Plugin.pm
%%SITE_PERL%%/Archive/Any/Plugin/Tar.pm