summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-09-18 23:36:00 +0000
committerkamil <kamil@pkgsrc.org>2016-09-18 23:36:00 +0000
commit1d6c82dda0dede09ddf6078598bcdd967322c18f (patch)
tree09626144131bd01be3db9119b57ab9af81ce2437 /graphics
parentc95b8153b405605dc8a181c09bcd221766b7ad77 (diff)
downloadpkgsrc-1d6c82dda0dede09ddf6078598bcdd967322c18f.tar.gz
Import adaptagrams commit 0503f7524f as graphics/adaptagrams v. 0.20160901
Adaptagrams is a library of tools and reusable code for adaptive diagramming applications, for example: drawing tools, automated document and diagram layout, smart presentation software, graph drawing, chart layout, etc. Currently, the Adaptagrams repository includes four cross-platform C++ libraries, These libraries are collectively known as cola (Constraint Layout): * libvpsc - a solver for the Variable Placement with Separation Constraints problem. * libcola - a library for constraint graph layout. * libavoid - a library providing high-quality object-avoiding polyline and orthogonalconnector routing for use in interactive diagram editors. * libtopology - a library containing extensions to libcola to support topology preserving constraint-based layout.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/adaptagrams/DESCR18
-rw-r--r--graphics/adaptagrams/Makefile28
-rw-r--r--graphics/adaptagrams/PLIST65
-rw-r--r--graphics/adaptagrams/buildlink3.mk12
-rw-r--r--graphics/adaptagrams/distinfo6
5 files changed, 129 insertions, 0 deletions
diff --git a/graphics/adaptagrams/DESCR b/graphics/adaptagrams/DESCR
new file mode 100644
index 00000000000..70a9205d68e
--- /dev/null
+++ b/graphics/adaptagrams/DESCR
@@ -0,0 +1,18 @@
+Adaptagrams is a library of tools and reusable code for adaptive diagramming
+applications, for example: drawing tools, automated document and diagram
+layout, smart presentation software, graph drawing, chart layout, etc.
+
+Currently, the Adaptagrams repository includes four cross-platform C++
+libraries, These libraries are collectively known as cola (Constraint Layout):
+
+ * libvpsc - a solver for the Variable Placement with Separation Constraints
+ problem.
+
+ * libcola - a library for constraint graph layout.
+
+ * libavoid - a library providing high-quality object-avoiding polyline and
+ orthogonalconnector routing for use in interactive diagram
+ editors.
+
+ * libtopology - a library containing extensions to libcola to support topology
+ preserving constraint-based layout.
diff --git a/graphics/adaptagrams/Makefile b/graphics/adaptagrams/Makefile
new file mode 100644
index 00000000000..03344c7b4d8
--- /dev/null
+++ b/graphics/adaptagrams/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2016/09/18 23:36:00 kamil Exp $
+
+GITHUB_PROJECT= adaptagrams
+GITHUB_TAG= 0503f7524f5b2aa96b356dfdd817f9f9869d2b20
+# Date of the latest git commit
+DISTNAME= adaptagrams-0.20160901
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=mjwybrow/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.adaptagrams.org/
+COMMENT= Tools for adaptive diagrams
+LICENSE= gnu-lgpl-v2.1
+
+WRKSRC= ${WRKDIR}/adaptagrams-${GITHUB_TAG}/cola
+
+USE_TOOLS+= aclocal autoconf autoheader automake autoreconf
+USE_LANGUAGES= c c++
+
+GNU_CONFIGURE= yes
+
+TEST_TARGET= check
+
+pre-configure:
+# ./autogen.sh runs ./configure && make && make check and sets questionable shebang
+ ${RUN} cd ${WRKSRC} && ${MKDIR} -p m4 && autoreconf -fiv
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/adaptagrams/PLIST b/graphics/adaptagrams/PLIST
new file mode 100644
index 00000000000..edcee17aeeb
--- /dev/null
+++ b/graphics/adaptagrams/PLIST
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST,v 1.1 2016/09/18 23:36:00 kamil Exp $
+include/libavoid/actioninfo.h
+include/libavoid/assertions.h
+include/libavoid/connectionpin.h
+include/libavoid/connector.h
+include/libavoid/connend.h
+include/libavoid/debug.h
+include/libavoid/debughandler.h
+include/libavoid/dllexport.h
+include/libavoid/geometry.h
+include/libavoid/geomtypes.h
+include/libavoid/graph.h
+include/libavoid/hyperedge.h
+include/libavoid/hyperedgeimprover.h
+include/libavoid/hyperedgetree.h
+include/libavoid/junction.h
+include/libavoid/libavoid.h
+include/libavoid/makepath.h
+include/libavoid/mtst.h
+include/libavoid/obstacle.h
+include/libavoid/orthogonal.h
+include/libavoid/router.h
+include/libavoid/scanline.h
+include/libavoid/shape.h
+include/libavoid/timer.h
+include/libavoid/vertices.h
+include/libavoid/viscluster.h
+include/libavoid/visibility.h
+include/libavoid/vpsc.h
+include/libcola/box.h
+include/libcola/cc_clustercontainmentconstraints.h
+include/libcola/cc_nonoverlapconstraints.h
+include/libcola/cluster.h
+include/libcola/cola.h
+include/libcola/commondefs.h
+include/libcola/compound_constraints.h
+include/libcola/exceptions.h
+include/libcola/gradient_projection.h
+include/libcola/output_svg.h
+include/libcola/pseudorandom.h
+include/libcola/shapepair.h
+include/libcola/sparse_matrix.h
+include/libcola/straightener.h
+include/libcola/unused.h
+include/libtopology/cola_topology_addon.h
+include/libtopology/orthogonal_topology.h
+include/libtopology/topology_constraints.h
+include/libtopology/topology_graph.h
+include/libtopology/topology_log.h
+include/libtopology/util.h
+include/libvpsc/assertions.h
+include/libvpsc/block.h
+include/libvpsc/constraint.h
+include/libvpsc/exceptions.h
+include/libvpsc/rectangle.h
+include/libvpsc/solve_VPSC.h
+include/libvpsc/variable.h
+lib/libavoid.la
+lib/libcola.la
+lib/libtopology.la
+lib/libvpsc.la
+lib/pkgconfig/libavoid.pc
+lib/pkgconfig/libcola.pc
+lib/pkgconfig/libtopology.pc
+lib/pkgconfig/libvpsc.pc
diff --git a/graphics/adaptagrams/buildlink3.mk b/graphics/adaptagrams/buildlink3.mk
new file mode 100644
index 00000000000..33c1cb9b97c
--- /dev/null
+++ b/graphics/adaptagrams/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/09/18 23:36:00 kamil Exp $
+
+BUILDLINK_TREE+= adaptagrams
+
+.if !defined(ADAPTAGRAMS_BUILDLINK3_MK)
+ADAPTAGRAMS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.adaptagrams+= adaptagrams>=0.20160901
+BUILDLINK_PKGSRCDIR.adaptagrams?= ../../graphics/adaptagrams
+.endif # ADAPTAGRAMS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -adaptagrams
diff --git a/graphics/adaptagrams/distinfo b/graphics/adaptagrams/distinfo
new file mode 100644
index 00000000000..0b95477b92e
--- /dev/null
+++ b/graphics/adaptagrams/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/09/18 23:36:00 kamil Exp $
+
+SHA1 (adaptagrams-0.20160901-0503f7524f5b2aa96b356dfdd817f9f9869d2b20.tar.gz) = 09dd76a7f47693a737e15a7d7e18a5cd84a3dbd4
+RMD160 (adaptagrams-0.20160901-0503f7524f5b2aa96b356dfdd817f9f9869d2b20.tar.gz) = e46ab6618de9bd3bab2fe81573be7feefca9f09d
+SHA512 (adaptagrams-0.20160901-0503f7524f5b2aa96b356dfdd817f9f9869d2b20.tar.gz) = 6c6825651a9afcde7749689521eb2c83ebb45c97d905a4de1655812189682443f8f62e7d1cbf4d03ad3e0429497b6f963e09180d0db96b471e6e4151bc48b854
+Size (adaptagrams-0.20160901-0503f7524f5b2aa96b356dfdd817f9f9869d2b20.tar.gz) = 1513181 bytes