summaryrefslogtreecommitdiff
path: root/math/py-symcxx/Makefile
blob: eaac5fc35fa5ae44d20546774c20c98eb2388ba9 (plain)
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
# $FreeBSD$

PORTNAME=	symcxx
DISTVERSION=	0.1.9
PORTREVISION=	4
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Minimal symbolic manipulation python package written in C++

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYNUMPY}

USES=		compiler:c++11-lang fortran python:-3.6 # fortran because otherwise "import numpy" fails with wrong libgcc_s.so message
USE_PYTHON=	distutils autoplist

post-patch:
	@truncate -s 0 ${WRKSRC}/README.rst # workaround for https://github.com/bjodah/symcxx/issues/19

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/symcxx/_symcxx.so

.include <bsd.port.mk>