summaryrefslogtreecommitdiff
path: root/science/smoldyn/Makefile
blob: 728ebfcd96837599b9f74142b8b1baf82f8f41e5 (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
28
29
30
31
PORTNAME=	smoldyn
DISTVERSION=	2.68
CATEGORIES=	science
MASTER_SITES=	https://www.smoldyn.org/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Biochemical simulator for molecular diffusion, surface interactions

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/License.txt

LIB_DEPENDS=	libtiff.so:graphics/tiff

USES=		cmake:testing compiler:c++11-lang gl localbase:ldflags tar:tgz python:test shebangfix xorg
USE_GL=		gl glu glut
USE_XORG=	xi xmu
USE_LDCONFIG=	yes

SHEBANG_GLOB=	*.py.in

CMAKE_OFF=	OPTION_PYTHON
CMAKE_TESTING_ON=	OPTION_EXAMPLES # all tests fail to run, see https://github.com/ssandrews/Smoldyn/issues/127

PLIST_FILES=	bin/${PORTNAME} \
		include/libsmoldyn.h \
		include/smoldyn.h \
		include/smoldynconfigure.h \
		lib/libsmoldyn_shared.so \
		lib/libsmoldyn_static.a

.include <bsd.port.mk>