aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2014-04-10 21:58:16 +0800
committerskreuzer <skreuzer@FreeBSD.org>2014-04-10 21:58:16 +0800
commitb254ec5537595d917d4406bf9abd426fe91e17b0 (patch)
tree8fc3b99f45e0c5779dd9ee19fb5625347edae170
parent7887626f3156183967b1752a4763091a0d29f46d (diff)
downloadfreebsd-ports-gnome-b254ec5537595d917d4406bf9abd426fe91e17b0.tar.gz
freebsd-ports-gnome-b254ec5537595d917d4406bf9abd426fe91e17b0.tar.zst
freebsd-ports-gnome-b254ec5537595d917d4406bf9abd426fe91e17b0.zip
Development files for the C ZooKeeper binding
WWW: http://zookeeper.apache.org/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libzookeeper/Makefile32
-rw-r--r--devel/libzookeeper/distinfo2
-rw-r--r--devel/libzookeeper/pkg-descr5
-rw-r--r--devel/libzookeeper/pkg-plist19
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bc48ff8bd930..de7c48d7aba7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1147,6 +1147,7 @@
SUBDIR += libxalloc
SUBDIR += libxs
SUBDIR += libytnef
+ SUBDIR += libzookeeper
SUBDIR += libzrtpcpp
SUBDIR += libzvbi
SUBDIR += lightning
diff --git a/devel/libzookeeper/Makefile b/devel/libzookeeper/Makefile
new file mode 100644
index 000000000000..fdbf65abfcd9
--- /dev/null
+++ b/devel/libzookeeper/Makefile
@@ -0,0 +1,32 @@
+# Created by: skreuzer@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= zookeeper
+PORTVERSION= 3.4.6
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_APACHE}
+MASTER_SITE_SUBDIR= ${PORTNAME}/current
+PKGNAMEPREFIX= lib
+
+MAINTAINER= skreuzer@FreeBSD.org
+COMMENT= C client interface to Zookeeper server
+
+LICENSE= APACHE20
+
+LIB_DEPENDS= libcppunit.so:${PORTSDIR}/devel/cppunit
+
+USES= gmake
+GNU_CONFIGURE= yes
+USE_LDCONFIG=> yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/c
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
+ (cd ${STAGEDIR}${PREFIX}/lib; \
+ ${STRIP_CMD} libzookeeper_mt.so.2; \
+ ${LN} -nsf ${PREFIX}/lib/libzookeeper_mt.so.2 libzookeeper_mt.so; \
+ ${STRIP_CMD} libzookeeper_st.so.2; \
+ ${LN} -nsf ${PREFIX}/lib/libzookeeper_st.so.2 libzookeeper_st.so )
+
+.include <bsd.port.mk>
diff --git a/devel/libzookeeper/distinfo b/devel/libzookeeper/distinfo
new file mode 100644
index 000000000000..aa2648957de3
--- /dev/null
+++ b/devel/libzookeeper/distinfo
@@ -0,0 +1,2 @@
+SHA256 (zookeeper-3.4.6.tar.gz) = 01b3938547cd620dc4c93efe07c0360411f4a66962a70500b163b59014046994
+SIZE (zookeeper-3.4.6.tar.gz) = 17699306
diff --git a/devel/libzookeeper/pkg-descr b/devel/libzookeeper/pkg-descr
new file mode 100644
index 000000000000..6312b4f859be
--- /dev/null
+++ b/devel/libzookeeper/pkg-descr
@@ -0,0 +1,5 @@
+Development files for the C ZooKeeper binding which is a is a centralized,
+reliable, service for maintaining configuration information, naming, providing
+distributed synchronization, and group services.
+
+WWW: http://zookeeper.apache.org/
diff --git a/devel/libzookeeper/pkg-plist b/devel/libzookeeper/pkg-plist
new file mode 100644
index 000000000000..5329eff23838
--- /dev/null
+++ b/devel/libzookeeper/pkg-plist
@@ -0,0 +1,19 @@
+bin/load_gen
+bin/cli_mt
+bin/cli_st
+lib/libzookeeper_mt.a
+lib/libzookeeper_st.a
+lib/libzookeeper_mt.la
+lib/libzookeeper_mt.so
+lib/libzookeeper_mt.so.2
+lib/libzookeeper_st.la
+lib/libzookeeper_st.so
+lib/libzookeeper_st.so.2
+include/zookeeper/proto.h
+include/zookeeper/recordio.h
+include/zookeeper/zookeeper.h
+include/zookeeper/zookeeper.jute.h
+include/zookeeper/zookeeper_log.h
+include/zookeeper/zookeeper_version.h
+@dirrm include/zookeeper
+@dirrmtry include