aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-10 03:48:44 +0800
committeryuri <yuri@FreeBSD.org>2018-07-10 03:48:44 +0800
commit501d7924426a30a44bd19aed604ea9b588f3e223 (patch)
tree38955312d9ed19602c30f60ff0c9903184e461a3 /science
parentbc44d48add2a041d3f94fae52cf6ea907a29a393 (diff)
downloadfreebsd-ports-gnome-501d7924426a30a44bd19aed604ea9b588f3e223.tar.gz
freebsd-ports-gnome-501d7924426a30a44bd19aed604ea9b588f3e223.tar.zst
freebsd-ports-gnome-501d7924426a30a44bd19aed604ea9b588f3e223.zip
science/openstructure: Change MASTER_SITES to project's gitlab tarball URL
Also add bas as runtime dependency
Diffstat (limited to 'science')
-rw-r--r--science/openstructure/Makefile10
-rw-r--r--science/openstructure/distinfo6
2 files changed, 10 insertions, 6 deletions
diff --git a/science/openstructure/Makefile b/science/openstructure/Makefile
index d5dbd451482e..3634d6d59537 100644
--- a/science/openstructure/Makefile
+++ b/science/openstructure/Makefile
@@ -2,7 +2,9 @@
PORTNAME= openstructure
DISTVERSION= 1.7.1
+PORTREVISION= 1
CATEGORIES= science
+MASTER_SITES= https://git.scicore.unibas.ch/schwede/${PORTNAME}/repository/${DISTVERSION}/archive.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Molecular modelling and visualization environment
@@ -16,12 +18,11 @@ LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libpng16.so:graphics/png \
libtiff.so:graphics/tiff \
${PY_BOOST}
-RUN_DEPENDS= ${PYNUMPY}
+RUN_DEPENDS= ${PYNUMPY} \
+ bash:shells/bash
USES= cmake:outsource eigen:3 python pyqt:4 qt:4 shebangfix
SHEBANG_FILES= scripts/dng.in scripts/ost.in scripts/ost_config.in
-USE_GITHUB= yes
-GH_ACCOUNT= yurivict
USE_QT= corelib gui network opengl xml qmake_build moc_build rcc_build uic_build
USE_PYQT= core gui
USE_GL= gl glu
@@ -33,4 +34,7 @@ CMAKE_ARGS= -DPYTHON_INCLUDE_PATH=${PYTHON_INCLUDEDIR} \
-DFREEBSD_BOOST_PYTHON_COMPONENT=python${PYTHON_VER:S/.//} \
-DFREEBSD_PYTHON_LIBRARY=python${PYTHON_VER}
+post-extract:
+ @${MV} ${WRKSRC}-* ${WRKSRC}
+
.include <bsd.port.mk>
diff --git a/science/openstructure/distinfo b/science/openstructure/distinfo
index 190a2e6395a8..7f90ed4a2f5c 100644
--- a/science/openstructure/distinfo
+++ b/science/openstructure/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531090646
-SHA256 (yurivict-openstructure-1.7.1_GH0.tar.gz) = 9a76974ee379f9d2cc37726f58c7660a47ae74482b29f08da97033a74ca98551
-SIZE (yurivict-openstructure-1.7.1_GH0.tar.gz) = 59270686
+TIMESTAMP = 1531159037
+SHA256 (openstructure-1.7.1.tar.gz) = a3715a921e3f992ae66ebdc19e6bcb161292bd83ac1302174ff33dc1fc98db50
+SIZE (openstructure-1.7.1.tar.gz) = 59275493