summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-09-19 18:00:54 +0000
committerdrochner <drochner@pkgsrc.org>2007-09-19 18:00:54 +0000
commitb8d694fce6cf303678a981b719575aeed758f5c6 (patch)
treea9090e9ab981fd8cf057de3d84be8ec8223cdd24 /math
parent7f5daa589489e82c381f151229ce698072365876 (diff)
downloadpkgsrc-b8d694fce6cf303678a981b719575aeed758f5c6.tar.gz
import qhull-2003.1, a program/library to calculate convex hulls
(can be used by octave and others)
Diffstat (limited to 'math')
-rw-r--r--math/qhull/DESCR5
-rw-r--r--math/qhull/Makefile17
-rw-r--r--math/qhull/PLIST78
-rw-r--r--math/qhull/buildlink3.mk19
-rw-r--r--math/qhull/distinfo5
5 files changed, 124 insertions, 0 deletions
diff --git a/math/qhull/DESCR b/math/qhull/DESCR
new file mode 100644
index 00000000000..7e74358e567
--- /dev/null
+++ b/math/qhull/DESCR
@@ -0,0 +1,5 @@
+Qhull is a general dimension convex hull program that reads a set
+of points from stdin, and outputs the smallest convex set that contains
+the points to stdout. It also generates Delaunay triangulations, Voronoi
+diagrams, furthest-site Voronoi diagrams, and halfspace intersections
+about a point.
diff --git a/math/qhull/Makefile b/math/qhull/Makefile
new file mode 100644
index 00000000000..2352edeeb75
--- /dev/null
+++ b/math/qhull/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/19 18:00:54 drochner Exp $
+#
+
+DISTNAME= qhull-2003.1
+CATEGORIES= math
+MASTER_SITES= http://www.qhull.org/download/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.qhull.org/
+COMMENT= Computing the convex hull
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+USE_LIBTOOL= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/qhull/PLIST b/math/qhull/PLIST
new file mode 100644
index 00000000000..c22d7060617
--- /dev/null
+++ b/math/qhull/PLIST
@@ -0,0 +1,78 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/19 18:00:54 drochner Exp $
+bin/qconvex
+bin/qdelaunay
+bin/qhalf
+bin/qhull
+bin/qvoronoi
+bin/rbox
+include/qhull/geom.h
+include/qhull/io.h
+include/qhull/mem.h
+include/qhull/merge.h
+include/qhull/poly.h
+include/qhull/qhull.h
+include/qhull/qhull_a.h
+include/qhull/qset.h
+include/qhull/stat.h
+include/qhull/user.h
+lib/libqhull.la
+man/man1/qhull.1
+man/man1/rbox.1
+share/doc/qhull/Announce.txt
+share/doc/qhull/COPYING.txt
+share/doc/qhull/Changes.txt
+share/doc/qhull/README.txt
+share/doc/qhull/REGISTER.txt
+share/doc/qhull/examples/Makefile.txt
+share/doc/qhull/examples/Mborland
+share/doc/qhull/examples/Qhull-go.bat
+share/doc/qhull/examples/q_eg
+share/doc/qhull/examples/q_egtest
+share/doc/qhull/examples/q_test
+share/doc/qhull/examples/q_test.bat
+share/doc/qhull/examples/qhull_interface.cpp
+share/doc/qhull/examples/user_eg.c
+share/doc/qhull/examples/user_eg2.c
+share/doc/qhull/html/index.htm
+share/doc/qhull/html/qconvex.htm
+share/doc/qhull/html/qdelau_f.htm
+share/doc/qhull/html/qdelaun.htm
+share/doc/qhull/html/qh--4d.gif
+share/doc/qhull/html/qh--cone.gif
+share/doc/qhull/html/qh--dt.gif
+share/doc/qhull/html/qh--geom.gif
+share/doc/qhull/html/qh--half.gif
+share/doc/qhull/html/qh--rand.gif
+share/doc/qhull/html/qh-eg.htm
+share/doc/qhull/html/qh-faq.htm
+share/doc/qhull/html/qh-get.htm
+share/doc/qhull/html/qh-impre.htm
+share/doc/qhull/html/qh-in.htm
+share/doc/qhull/html/qh-optc.htm
+share/doc/qhull/html/qh-optf.htm
+share/doc/qhull/html/qh-optg.htm
+share/doc/qhull/html/qh-opto.htm
+share/doc/qhull/html/qh-optp.htm
+share/doc/qhull/html/qh-optq.htm
+share/doc/qhull/html/qh-optt.htm
+share/doc/qhull/html/qh-quick.htm
+share/doc/qhull/html/qhalf.htm
+share/doc/qhull/html/qhull.htm
+share/doc/qhull/html/qvoron_f.htm
+share/doc/qhull/html/qvoronoi.htm
+share/doc/qhull/html/rbox.htm
+share/doc/qhull/index.htm
+share/doc/qhull/qh-geom.htm
+share/doc/qhull/qh-globa.htm
+share/doc/qhull/qh-io.htm
+share/doc/qhull/qh-mem.htm
+share/doc/qhull/qh-merge.htm
+share/doc/qhull/qh-poly.htm
+share/doc/qhull/qh-qhull.htm
+share/doc/qhull/qh-set.htm
+share/doc/qhull/qh-stat.htm
+share/doc/qhull/qh-user.htm
+@dirrm share/doc/qhull/html
+@dirrm share/doc/qhull/examples
+@dirrm share/doc/qhull
+@dirrm include/qhull
diff --git a/math/qhull/buildlink3.mk b/math/qhull/buildlink3.mk
new file mode 100644
index 00000000000..8f404b2e8f8
--- /dev/null
+++ b/math/qhull/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/19 18:00:54 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QHULL_BUILDLINK3_MK:= ${QHULL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= qhull
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqhull}
+BUILDLINK_PACKAGES+= qhull
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qhull
+
+.if ${QHULL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.qhull+= qhull>=2003.1
+BUILDLINK_PKGSRCDIR.qhull?= ../../math/qhull
+.endif # QHULL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/math/qhull/distinfo b/math/qhull/distinfo
new file mode 100644
index 00000000000..6a669a8f4d6
--- /dev/null
+++ b/math/qhull/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/19 18:00:54 drochner Exp $
+
+SHA1 (qhull-2003.1.tar.gz) = 2e783b5e45cecc053b1dc08c682b871dfbb59dd2
+RMD160 (qhull-2003.1.tar.gz) = 6c82ad27601f9aa12498e3bc08f06c7b777a5f4d
+Size (qhull-2003.1.tar.gz) = 724313 bytes