mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
41a5348a3b
With hat: portmgr
37 lines
793 B
Makefile
37 lines
793 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pynmsg
|
|
PORTVERSION= 0.4.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
|
|
|
|
DEPRECATED= Uses deprecated version of python
|
|
EXPIRATION_DATE= 2020-08-15
|
|
|
|
LIB_DEPENDS= libnmsg.so:net/nmsg
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
USES= pkgconfig python:-3.6 shebangfix uniquefiles:dirs
|
|
|
|
SHEBANG_FILES= examples/*.py
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|