Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 06:15:57 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478179 - in head/science: . datawarrior
Message-ID:  <201808270615.w7R6FvVx070619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Aug 27 06:15:56 2018
New Revision: 478179
URL: https://svnweb.freebsd.org/changeset/ports/478179

Log:
  New port: science/datawarrior: Chemistry-aware multi-purpose data visualization and analysis program

Added:
  head/science/datawarrior/
  head/science/datawarrior/Makefile   (contents, props changed)
  head/science/datawarrior/distinfo   (contents, props changed)
  head/science/datawarrior/pkg-descr   (contents, props changed)
Modified:
  head/science/Makefile

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Mon Aug 27 06:14:21 2018	(r478178)
+++ head/science/Makefile	Mon Aug 27 06:15:56 2018	(r478179)
@@ -49,6 +49,7 @@
     SUBDIR += colt
     SUBDIR += coot
     SUBDIR += crf++
+    SUBDIR += datawarrior
     SUBDIR += dcl
     SUBDIR += devisor
     SUBDIR += dft_tools

Added: head/science/datawarrior/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/datawarrior/Makefile	Mon Aug 27 06:15:56 2018	(r478179)
@@ -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>

Added: head/science/datawarrior/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/datawarrior/distinfo	Mon Aug 27 06:15:56 2018	(r478179)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1535337370
+SHA256 (datawarrior472Source.tar.gz) = eed79e80a36e90aebeb8e90aaa193f1e7213ed5d10175e27952e072e842a114d
+SIZE (datawarrior472Source.tar.gz) = 22392950

Added: head/science/datawarrior/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/datawarrior/pkg-descr	Mon Aug 27 06:15:56 2018	(r478179)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808270615.w7R6FvVx070619>