Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 17:41:17 +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: r539552 - in head/graphics: . qcustomplot-qt5
Message-ID:  <202006181741.05IHfHXZ037674@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Jun 18 17:41:16 2020
New Revision: 539552
URL: https://svnweb.freebsd.org/changeset/ports/539552

Log:
  New port: graphics/qcustomplot-qt5: Qt C++ widget for plotting and data visualization
  
  QCustomPlot draws beautiful plots and graphs from Qt programs.

Added:
  head/graphics/qcustomplot-qt5/
  head/graphics/qcustomplot-qt5/Makefile   (contents, props changed)
  head/graphics/qcustomplot-qt5/distinfo   (contents, props changed)
  head/graphics/qcustomplot-qt5/pkg-descr   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Thu Jun 18 15:52:05 2020	(r539551)
+++ head/graphics/Makefile	Thu Jun 18 17:41:16 2020	(r539552)
@@ -888,6 +888,7 @@
     SUBDIR += py-yaswfp
     SUBDIR += pymorph
     SUBDIR += qcomicbook
+    SUBDIR += qcustomplot-qt5
     SUBDIR += qgis
     SUBDIR += qgis-ltr
     SUBDIR += qiv

Added: head/graphics/qcustomplot-qt5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/qcustomplot-qt5/Makefile	Thu Jun 18 17:41:16 2020	(r539552)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	qcustomplot
+DISTVERSION=	2.0.1
+CATEGORIES=	graphics
+MASTER_SITES=	https://www.qcustomplot.com/release/${PORTVERSION}/
+PKGNAMESUFFIX=	${SUFFIX}
+DISTNAME=	QCustomPlot
+DIST_SUBDIR=	${PORTNAME}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Qt C++ widget for plotting and data visualization
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/GPL.txt
+
+USES=		pkgconfig qt:5
+USE_QT=		core gui widgets printsupport buildtools_build
+USE_LDCONFIG=	yes
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
+
+SUFFIX=		-qt5
+
+PLIST_FILES=	include/qcustomplot.h \
+		lib/libQCustomPlot${SUFFIX}.so
+
+do-build:
+	@cd ${WRKSRC} && \
+		${MOC} qcustomplot.h > qcustomplot_moc.cpp && \
+		${CXX} ${CXXFLAGS} -shared -fPIC \
+			-I${PREFIX}/include \
+			`pkg-config --cflags --libs Qt5Core Qt5Gui Qt5Widgets Qt5PrintSupport` \
+			qcustomplot.cpp \
+			qcustomplot_moc.cpp \
+			-o ${WRKSRC}/libQCustomPlot${SUFFIX}.so \
+			-Wl,-soname,libQCustomPlot${SUFFIX}.so && \
+		${STRIP_CMD} ${WRKSRC}/libQCustomPlot${SUFFIX}.so
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/qcustomplot.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/libQCustomPlot${SUFFIX}.so ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>

Added: head/graphics/qcustomplot-qt5/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/qcustomplot-qt5/distinfo	Thu Jun 18 17:41:16 2020	(r539552)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1592498558
+SHA256 (qcustomplot-2.0.1/QCustomPlot.tar.gz) = f23f08b1294fea4c99b90afbd30fef6a85c294e5a6269164e1ee9f57dca9edfd
+SIZE (qcustomplot-2.0.1/QCustomPlot.tar.gz) = 3448825

Added: head/graphics/qcustomplot-qt5/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/qcustomplot-qt5/pkg-descr	Thu Jun 18 17:41:16 2020	(r539552)
@@ -0,0 +1,7 @@
+QCustomPlot is a Qt C++ widget for plotting and data visualization.
+It has no further dependencies and is fully documented. This plotting
+library focuses on making good looking, publication quality 2D plots,
+graphs and charts, as well as offering high performance for realtime
+visualization applications.
+
+WWW: https://www.qcustomplot.com



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