aboutsummaryrefslogblamecommitdiff
path: root/archivers/lrzip/Makefile
blob: 2e01287f7be4e3ac78f7aa53cb2cca6af144fccc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
           

                     
                     



                                                   
                                   

                                           

                     

                                         


                                      
                   
                                  
                                                                
                                
                     
                   
 


                                                                
                      
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

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

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

LICENSE=	GPLv2

BUILD_DEPENDS=	nasm>=0:devel/nasm
LIB_DEPENDS=	liblzo2.so:archivers/lzo2

CFLAGS+=	-I${LOCALBASE}/include
CONFIGURE_ARGS+=	--enable-asm
GNU_CONFIGURE=	yes
LDFLAGS+=	-L${LOCALBASE}/lib
USES=		alias libtool pathfix perl5 shebangfix tar:bzip2
SHEBANG_FILES=	${WRKSRC}/lrztar
USE_PERL5=	build
USE_LDCONFIG=	yes

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblrzip.so.0.0.0

.include <bsd.port.mk>