Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 05:26:56 +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: r472845 - in head/graphics: . engauge-digitizer
Message-ID:  <201806200526.w5K5Qu3U084329@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Jun 20 05:26:56 2018
New Revision: 472845
URL: https://svnweb.freebsd.org/changeset/ports/472845

Log:
  New port: graphics/engauge-digitizer: Extract data points from images of graphs

Added:
  head/graphics/engauge-digitizer/
  head/graphics/engauge-digitizer/Makefile   (contents, props changed)
  head/graphics/engauge-digitizer/distinfo   (contents, props changed)
  head/graphics/engauge-digitizer/pkg-descr   (contents, props changed)
  head/graphics/engauge-digitizer/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Wed Jun 20 04:12:17 2018	(r472844)
+++ head/graphics/Makefile	Wed Jun 20 05:26:56 2018	(r472845)
@@ -161,6 +161,7 @@
     SUBDIR += electrix
     SUBDIR += embree
     SUBDIR += enblend
+    SUBDIR += engauge-digitizer
     SUBDIR += entangle
     SUBDIR += eog
     SUBDIR += eog-plugins

Added: head/graphics/engauge-digitizer/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/engauge-digitizer/Makefile	Wed Jun 20 05:26:56 2018	(r472845)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	engauge-digitizer
+DISTVERSIONPREFIX=	v
+DISTVERSION=	10.7.6-2
+DISTVERSIONSUFFIX=	-g7ce911c2
+CATEGORIES=	graphics math science
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Extract data points from images of graphs
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libfftw3.so:math/fftw3 \
+		liblog4cpp.so:devel/log4cpp \
+		libopenjp2.so:graphics/openjpeg \
+		libpoppler-qt5.so:graphics/poppler-qt5
+
+USES=		desktop-file-utils qmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	markummitchell
+USE_QT5=	core gui help printsupport sql xml widgets buildtools_build linguist_build
+USE_GL=		gl
+CONFIGURE_ENV=	OPENJPEG_INCLUDE=${PREFIX}/include/openjpeg-2.3 OPENJPEG_LIB=${PREFIX}/lib \
+		POPPLER_INCLUDE=${PREFIX}/include/poppler/qt5 POPPLER_LIB=${PREFIX}/lib
+QMAKE_ARGS=	"CONFIG+=jpeg2000 pdf"
+
+OPTIONS_DEFINE=	DOCS
+
+post-build:
+	@cd ${WRKSRC}/help && ./build
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/engauge ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${GZIP_CMD} < ${WRKSRC}/src/img/${PORTNAME}.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svgz
+	${INSTALL_DATA} ${WRKSRC}/dev/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/bin/documentation/engauge.qch ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/bin/documentation/engauge.qhc ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/graphics/engauge-digitizer/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/engauge-digitizer/distinfo	Wed Jun 20 05:26:56 2018	(r472845)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529465389
+SHA256 (markummitchell-engauge-digitizer-v10.7.6-2-g7ce911c2_GH0.tar.gz) = ce1ca9a91a4505adf91150c2abb037d1642558b1b02b2035a4e623dad7867647
+SIZE (markummitchell-engauge-digitizer-v10.7.6-2-g7ce911c2_GH0.tar.gz) = 68504322

Added: head/graphics/engauge-digitizer/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/engauge-digitizer/pkg-descr	Wed Jun 20 05:26:56 2018	(r472845)
@@ -0,0 +1,9 @@
+The Engauge Digitizer tool accepts image files (like PNG, JPEG and TIFF)
+containing graphs, and recovers the data points from those graphs. The resulting
+data points are usually used as input to other software applications.
+Conceptually, Engauge Digitizer is the opposite of a graphing tool that converts
+data points to graphs. The process is shown below - an image file is imported,
+digitized within Engauge, and exported as a table of numeric data to a text
+file. Work can be saved into an Engauge DIG file.
+
+WWW: http://markummitchell.github.io/engauge-digitizer/

Added: head/graphics/engauge-digitizer/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/engauge-digitizer/pkg-plist	Wed Jun 20 05:26:56 2018	(r472845)
@@ -0,0 +1,5 @@
+bin/engauge
+share/icons/hicolor/scalable/apps/engauge-digitizer.svgz
+share/applications/engauge-digitizer.desktop
+%%PORTDOCS%%%%DOCSDIR%%/engauge.qch
+%%PORTDOCS%%%%DOCSDIR%%/engauge.qhc



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