mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
67893162be
PR: ports/161556 Submitted by: Ruslan Mahmatkhanov <cvs-src at yandex.ru>
41 lines
848 B
Makefile
41 lines
848 B
Makefile
# New ports collection makefile for: py-netaddr
|
|
# Date created: 2008-10-14
|
|
# Whom: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netaddr
|
|
PORTVERSION= 0.7.6
|
|
CATEGORIES= net python
|
|
MASTER_SITES= https://github.com/drkjam/${PORTNAME}/downloads/ \
|
|
CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yzlin@FreeBSD.org
|
|
COMMENT= A python library for the manipulation of network address manipulation
|
|
|
|
LICENSE= BSD
|
|
|
|
FETCH_ARGS= -pRr
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
PORTDOCS= AUTHORS CHANGELOG README
|
|
TESTFILES= __init__.py
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
regression-test:
|
|
.for f in ${TESTFILES}
|
|
(cd ${WRKSRC}/netaddr/tests && ${PYTHON_CMD} $f)
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|