freebsd-ports/net/py-netif/Makefile
Kurt Jaeger f7369076dc net/py-netif: fix build
- LAGG_PROTO_ETHERCHANNEL was removed from 11-CURRENT in r288654
  https://lists.freebsd.org/pipermail/svn-src-head/2015-October/076987.html

PR:		204202
Approved by:	wg (maintainer)
2015-11-05 21:20:49 +00:00

34 lines
714 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:${PORTSDIR}/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:${PORTSDIR}/devel/py-enum34
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100036
IGNORE= This module requires at least FreeBSD 11
.endif
.include <bsd.port.post.mk>