summaryrefslogtreecommitdiff
path: root/archivers/p5-Archive-Any/Makefile
blob: 6a6bd38759e91096128b6e7db75698467f545a5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	p5-Archive-Any
# Date created:		2006-08-28
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=	Archive-Any
PORTVERSION=	0.09.3
PORTREVISION=	2
CATEGORIES=	archivers perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER=	clsung@FreeBSD.org
COMMENT=	Single interface to deal with file archives

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

PERL_MODBUILD=	yes

MAN3=		Archive::Any.3 Archive::Any::Plugin.3 \
		Archive::Any::Plugin::Tar.3 Archive::Any::Plugin::Zip.3

.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>