nmsg (1.3.0): * Added external configuration for Kafka IO. * Stop IO when output fails. * Add support and API for statistics module. * Remove prometheus integration. * Add NMSG_STATSMOD_CONFIG environment variable. * Bug fixes. * Documentation fixes. Bump PORTREVISION of dependent ports. Sponsored by: DomainTools LLC
35 lines
767 B
Makefile
35 lines
767 B
Makefile
PORTNAME= pynmsg
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= net python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= truckman@FreeBSD.org
|
|
COMMENT= Python wrapper for net/nmsg
|
|
WWW= https://github.com/farsightsec/pynmsg
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
LIB_DEPENDS= libnmsg.so:net/nmsg
|
|
|
|
USES= pkgconfig python shebangfix uniquefiles:dirs
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= farsightsec
|
|
USE_PYTHON= autoplist cython distutils
|
|
|
|
SHEBANG_FILES= examples/*.py
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_nmsg*.so
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|