summaryrefslogtreecommitdiff
path: root/math/py-pyipopt/Makefile
blob: 406b6f46e99a4856988fbce326fcde11b8532609 (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

PORTNAME=	pyipopt
DISTVERSION=	g20180409
PORTREVISION=	2
CATEGORIES=	math python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Use ipopt (an optimization tool) via python

LICENSE=	BSD3CLAUSE

BUILD_DEPENDS=	${PYNUMPY}
LIB_DEPENDS=	libipopt.so:math/ipopt
RUN_DEPENDS=	${PYNUMPY}

USES=		dos2unix python:3.6+
USE_GITHUB=	yes
GH_ACCOUNT=	xuy
GH_TAGNAME=	36bcb7f
DOS2UNIX_FILES=	setup.py
USE_PYTHON=	distutils autoplist

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyipopt/pyipoptcore*.so

.include <bsd.port.mk>