summaryrefslogtreecommitdiff
path: root/science/py-avogadrolibs/Makefile
blob: b445851442038a5de16b10852e48d9496825902f (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=	avogadrolibs
DISTVERSION=	1.93.0
PORTREVISION=	1
CATEGORIES=	science
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Python bindings for Avogadro2 chemistry libraries

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/../LICENSE

BROKEN=		fails to configure

BUILD_DEPENDS=	${LOCALBASE}/include/pybind11/pybind11.h:devel/pybind11
LIB_DEPENDS=	libAvogadroCore.so:science/avogadrolibs

USES=		cmake compiler:c++11-lang eigen:3 python:3.5+
USE_GITHUB=	yes
GH_ACCOUNT=	OpenChemistry
USE_PYTHON=	flavors

WRKSRC_SUBDIR=	python

CMAKE_ARGS=	-DINSTALL_LIBRARY_DIR:STRING=${PYTHON_SITELIBDIR}

PLIST_FILES=	${PYTHON_SITELIBDIR}/avogadro/__init__.py \
		${PYTHON_SITELIBDIR}/avogadro/core.so \
		${PYTHON_SITELIBDIR}/avogadro/io.so

.include <bsd.port.mk>