opnsense-ports/net/py-netif/Makefile
Franco Fichtner d543c3ab93 */*: sync with upstream
Taken from: FreeBSD
2016-04-02 16:03:17 +02:00

34 lines
690 B
Makefile

# 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:lang/cython
USE_GITHUB= yes
GH_ACCOUNT= freenas
GH_PROJECT= py-netif
GH_TAGNAME= 4432c12
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100036
IGNORE= This module requires at least FreeBSD 11
.endif
.include <bsd.port.post.mk>