aboutsummaryrefslogtreecommitdiffstats
path: root/net/librsync/Makefile
blob: a6c6a85e9cabd5ea38b574663bfc2fa5dfe06903 (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
31
32
33
34
35
36
# ex:ts=8
# New ports collection makefile for:    librsync
# Date created:         Mar 13, 2001
# Whom:             Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   librsync
PORTVERSION=    0.9.5
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rproxy

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

USE_LIBTOOL=    yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib" \
        CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --enable-shared --disable-trace

USE_GMAKE=  yes
INSTALLS_SHLIB= yes

MAN1=   rdiff.1
MAN3=   librsync.3

pre-build:
    @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}

.include <bsd.port.mk>