aboutsummaryrefslogtreecommitdiff
path: root/math/py-pyipopt/Makefile
blob: 2452c9bf112fbc0ed38eee884e12e6db39be5218 (plain) (blame)
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
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>