freebsd-ports/archivers/p5-Compress-LZO/Makefile
Sunpoet Po-Chuan Hsieh 08b9ea21b0 - Strip shared library
- Bump PORTREVISION for package change
2015-12-21 18:34:39 +00:00

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>