freebsd-ports/devel/py-rbtree/Makefile

39 lines
837 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-rbtree
# Date created: 08 Mai 2006
# Whom: Marcus Alves Grando <mnag@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rbtree
2006-07-10 17:20:21 +02:00
PORTVERSION= 0.7
CATEGORIES= devel python
2006-07-10 17:20:21 +02:00
MASTER_SITES= http://cheeseshop.python.org/packages/source/r/rbtree/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= mnag@FreeBSD.org
COMMENT= A fast tree with ordered data and expanded iterator support
BUILD_DEPENDS= pyrexc:${PORTSDIR}/devel/pyrex
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/rbtree.so
PORTDOCS= *
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
.endif
test: build
(cd ${WRKSRC} && ${PYTHON_CMD} test_rbtree.py)
.include <bsd.port.mk>