aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-zeromq/Makefile31
-rw-r--r--math/octave-forge-zeromq/distinfo2
-rw-r--r--math/octave-forge-zeromq/pkg-descr10
4 files changed, 44 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 1ccb30cdaa54..f1c533e1020e 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -394,6 +394,7 @@
SUBDIR += octave-forge-video
SUBDIR += octave-forge-xraylib
SUBDIR += octave-forge-zenity
+ SUBDIR += octave-forge-zeromq
SUBDIR += ogdf
SUBDIR += oleo
SUBDIR += open-axiom
diff --git a/math/octave-forge-zeromq/Makefile b/math/octave-forge-zeromq/Makefile
new file mode 100644
index 000000000000..7ab5672f891c
--- /dev/null
+++ b/math/octave-forge-zeromq/Makefile
@@ -0,0 +1,31 @@
+# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= octave-forge-zeromq
+PORTVERSION= 1.0.0
+CATEGORIES= math
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKDIR}/${OCTSRC}/COPYING
+
+LIB_DEPENDS+= libzmq.so:${PORTSDIR}/net/libzmq4
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC= ${OCTAVE_PKGNAME}
+
+WRKSRC= ${WRKDIR}/${OCTSRC}/src
+
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+ ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-zeromq/distinfo b/math/octave-forge-zeromq/distinfo
new file mode 100644
index 000000000000..5f68510db2bc
--- /dev/null
+++ b/math/octave-forge-zeromq/distinfo
@@ -0,0 +1,2 @@
+SHA256 (octave-forge/zeromq-1.0.0.tar.gz) = 12bf21970f6d6eb11a923ddb307b22611abe8e6dbc8289ff695c73c8ecdd64d6
+SIZE (octave-forge/zeromq-1.0.0.tar.gz) = 56744
diff --git a/math/octave-forge-zeromq/pkg-descr b/math/octave-forge-zeromq/pkg-descr
new file mode 100644
index 000000000000..3d64f8aa8cc2
--- /dev/null
+++ b/math/octave-forge-zeromq/pkg-descr
@@ -0,0 +1,10 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This is zeromq.
+
+ ZeroMQ bindings for GNU Octave.
+
+WWW: http://octave.sourceforge.net/