08b9ea21b0
- Bump PORTREVISION for package change
26 lines
595 B
Makefile
26 lines
595 B
Makefile
# Created by: Gea-Suan Lin <gslin@gslin.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Compress-LZO
|
|
PORTVERSION= 1.08
|
|
PORTREVISION= 4
|
|
CATEGORIES= archivers perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Interface to the LZO compression library
|
|
|
|
LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/lzo
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -i '' -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compress/LZO/LZO.so
|
|
|
|
.include <bsd.port.mk>
|