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

PORTNAME=   Compress-Raw-Zlib
PORTVERSION=    2.074
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: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>