Files
ports/net/py-pynmsg/Makefile
T
Vsevolod Stakhov 8b878d88b4 security/libsodium: Update to 1.0.21
The API remains compatible but bumping all dependent ports as SHLIB
has changed.

Changelog: https://github.com/jedisct1/libsodium/releases/tag/1.0.21-RELEASE
Security: https://00f.net/2025/12/30/libsodium-vulnerability/
PR: 279347
2026-01-07 10:22:10 +00:00

35 lines
767 B
Makefile

PORTNAME= pynmsg
PORTVERSION= 0.5.1
PORTREVISION= 5
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>