31 lines
599 B
Makefile
31 lines
599 B
Makefile
# $OpenBSD: Makefile,v 1.9 2020/07/03 21:13:02 sthen Exp $
|
|
|
|
COMMENT = network address representation and manipulation library
|
|
|
|
MODPY_EGG_VERSION = 0.7.19
|
|
DISTNAME = netaddr-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 1
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = http://github.com/drkjam/netaddr/
|
|
|
|
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
|
|
FLAVOR ?=
|
|
FLAVORS = python3
|
|
|
|
post-install:
|
|
mv ${PREFIX}/bin/netaddr ${PREFIX}/bin/netaddr${MODPY_BIN_SUFFIX}
|
|
|
|
.include <bsd.port.mk>
|