1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/net/csync2/Makefile
Martin Wilke 2f65aa8ba3 - Unbreak and fix build with gnuTLS
PR:		138804
Submitted by:	mitsuru@riken.jp
Feature safe:	yes
2009-09-16 14:26:58 +00:00

41 lines
1019 B
Makefile

# 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= 6
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.4:${PORTSDIR}/security/libtasn1 \
gnutls.40:${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"
CONFIGURE_ENV+= LIBGNUTLS_CONFIG="${LOCALBASE}/bin/pkg-config gnutls"
PLIST_FILES= etc/csync2.cfg-dist \
sbin/csync2 \
sbin/csync2-compare
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>