summaryrefslogtreecommitdiff
path: root/science/py-rmf/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-01 05:22:27 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-01 05:22:27 +0000
commit402a69a5d43211c9f8e846bff8d6930a344fb99d (patch)
treea2c13cc74572e15f5010e0f6d3e1d91bbe8d67b9 /science/py-rmf/Makefile
parentgraphics/dilay: Update 1.8.0 -> 1.9.0 (diff)
New port: science/py-rmf: Library to support reading and writing of Rich Molecular Format files
Notes
Notes: svn path=/head/; revision=473652
Diffstat (limited to 'science/py-rmf/Makefile')
-rw-r--r--science/py-rmf/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/science/py-rmf/Makefile b/science/py-rmf/Makefile
new file mode 100644
index 000000000000..17288a958d41
--- /dev/null
+++ b/science/py-rmf/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= rmf
+DISTVERSION= g20180614
+CATEGORIES= science graphics
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library to support reading and writing of Rich Molecular Format files
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= swig3.0:devel/swig30
+LIB_DEPENDS= libRMF.so:science/rmf
+
+USES= cmake:outsource python shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= salilab
+GH_TAGNAME= f917cf2
+SHEBANG_GLOB= *.py
+USE_PYTHON= flavors
+
+CMAKE_ARGS= -DCMAKE_INSTALL_PYTHONDIR:STRING=${PYTHON_SITELIBDIR}
+BINARY_ALIAS= python=${PYTHON_CMD}
+LDFLAGS+= -lRMF
+
+.include <bsd.port.mk>