mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 11:59:15 -04:00
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
27 lines
685 B
Makefile
27 lines
685 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= symcxx
|
|
DISTVERSION= 0.1.9
|
|
PORTREVISION= 1
|
|
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= fortran python # 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>
|