aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-nnpy/Makefile
blob: 384540cfdd4ad70b133968d9b67207a0570d6eca (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
# $FreeBSD$

PORTNAME=   nnpy
DISTVERSION=    1.4.2
CATEGORIES= net python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    cffi-based Python bindings for nanomsg

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libnanomsg.so:net/nanomsg
BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${FLAVOR}
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       python
USE_PYTHON= autoplist distutils

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_nnpy*.so

.include <bsd.port.mk>