aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/p5-Compress-Raw-Zlib/Makefile
blob: 8fec52629c05c78435815f61a803b68250bd1982 (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
# Created by: Thomas Abthorpe <thomas@goodking.ca>
# $FreeBSD$

PORTNAME=   Compress-Raw-Zlib
PORTVERSION=    2.068
PORTREVISION=   1
CATEGORIES= archivers perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Low-Level Interface to zlib compression library

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

TEST_DEPENDS=   p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod

USE_PERL5=  configure
USES=       perl5

post-patch:
    @${REINPLACE_CMD} -e '/^BUILD_ZLIB/ s|True|False|; /^INCLUDE/ s|= .*$$|= ${INCLUDEDIR}|; /^LIB/ s|= .*$$|= ${LIBDIR}|' ${WRKSRC}/config.in

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/Raw/Zlib/Zlib.so

.include <bsd.port.mk>