aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2011-05-31 04:09:08 +0800
committerwxs <wxs@FreeBSD.org>2011-05-31 04:09:08 +0800
commitd134c002a697f9fd9b175d09e581dd04808b80c1 (patch)
tree595941cff7dfd9c0e8c4b914f23036bad463fa9c /devel
parent6e1ac0032a3b341fa35d666bc8acc4923777eb97 (diff)
downloadfreebsd-ports-gnome-d134c002a697f9fd9b175d09e581dd04808b80c1.tar.gz
freebsd-ports-gnome-d134c002a697f9fd9b175d09e581dd04808b80c1.tar.zst
freebsd-ports-gnome-d134c002a697f9fd9b175d09e581dd04808b80c1.zip
High-level C binding for ZMQ.
PR: ports/157325 Submitted by: Andrew Thompson <thompsa@FreeBSD.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/czmq/Makefile42
-rw-r--r--devel/czmq/distinfo2
-rw-r--r--devel/czmq/pkg-descr3
-rw-r--r--devel/czmq/pkg-plist21
5 files changed, 69 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6d4be3fdb47c..9336c721aa38 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -276,6 +276,7 @@
SUBDIR += cxref
SUBDIR += cxxtest
SUBDIR += cxxtools
+ SUBDIR += czmq
SUBDIR += d-feet
SUBDIR += darts
SUBDIR += datadesigner
diff --git a/devel/czmq/Makefile b/devel/czmq/Makefile
new file mode 100644
index 000000000000..e4cde81e4e92
--- /dev/null
+++ b/devel/czmq/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: czmq
+# Date created: 2008-07-28
+# Whom: Andrew Thompson <thompsa@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= czmq
+PORTVERSION= 1.0.0
+CATEGORIES= devel net
+MASTER_SITES= http://download.zeromq.org/
+DISTNAME= czmq-${DISTVERSION}
+
+MAINTAINER= thompsa@FreeBSD.org
+COMMENT= High-level C Binding for zmq
+
+LIB_DEPENDS= zmq:${PORTSDIR}/devel/zmq
+BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
+ xmlto:${PORTSDIR}/textproc/xmlto
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libzmq=${LOCALBASE}
+USE_LDCONFIG= yes
+
+MAN7= czmq.7 \
+ zclock.7 \
+ zctx.7 \
+ zframe.7 \
+ zhash.7 \
+ zlist.7 \
+ zloop.7 \
+ zmsg.7 \
+ zsocket.7 \
+ zsockopt.7 \
+ zstr.7 \
+ zthread.7
+
+post-configure:
+ @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|' ${WRKSRC}/src/Makefile
+
+.include <bsd.port.mk>
diff --git a/devel/czmq/distinfo b/devel/czmq/distinfo
new file mode 100644
index 000000000000..a4c441065339
--- /dev/null
+++ b/devel/czmq/distinfo
@@ -0,0 +1,2 @@
+SHA256 (czmq-1.0.0.tar.gz) = 45475a3f20c1144298f038184c1917dc0b5ca53b11e2ab2b7f4ac4ce0012774e
+SIZE (czmq-1.0.0.tar.gz) = 371645
diff --git a/devel/czmq/pkg-descr b/devel/czmq/pkg-descr
new file mode 100644
index 000000000000..df1bcab43fe5
--- /dev/null
+++ b/devel/czmq/pkg-descr
@@ -0,0 +1,3 @@
+High-level C binding for ZMQ.
+
+WWW: http://czmq.zeromq.org/
diff --git a/devel/czmq/pkg-plist b/devel/czmq/pkg-plist
new file mode 100644
index 000000000000..dd4c4921516c
--- /dev/null
+++ b/devel/czmq/pkg-plist
@@ -0,0 +1,21 @@
+@comment $FreeBSD$
+bin/czmq_selftest
+include/czmq.h
+include/czmq_prelude.h
+include/zclock.h
+include/zctx.h
+include/zframe.h
+include/zhash.h
+include/zlist.h
+include/zloop.h
+include/zmsg.h
+include/zsocket.h
+include/zsockopt.h
+include/zstr.h
+include/zthread.h
+lib/libczmq.a
+lib/libczmq.la
+lib/libczmq.so
+lib/libczmq.so.0
+libdata/pkgconfig/libczmq.pc
+@dirrmtry libdata/pkgconfig