From ed334abe90b390c64ed4e73c2e2f49233e872dcf Mon Sep 17 00:00:00 2001 From: Jason Helfman Date: Tue, 16 Apr 2013 22:46:18 +0000 Subject: [PATCH] - add new port: science/voro++ Voro++ is a software library for carrying out three-dimensional computations of the Voronoi tessellation. A distinguishing feature of the Voro++ library is that it carries out cell-based calculations, computing the Voronoi cell for each particle individually. It is particularly well-suited for applications that rely on cell-based statistics, where features of Voronoi cells (eg. volume, centroid, number of faces) can be used to analyze a system of particles. WWW: http://math.lbl.gov/voro++/ PR: 177678 Submitted by: jwbacon@tds.net Feature safe: yes --- science/Makefile | 1 + science/voro++/Makefile | 25 +++++++++++++++++++++++++ science/voro++/distinfo | 2 ++ science/voro++/pkg-descr | 9 +++++++++ science/voro++/pkg-plist | 17 +++++++++++++++++ 5 files changed, 54 insertions(+) create mode 100644 science/voro++/Makefile create mode 100644 science/voro++/distinfo create mode 100644 science/voro++/pkg-descr create mode 100644 science/voro++/pkg-plist diff --git a/science/Makefile b/science/Makefile index 63031f98418c..20f8311c793b 100644 --- a/science/Makefile +++ b/science/Makefile @@ -193,6 +193,7 @@ SUBDIR += v_sim SUBDIR += veusz SUBDIR += vmd + SUBDIR += voro++ SUBDIR += x11iraf SUBDIR += xmakemol SUBDIR += xmds diff --git a/science/voro++/Makefile b/science/voro++/Makefile new file mode 100644 index 000000000000..f1b09131b20c --- /dev/null +++ b/science/voro++/Makefile @@ -0,0 +1,25 @@ +# Created by: Jason Bacon +# $FreeBSD$ + +PORTNAME= voro++ +PORTVERSION= 0.4.5 +CATEGORIES= science +MASTER_SITES= http://math.lbl.gov/voro++/download/dir/ + +MAINTAINER= jwbacon@tds.net +COMMENT= Three-dimensional computations of the Voronoi tessellation + +LICENSE= BSD + +USE_GMAKE= yes + +MAN1= voro++.1 + +post-patch-script: + ${REINPLACE_CMD} \ + -e 's|CC=|CC?=|g' \ + -e 's|CFLAGS=|CFLAGS?=|g' \ + -e "s|/usr/local|${PREFIX}|g" \ + ${WRKSRC}/config.mk + +.include diff --git a/science/voro++/distinfo b/science/voro++/distinfo new file mode 100644 index 000000000000..284e76c785ab --- /dev/null +++ b/science/voro++/distinfo @@ -0,0 +1,2 @@ +SHA256 (voro++-0.4.5.tar.gz) = 9e67e2392ae027cf51d3487038848dc980c6c3e86f1447053efac9309bcee5f5 +SIZE (voro++-0.4.5.tar.gz) = 737883 diff --git a/science/voro++/pkg-descr b/science/voro++/pkg-descr new file mode 100644 index 000000000000..85c4e6c242b2 --- /dev/null +++ b/science/voro++/pkg-descr @@ -0,0 +1,9 @@ +Voro++ is a software library for carrying out three-dimensional computations +of the Voronoi tessellation. A distinguishing feature of the Voro++ library +is that it carries out cell-based calculations, computing the Voronoi cell +for each particle individually. It is particularly well-suited for +applications that rely on cell-based statistics, where features of Voronoi +cells (eg. volume, centroid, number of faces) can be used to analyze a +system of particles. + +WWW: http://math.lbl.gov/voro++/ diff --git a/science/voro++/pkg-plist b/science/voro++/pkg-plist new file mode 100644 index 000000000000..86c5bd30790b --- /dev/null +++ b/science/voro++/pkg-plist @@ -0,0 +1,17 @@ +bin/voro++ +include/voro++/c_loops.hh +include/voro++/cell.hh +include/voro++/common.hh +include/voro++/config.hh +include/voro++/container.hh +include/voro++/container_prd.hh +include/voro++/pre_container.hh +include/voro++/rad_option.hh +include/voro++/unitcell.hh +include/voro++/v_base.hh +include/voro++/v_compute.hh +include/voro++/voro++.hh +include/voro++/wall.hh +include/voro++/worklist.hh +lib/libvoro++.a +@dirrm include/voro++