aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/p5-Compress-Zlib/Makefile
blob: 1d5a60a2d452ca7c6f623b466d78a3d3b1985cb6 (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
# New ports collection makefile for:    p5-Compress-Zlib
# Date created:             October 20th 1996
# Whom:                     James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Compress-Zlib
PORTVERSION=    2.015
CATEGORIES= archivers perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= jadawin@FreeBSD.org
COMMENT=    Perl5 interface to zlib compression library

RUN_DEPENDS=    p5-Compress-Raw-Zlib>=${PORTVERSION}:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib \
        p5-IO-Compress-Base>=${PORTVERSION}:${PORTSDIR}/archivers/p5-IO-Compress-Base \
        p5-IO-Compress-Zlib>=${PORTVERSION}:${PORTSDIR}/archivers/p5-IO-Compress-Zlib

PERL_CONFIGURE= YES

MAN3=       Compress::Zlib.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+=   p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif

post-patch:
    @${REINPLACE_CMD} -e 's/5.009/5.666/' ${WRKSRC}/Makefile.PL

.include <bsd.port.post.mk>