blob: 939534c3c9f8ffa64516d6b328e42b4e9cd47d9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= pynmsg
PORTVERSION= 0.5.1
PORTREVISION= 0
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>
|