2013-05-03 18:36:39 +02:00
|
|
|
# Created by: Aaron Dalton <aaron@FreeBSD.org>
|
2007-05-30 20:48:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= csync2
|
2016-03-11 14:33:35 +01:00
|
|
|
PORTVERSION= 2.0
|
2016-04-27 22:05:11 +02:00
|
|
|
PORTREVISION= 2
|
2007-05-30 20:48:50 +02:00
|
|
|
CATEGORIES= net
|
2016-03-11 14:33:35 +01:00
|
|
|
MASTER_SITES= http://oss.linbit.com/csync2/
|
2007-05-30 20:48:50 +02:00
|
|
|
|
2018-07-19 00:20:23 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-06-05 14:51:05 +02:00
|
|
|
COMMENT= Cluster synchronization tool
|
2007-05-30 20:48:50 +02:00
|
|
|
|
2016-03-11 14:33:35 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2017-01-24 20:44:33 +01:00
|
|
|
LIB_DEPENDS= librsync.so.2:net/librsync2 \
|
2016-04-01 16:16:16 +02:00
|
|
|
libgnutls.so:security/gnutls \
|
|
|
|
libsqlite3.so:databases/sqlite3
|
2007-05-30 20:48:50 +02:00
|
|
|
|
2016-03-11 14:33:35 +01:00
|
|
|
OPTIONS_DEFINE= CSYNC2_COMPARE DOCS
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
CSYNC2_COMPARE_DESC= Install csync2-compare script
|
2016-04-01 16:16:16 +02:00
|
|
|
CSYNC2_COMPARE_RUN_DEPENDS= bash:shells/bash
|
2010-06-27 14:26:55 +02:00
|
|
|
|
2016-03-11 14:33:35 +01:00
|
|
|
USES= pkgconfig shebangfix
|
|
|
|
SHEBANG_FILES= csync2-compare
|
2007-05-30 20:48:50 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2016-03-11 14:33:35 +01:00
|
|
|
CONFIGURE_ARGS= ac_cv_prog_PDFLATEX=
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2016-03-11 14:33:35 +01:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2007-05-30 20:48:50 +02:00
|
|
|
|
2010-05-14 15:29:55 +02:00
|
|
|
USE_RC_SUBR= csync2
|
|
|
|
|
2014-05-26 22:17:22 +02:00
|
|
|
SUB_FILES= pkg-install
|
|
|
|
|
2010-06-27 14:26:55 +02:00
|
|
|
post-patch:
|
2016-03-11 14:33:35 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|(localstatedir)/lib|(localstatedir)/db|' \
|
|
|
|
-e 's/-ldl//' ${WRKSRC}/Makefile.in
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${STAGEDIR}${PREFIX}/etc/csync2.cfg \
|
|
|
|
${STAGEDIR}${PREFIX}/etc/csync2.cfg.sample
|
|
|
|
${MKDIR} ${STAGEDIR}/var/backups/csync2
|
2007-05-30 20:48:50 +02:00
|
|
|
|
2013-06-05 14:51:05 +02:00
|
|
|
.include <bsd.port.mk>
|