aboutsummaryrefslogtreecommitdiff
path: root/science/datawarrior
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-08-27 06:15:56 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-08-27 06:15:56 +0000
commit7885c5309b4aa67c009604cccd04cb2a99354906 (patch)
tree23586ca54457db1a4bfe12e303afccd9bfd11362 /science/datawarrior
parent15cc87fbfe3e977261b2734b83e26a25e8060621 (diff)
Notes
Diffstat (limited to 'science/datawarrior')
-rw-r--r--science/datawarrior/Makefile47
-rw-r--r--science/datawarrior/distinfo3
-rw-r--r--science/datawarrior/pkg-descr15
3 files changed, 65 insertions, 0 deletions
diff --git a/science/datawarrior/Makefile b/science/datawarrior/Makefile
new file mode 100644
index 000000000000..c8c8e2dcf513
--- /dev/null
+++ b/science/datawarrior/Makefile
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME= datawarrior
+DISTVERSION= 4.7.2
+CATEGORIES= science java
+MASTER_SITES= https://www.dropbox.com/s/n3sjyh2ets71wo9/${DISTNAME}${EXTRACT_SUFX}?dl=1&dummy=/
+DISTNAME= datawarrior${DISTVERSION:S/.//g}Source
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Chemistry-aware multi-purpose data visualization and analysis program
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/gpl.txt
+
+BUILD_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
+RUN_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
+
+USE_JAVA= yes
+USE_LOCALE= en_US.UTF-8
+NO_ARCH= yes
+
+WRKSRC= ${WRKDIR}/publicSource
+
+do-build:
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./buildDataWarrior
+
+do-install:
+ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+ @${FIND} ${STAGEDIR}${DATADIR} -name "*.java" -delete
+ @cd ${STAGEDIR}${DATADIR} && ${RM} gpl.txt buildDataWarrior
+ @(echo "#!/bin/sh"; \
+ echo ""; \
+ echo "cd ${DATADIR} && sh runDataWarrior"; \
+ ) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ # delete empty directories hierarchically
+ @cd ${STAGEDIR}${DATADIR} && \
+ while [ $$(${FIND} . -type d -empty | wc -l) != 0 ] ; do \
+ ${FIND} . -type d -empty -delete; \
+ done
+
+post-install: # autoplist: a lot of files in DATADIR
+ @cd ${STAGEDIR}${PREFIX} && \
+ ${FIND} ${DATADIR:S/^${PREFIX}\///} -type f >> ${TMPPLIST}
+ @${ECHO} "bin/${PORTNAME}" >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/science/datawarrior/distinfo b/science/datawarrior/distinfo
new file mode 100644
index 000000000000..4f576451c4ed
--- /dev/null
+++ b/science/datawarrior/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535337370
+SHA256 (datawarrior472Source.tar.gz) = eed79e80a36e90aebeb8e90aaa193f1e7213ed5d10175e27952e072e842a114d
+SIZE (datawarrior472Source.tar.gz) = 22392950
diff --git a/science/datawarrior/pkg-descr b/science/datawarrior/pkg-descr
new file mode 100644
index 000000000000..49f259f8149b
--- /dev/null
+++ b/science/datawarrior/pkg-descr
@@ -0,0 +1,15 @@
+DataWarrior is an interactive, chemistry-aware multi-purpose data visualization
+and analysis program. It works on any kind of tabular data assuming rows to
+contain objects or cases and columns to contain associated properties and
+values. DataWarrior provides interactive views to visualize data, to discover
+correlations and to extract hidden knowledge from large data sets. Data filters
+allow focusing on specific data subsets in a dynamic way. Chemical intelligence
+is woven into the program to work with chemical structures as easily as with
+numerical values. Data can be filtered on structural motives, views are
+chemistry aware, molecule properties can be predicted from chemical structures,
+and specialized cheminformatics methods explore the relationship between
+chemical structure and measured properties. DataWarrior supports multiple files
+types and allows merging data from files with data from the clipboard or from
+databases.
+
+WWW: http://www.openmolecules.org/