# New ports collection makefile for:	lrzip
# Date created:		2011-04-08
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: archivers/lrzip/Makefile 314640 2013-03-19 13:04:30Z eadler $
#

PORTNAME=	lrzip
PORTVERSION=	0.614
CATEGORIES=	archivers
MASTER_SITES=	http://ck.kolivas.org/apps/lrzip/ \
		http://files.gslin.org/Software/

MAINTAINER=	gslin@gslin.org
COMMENT=	Long Range ZIP or Lzma RZIP

LICENSE=	GPLv2

BUILD_DEPENDS=	nasm>=0:${PORTSDIR}/devel/nasm
LIB_DEPENDS=	lzo2:${PORTSDIR}/archivers/lzo2

CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ARGS+=	--enable-asm
GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
USE_BZIP2=	yes
USE_GMAKE=	yes
USES=	pathfix
USE_PERL5_BUILD=	yes
USE_LDCONFIG=	yes

MAN1=		lrunzip.1 \
		lrzcat.1 \
		lrzip.1 \
		lrztar.1 \
		lrzuntar.1
MAN5=		lrzip.conf.5

.include <bsd.port.mk>
