aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-netif/Makefile
blob: 44fa08a0979b93a635d9fc2c4171c21c09d77203 (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
26
27
28
29
30
31
32
33
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>