# Created by: William Grzybowski # $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= 4432c12 USES= python USE_PYTHON= autoplist distutils .include .if ${PYTHON_REL} < 3400 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:${PORTSDIR}/devel/py-enum34 .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100036 IGNORE= This module requires at least FreeBSD 11 .endif .include