New port: science/vipster: Crystalline and molecular structure visualisation program
This commit is contained in:
@@ -304,6 +304,7 @@
|
||||
SUBDIR += triqs
|
||||
SUBDIR += udunits
|
||||
SUBDIR += v_sim
|
||||
SUBDIR += vipster
|
||||
SUBDIR += vmd
|
||||
SUBDIR += voro++
|
||||
SUBDIR += wannier90
|
||||
|
||||
31
science/vipster/Makefile
Normal file
31
science/vipster/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= vipster
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.14a
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Crystalline and molecular structure visualisation program
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake:outsource compiler:c++17-lang
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= sgsaenger
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS_DEFINE= DESKTOP PYTHON
|
||||
OPTIONS_DEFAULT= DESKTOP
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
DESKTOP_DESC= Build QT-based desktop app
|
||||
DESKTOP_CMAKE_BOOL= DESKTOP
|
||||
DESKTOP_USES= qt:5
|
||||
DESKTOP_USE= QT=core,gui,widgets,buildtools_build,qmake_build
|
||||
|
||||
PYTHON_CMAKE_BOOL= PYTHON
|
||||
PYTHON_BROKEN= Bundles pybind11: https://repology.org/metapackage/pybind11/versions
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
science/vipster/distinfo
Normal file
3
science/vipster/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1545372820
|
||||
SHA256 (sgsaenger-vipster-v1.14a_GH0.tar.gz) = 217164469671f7f52850a56e04772b6c0b83ec3b0ffbb214bc54d9e84bb9daf2
|
||||
SIZE (sgsaenger-vipster-v1.14a_GH0.tar.gz) = 1090234
|
||||
11
science/vipster/files/patch-libvipster_configfile.h
Normal file
11
science/vipster/files/patch-libvipster_configfile.h
Normal file
@@ -0,0 +1,11 @@
|
||||
--- libvipster/configfile.h.orig 2018-12-21 06:15:43 UTC
|
||||
+++ libvipster/configfile.h
|
||||
@@ -27,7 +27,7 @@ bool saveConfig();
|
||||
#ifdef __EMSCRIPTEN__
|
||||
const std::string user_path{}; // not used
|
||||
const std::string user_config{}; // not used
|
||||
-#elif __linux__
|
||||
+#elif __linux__ || defined(__FreeBSD__)
|
||||
const std::string user_path = [](){
|
||||
auto tmp = std::getenv("XDG_CONFIG_HOME");
|
||||
return tmp == nullptr ? std::string{std::getenv("HOME")}+"/.config" : tmp;
|
||||
4
science/vipster/pkg-descr
Normal file
4
science/vipster/pkg-descr
Normal file
@@ -0,0 +1,4 @@
|
||||
vipster is a visualization and editing framework for atomistic simulations.
|
||||
It allows to visualize various molecular structure files.
|
||||
|
||||
WWW: https://sgsaenger.github.io/vipster/
|
||||
43
science/vipster/pkg-plist
Normal file
43
science/vipster/pkg-plist
Normal file
@@ -0,0 +1,43 @@
|
||||
%%DESKTOP%%bin/vipster
|
||||
include/libvipster/atom.h
|
||||
include/libvipster/atomcontainers.h
|
||||
include/libvipster/bond.h
|
||||
include/libvipster/cell.h
|
||||
include/libvipster/configfile.h
|
||||
include/libvipster/crystal.h
|
||||
include/libvipster/data.h
|
||||
include/libvipster/global.h
|
||||
include/libvipster/io.h
|
||||
include/libvipster/io/configs.h
|
||||
include/libvipster/io/cpmdinput/config.h
|
||||
include/libvipster/io/cpmdinput/param.h
|
||||
include/libvipster/io/cpmdinput/plugin.h
|
||||
include/libvipster/io/cube/plugin.h
|
||||
include/libvipster/io/fmt.h
|
||||
include/libvipster/io/lmpinput/config.h
|
||||
include/libvipster/io/lmpinput/plugin.h
|
||||
include/libvipster/io/lmptrajec/plugin.h
|
||||
include/libvipster/io/parameters.h
|
||||
include/libvipster/io/plugin.h
|
||||
include/libvipster/io/pwinput/config.h
|
||||
include/libvipster/io/pwinput/param.h
|
||||
include/libvipster/io/pwinput/plugin.h
|
||||
include/libvipster/io/pwoutput/plugin.h
|
||||
include/libvipster/io/xsf/plugin.h
|
||||
include/libvipster/io/xyz/config.h
|
||||
include/libvipster/io/xyz/plugin.h
|
||||
include/libvipster/kpoints.h
|
||||
include/libvipster/molecule.h
|
||||
include/libvipster/pse.h
|
||||
include/libvipster/settings.h
|
||||
include/libvipster/step.h
|
||||
include/libvipster/stepconst.h
|
||||
include/libvipster/stepmutable.h
|
||||
include/libvipster/stepsel.h
|
||||
include/libvipster/vec.h
|
||||
lib/libvipster.so
|
||||
lib/libvipster.so.1
|
||||
lib/libvipster.so.1.14
|
||||
%%DESKTOP%%share/applications/vipster.desktop
|
||||
%%DESKTOP%%share/icons/hicolor/128x128/apps/vipster.png
|
||||
%%DESKTOP%%share/metainfo/vipster.appdata.xml
|
||||
Reference in New Issue
Block a user