aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lrzip/Makefile
blob: de978b58f6fb826847e70057646f50bf76344b35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=   lrzip
PORTVERSION=    0.630
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 gmake 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>