1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/net/py-pynmsg/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

32 lines
719 B
Makefile

PORTNAME= pynmsg
PORTVERSION= 0.5.0
CATEGORIES= net python
MASTER_SITES= FARSIGHT LOCAL/truckman/farsight
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= truckman@FreeBSD.org
COMMENT= Python wrapper for net/nmsg
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libnmsg.so:net/nmsg
USES= pkgconfig python:3.6+ shebangfix uniquefiles:dirs
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>