mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
37fc8ecec9
This is ABI-compatible with 1.0.0, but due to an accident upstream with releasing 1.0.1 with a reversed shlib version, they released 2.0.0 with only a restoration of the shlib version of 2. Submitted by: Danilo G. Baio (dbaio) <dbaio@bsd.com.br>
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
# Created by: Aaron Dalton <aaron@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= csync2
|
|
PORTVERSION= 2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://oss.linbit.com/csync2/
|
|
|
|
MAINTAINER= alexey@renatasystems.org
|
|
COMMENT= Cluster synchronization tool
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= librsync.so.2:net/librsync2 \
|
|
libgnutls.so:security/gnutls \
|
|
libsqlite3.so:databases/sqlite3
|
|
|
|
OPTIONS_DEFINE= CSYNC2_COMPARE DOCS
|
|
OPTIONS_SUB= yes
|
|
CSYNC2_COMPARE_DESC= Install csync2-compare script
|
|
CSYNC2_COMPARE_RUN_DEPENDS= bash:shells/bash
|
|
|
|
USES= pkgconfig shebangfix
|
|
SHEBANG_FILES= csync2-compare
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= ac_cv_prog_PDFLATEX=
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
USE_RC_SUBR= csync2
|
|
|
|
SUB_FILES= pkg-install
|
|
|
|
post-patch:
|
|
@${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
|
|
|
|
.include <bsd.port.mk>
|