aboutsummaryrefslogtreecommitdiff
path: root/science/openstructure
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-07-09 19:48:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-07-09 19:48:44 +0000
commit7c930780b68ce0af23e29f65bdf2e50ce365ce5e (patch)
tree38955312d9ed19602c30f60ff0c9903184e461a3 /science/openstructure
parent6bac451c07d73ef0248c1f6933211d59c763f62c (diff)
downloadports-7c930780b68ce0af23e29f65bdf2e50ce365ce5e.tar.gz
ports-7c930780b68ce0af23e29f65bdf2e50ce365ce5e.zip
Notes
Diffstat (limited to 'science/openstructure')
-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