blob: ac1f9101f69026d8ab32b8c1a0bb8ba8a5c3f8ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= nzmath
PORTVERSION= 1.2.0
CATEGORIES= math python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/NZMATH-${PORTVERSION}
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
NO_STAGE= yes
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>
|