aboutsummaryrefslogtreecommitdiff
path: root/biology/py-python-libsbml/Makefile
blob: d0b1be3400fb3b12597b1813f50cf9a3d6e6b13d (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
PORTNAME=	python-libsbml
DISTVERSION=	5.20.1
CATEGORIES=	biology python
#MASTER_SITES=	PYPI # no tarballs on PYPI
MASTER_SITES=	https://github.com/sbmlteam/python-libsbml/releases/download/v${DISTVERSION}/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	LibSBML Python API
WWW=		https://sbml.org/Main_Page

LICENSE=	LGPL21

BUILD_DEPENDS=	cmake:devel/cmake-core \
		swig:devel/swig

USES=		python:3.6-3.9
USE_PYTHON=	autoplist distutils # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml*.so

.include <bsd.port.mk>