freebsd-ports/math/py-nzmath/Makefile
Wen Heping 8e48712e3e NZMATH is a Python based number theory oriented calculation system.
The centre of development in origin is Tokyo Metropolitan University.
It is freely available and distributed under the BSD license.

WWW: http://tnt.math.se.tmu.ac.jp/nzmath/
2011-06-03 08:10:38 +00:00

33 lines
718 B
Makefile

# New ports collection makefile for: py-nzmath
# Date created: 3rd June, 2011
# Whom: Wen Heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= nzmath
PORTVERSION= 1.1.0
CATEGORIES= math python
MASTER_SITES= http://tnt.math.se.tmu.ac.jp/nzmath/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= NZMATH-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Number theory oriented calculation system
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= NZMATH
post-install:
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
${CP} ${WRKSRC}/data/discriminant.csv ${DATADIR}
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/manual/*.pdf ${DOCSDIR}
.endif
.include <bsd.port.mk>