freebsd-ports/net/py-pynmsg/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

31 lines
687 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
LIB_DEPENDS= libnmsg.so:net/nmsg
USE_PYTHON= autoplist distutils
USES= pkgconfig python shebangfix uniquefiles:dirs
SHEBANG_FILES= examples/*.py
PORTEXAMPLES= *
CPPFLAGS+= -I${LOCALBASE}/include
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nmsg.so
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>