Index: net/Makefile =================================================================== --- net/Makefile +++ net/Makefile @@ -929,6 +929,7 @@ SUBDIR += py-port-for SUBDIR += py-pybeanstalk SUBDIR += py-pygeoip + SUBDIR += py-pynmsg SUBDIR += py-pynsq SUBDIR += py-pypcap SUBDIR += py-pysendfile Index: net/py-pynmsg/Makefile =================================================================== --- /dev/null +++ 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 Index: net/py-pynmsg/distinfo =================================================================== --- /dev/null +++ net/py-pynmsg/distinfo @@ -0,0 +1,2 @@ +SHA256 (pynmsg-0.3.1.tar.gz) = ee913ff099ef43543a70103a0642c2aa9e298402d73fa74def9fce50fc95c14a +SIZE (pynmsg-0.3.1.tar.gz) = 103168 Index: net/py-pynmsg/pkg-descr =================================================================== --- /dev/null +++ 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