1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/math/py-ffc/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

26 lines
571 B
Makefile

# $FreeBSD$
PORTNAME= ffc
PORTVERSION= ${MMVERSION}.0
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= https://launchpad.net/${PORTNAME}/${MMVERSION}.x/${PORTVERSION}/+download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jwb@FreeBSD.org
COMMENT= C++ code generator for multilinear forms
LICENSE= LGPL3
USES= python:2.7
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= FFC
MMVERSION= 1.2
post-patch:
${REINPLACE_CMD} -i '' -e 's|os.path.join(os.path.sep, "usr")|os.path.normpath("${PREFIX}")|' \
${WRKSRC}/test/regression/test.py
.include <bsd.port.mk>