aboutsummaryrefslogtreecommitdiffstats
path: root/net/csync2
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-05 20:51:05 +0800
committerbapt <bapt@FreeBSD.org>2013-06-05 20:51:05 +0800
commit1594a2b796f83b44f0ac778d9d79c529a0e17c36 (patch)
tree413f7b40f311ee16bcc0b96d6884ec01be654394 /net/csync2
parent7c48582402b60f4e4fe1ba7c0618b09a4e78a9b8 (diff)
downloadfreebsd-ports-gnome-1594a2b796f83b44f0ac778d9d79c529a0e17c36.tar.gz
freebsd-ports-gnome-1594a2b796f83b44f0ac778d9d79c529a0e17c36.tar.zst
freebsd-ports-gnome-1594a2b796f83b44f0ac778d9d79c529a0e17c36.zip
Convert to new options framework
Diffstat (limited to 'net/csync2')
-rw-r--r--net/csync2/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/csync2/Makefile b/net/csync2/Makefile
index e990d2d6191d..dcbc10dc8160 100644
--- a/net/csync2/Makefile
+++ b/net/csync2/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://oss.linbit.com/csync2/ \
http://people.freebsd.org/~aaron/distfiles/
MAINTAINER= alexey@renatasystems.org
-COMMENT= A cluster synchronization tool
+COMMENT= Cluster synchronization tool
LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync \
tasn1.5:${PORTSDIR}/security/libtasn1 \
@@ -18,9 +18,12 @@ LIB_DEPENDS= rsync.1:${PORTSDIR}/net/librsync \
gcrypt:${PORTSDIR}/security/libgcrypt \
gpg-error.0:${PORTSDIR}/security/libgpg-error
-OPTIONS= CSYNC2_COMPARE "Install csync2-compare script" off
+OPTIONS_DEFINE= CSYNC2_COMPARE
+CSYNC2_COMPARE_DESC= Install csync2-compare script
-.include <bsd.port.pre.mk>
+USES= pkgconfig
+
+.include <bsd.port.options.mk>
MAN1= csync2.1
@@ -35,7 +38,7 @@ USE_RC_SUBR= csync2
PLIST_FILES= etc/csync2.cfg-dist \
sbin/csync2
-.if defined(WITH_CSYNC2_COMPARE)
+.if ${PORT_OPTIONS:MCSYNC2_COMPARE}
RUN_DEPENDS+= bash>=0:${PORTSDIR}/shells/bash
PLIST_FILES+= sbin/csync2-compare
CSYNC2_COMPARE= csync2-compare
@@ -51,4 +54,4 @@ post-patch:
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>