mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
baa1ae204c
- Update to 0.7.14 - Add NO_ARCH [1] - Add uniquefiles:dirs [1] - Remove DOCSDIR override [1] - Refactor regression-test target - Patch setup.py and release.py to add proper test command support - Update pkg-descr according to upstream (setup.py) long_description Inspired by: Patch by tkato432 yahoo com [1] PR: 197447 [1]
31 lines
672 B
Makefile
31 lines
672 B
Makefile
# Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netaddr
|
|
PORTVERSION= 0.7.14
|
|
CATEGORIES= net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
|
|
|
|
LICENSE= BSD3CLAUSE MIT
|
|
LICENSE_COMB= multi
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils uniquefiles:dirs
|
|
|
|
PORTDOCS= AUTHORS CHANGELOG README
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|