summaryrefslogtreecommitdiff
path: root/math/py-igakit/Makefile
blob: ad528f6d5197c141da64abbb104f4e8162edbab7 (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
28
29
30
31
32
33
# $FreeBSD$

PORTNAME=	igakit
DISTVERSION=	0.1
PORTREVISION=	3
CATEGORIES=	math python
MASTER_SITES=	https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Low-level routines for manipulations of NURBS geometries

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.rst

BUILD_DEPENDS=	${PYNUMPY}
RUN_DEPENDS=	${PYNUMPY}

BB_ACCOUNT=	dalcinl
BB_PROJECT=	${PORTNAME}
BB_COMMIT=	9890376115e3

WRKSRC=		${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}

USES=		fortran python
USE_PYTHON=	distutils autoplist

LDFLAGS+=	-shared # https://bitbucket.org/dalcinl/igakit/issues/3

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/igakit/igalib.so

.include <bsd.port.mk>