summaryrefslogtreecommitdiff
path: root/math/py-triangle/Makefile
blob: 24af5e896e900f1c6982e98e1e1596f29be69f1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

PORTNAME=	triangle
PORTVERSION=	20200424
CATEGORIES=	math
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	db@FreeBSD.org
COMMENT=	Python interface to triangle

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		compiler:c++11-lang python:3.6+

USE_PYTHON=	distutils autoplist

BUILD_DEPENDS=	triangle>0:math/triangle

post-install:
	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/triangle/core*.so

.include <bsd.port.mk>