Changeset View
Changeset View
Standalone View
Standalone View
head/net/py-ifaddr/Makefile
# Created by: John Hixson<jhixson@FreeBSD.org> | # Created by: John Hixson<jhixson@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= ifaddr | PORTNAME= ifaddr | ||||
PORTVERSION= 0.1.6 | PORTVERSION= 0.1.6 | ||||
CATEGORIES= net python | CATEGORIES= net python | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
MAINTAINER= jhixson@FreeBSD.org | MAINTAINER= jhixson@FreeBSD.org | ||||
COMMENT= Python Library to enumerate all network interfaces | COMMENT= Python Library to enumerate all network interfaces | ||||
LICENSE= MIT | LICENSE= MIT | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
USES= python:2.7+ | RUN_DEPENDS= ${PY_IPADDRESS} | ||||
USES= python | |||||
USE_PYTHON= autoplist distutils | USE_PYTHON= autoplist distutils | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= pydron | GH_ACCOUNT= pydron | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.mk> | ||||
.if ${PYTHON_MAJOR_VER} < 3 | |||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddress>0:net/py-ipaddress | |||||
.endif | |||||
.include <bsd.port.post.mk> |