diff options
author | William Grzybowski <wg@FreeBSD.org> | 2015-07-29 13:07:42 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2015-07-29 13:07:42 +0000 |
commit | fc25fad49cd5b36d1a296e051ed6042962a0a508 (patch) | |
tree | fb6f691c857e65a1cb0c186cc9a2d9e0ce529ba1 /net/py-netif/Makefile | |
parent | 9de6081fd044e77fa8ca304320aad1888f066262 (diff) | |
download | ports-fc25fad49cd5b36d1a296e051ed6042962a0a508.tar.gz ports-fc25fad49cd5b36d1a296e051ed6042962a0a508.zip |
net/py-netif: Python network configuration library for FreeBSD
Notes
Notes:
svn path=/head/; revision=393158
Diffstat (limited to 'net/py-netif/Makefile')
-rw-r--r-- | net/py-netif/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net/py-netif/Makefile b/net/py-netif/Makefile new file mode 100644 index 000000000000..44fa08a0979b --- /dev/null +++ b/net/py-netif/Makefile @@ -0,0 +1,34 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= netif +PORTVERSION= 1.0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= Python network configuration library for FreeBSD + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= cython>0:${PORTSDIR}/lang/cython + +USE_GITHUB= yes +GH_ACCOUNT= freenas +GH_PROJECT= py-netif +GH_TAGNAME= 87ed51c + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3400 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 +.endif + +.if ${OPSYS} == FreeBSD && ${OSVERSION} <= 1000000 +IGNORE= This module requires at least FreeBSD 10 +.endif + +.include <bsd.port.post.mk> |