diff options
author | truckman <truckman@FreeBSD.org> | 2015-04-03 07:43:40 +0800 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2015-04-03 07:43:40 +0800 |
commit | a8826afd94133606c36add718d845edb040ad1b5 (patch) | |
tree | 9dfddb99c79b0319b20573e9ecdc0bfda07f1335 /net/py-pynmsg | |
parent | 1f011bfc687d80531f0e4217f79a0ced2a1ac112 (diff) | |
download | freebsd-ports-gnome-a8826afd94133606c36add718d845edb040ad1b5.tar.gz freebsd-ports-gnome-a8826afd94133606c36add718d845edb040ad1b5.tar.zst freebsd-ports-gnome-a8826afd94133606c36add718d845edb040ad1b5.zip |
Add new port net/py-pynmsg.
This is pynmsg, a Python extension module implemented in Cython for
the nmsg C library.
Differential Revision: https://reviews.freebsd.org/D2201
Approved by: mat (mentor)
Sponsored by: Farsight Security, Inc.
Diffstat (limited to 'net/py-pynmsg')
-rw-r--r-- | net/py-pynmsg/Makefile | 25 | ||||
-rw-r--r-- | net/py-pynmsg/distinfo | 2 | ||||
-rw-r--r-- | net/py-pynmsg/pkg-descr | 5 |
3 files changed, 32 insertions, 0 deletions
diff --git a/net/py-pynmsg/Makefile b/net/py-pynmsg/Makefile new file mode 100644 index 000000000000..111c54865bfb --- /dev/null +++ b/net/py-pynmsg/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= pynmsg +PORTVERSION= 0.3.1 +CATEGORIES= net python +MASTER_SITES= FARSIGHT LOCAL/truckman/farsight + +MAINTAINER= truckman@FreeBSD.org +COMMENT= Python wrapper for net/nmsg + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/COPYRIGHT + +LIB_DEPENDS= libnmsg.so:${PORTSDIR}/net/nmsg + +USE_PYTHON= distutils autoplist + +CPPFLAGS+= -I${LOCALBASE}/include + +USES= python + +post-install: + ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/python2.7/site-packages/_nmsg.so + +.include <bsd.port.mk> diff --git a/net/py-pynmsg/distinfo b/net/py-pynmsg/distinfo new file mode 100644 index 000000000000..df1b14be6cd0 --- /dev/null +++ b/net/py-pynmsg/distinfo @@ -0,0 +1,2 @@ +SHA256 (pynmsg-0.3.1.tar.gz) = ee913ff099ef43543a70103a0642c2aa9e298402d73fa74def9fce50fc95c14a +SIZE (pynmsg-0.3.1.tar.gz) = 103168 diff --git a/net/py-pynmsg/pkg-descr b/net/py-pynmsg/pkg-descr new file mode 100644 index 000000000000..94b7ce2d5f9e --- /dev/null +++ b/net/py-pynmsg/pkg-descr @@ -0,0 +1,5 @@ +This is pynmsg, a Python extension module implemented in Cython for +the nmsg C library. + + +WWW: https://github.com/farsightsec/pynmsg |