aboutsummaryrefslogtreecommitdiffstats
path: root/net/csync2/Makefile
blob: 6b4614a0bf1b8e9e6f348c7357b490e36dbfbb67 (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
37
38
39
# New ports collection makefile for:    net/csync2
# Date created:             16 May 2007
# Whom:                 Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   csync2
PORTVERSION=    1.34
PORTREVISION=   4
CATEGORIES= net
MASTER_SITES=   http://oss.linbit.com/csync2/ \
        http://people.freebsd.org/~aaron/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A cluster synchronization tool

LIB_DEPENDS=    rsync.1:${PORTSDIR}/net/librsync \
        tasn1.3:${PORTSDIR}/security/libtasn1 \
        gnutls.26:${PORTSDIR}/security/gnutls \
        sqlite.2:${PORTSDIR}/databases/sqlite2 \
        gcrypt.16:${PORTSDIR}/security/libgcrypt \
        gpg-error.0:${PORTSDIR}/security/libgpg-error

MAN1=   csync2.1

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=    etc/csync2.cfg-dist \
        sbin/csync2 \
        sbin/csync2-compare

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>