mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
34 lines
719 B
Makefile
34 lines
719 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Compress-Raw-Lzma
|
|
PORTVERSION= 2.064
|
|
CATEGORIES= archivers perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:PMQS
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Low-Level Interface to lzma compression library
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
TEST_DEPENDS= p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
|
|
|
|
USE_PERL5= configure
|
|
USES= perl5
|
|
|
|
LZMA_DEPEND?= sys
|
|
|
|
.if ${LZMA_DEPEND} == "lzmalib"
|
|
LIB_DEPENDS+= liblzma.so.1:${PORTSDIR}/archivers/lzmalib
|
|
.endif
|
|
|
|
post-configure:
|
|
.if ${LZMA_DEPEND} == "sys"
|
|
@${REINPLACE_CMD} -e "/^LDDLFLAGS/ s|${LOCALBASE}/lib|${LIBDIR}|" ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|