aboutsummaryrefslogtreecommitdiff
path: root/biology/libsedml/Makefile
blob: c979cd8bc72f9ba864bacfc64bd8ac95976b25e1 (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
27
28
29
30
31
32
33
34
PORTNAME=	libsedml
DISTVERSIONPREFIX=	v
DISTVERSION=	2.0.32
CATEGORIES=	biology devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	C++ SED-ML library
WWW=		https://github.com/fbergmann/libSEDML

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

BUILD_DEPENDS=	libsbml>0:biology/libsbml \
		libnuml>0:biology/libnuml # statically linked, even into a shared library, see https://github.com/fbergmann/libSEDML/issues/155
RUN_DEPENDS=	libsbml>0:biology/libsbml \
		libnuml>0:biology/libnuml # when static lib libnuml.a is fixed these should be run-time dependency

USES=		cmake compiler:c++11-lang gnome
USE_GNOME=	libxml2
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	fbergmann
GH_PROJECT=	libSEDML

post-install:
	# no need to install LICENSE, README, VERSION
	@${RM} -r ${STAGEDIR}${DATADIR}
	# workaround for https://github.com/fbergmann/libSEDML/issues/163
	${RM} -r ${STAGEDIR}${PREFIX}/share/cmake

# the project builds static libs with -fPIC, see https://github.com/fbergmann/libSEDML/issues/155

.include <bsd.port.mk>