aboutsummaryrefslogtreecommitdiff
path: root/science/py-openbabel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-openbabel/Makefile')
-rw-r--r--science/py-openbabel/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/science/py-openbabel/Makefile b/science/py-openbabel/Makefile
new file mode 100644
index 000000000000..6755088090aa
--- /dev/null
+++ b/science/py-openbabel/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= openbabel
+DISTVERSION= 3.1.1.1
+CATEGORIES= science # chemistry
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Chemical toolbox designed to speak the many languages of chemical data
+WWW= https://openbabel.org/wiki/Main_Page
+
+LICENSE= GPLv2+
+
+BUILD_DEPENDS= swig:devel/swig
+LIB_DEPENDS= libopenbabel.so:science/openbabel
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+BINARY_ALIAS= python=${PYTHON_CMD}
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/openbabel/_openbabel${PYTHON_EXT_SUFFIX}.so
+
+.include <bsd.port.mk>