aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libcoyotl
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2006-08-02 16:12:11 +0800
committernovel <novel@FreeBSD.org>2006-08-02 16:12:11 +0800
commit4fd36cfec57c414a4cab314f60f3e8fa68b4e007 (patch)
tree5384941667b9dda647379493fc8340beadeb7963 /devel/libcoyotl
parentb21e97856787df3a0bb172321e0dc6d6dda67b9c (diff)
downloadfreebsd-ports-graphics-4fd36cfec57c414a4cab314f60f3e8fa68b4e007.tar.gz
freebsd-ports-graphics-4fd36cfec57c414a4cab314f60f3e8fa68b4e007.tar.zst
freebsd-ports-graphics-4fd36cfec57c414a4cab314f60f3e8fa68b4e007.zip
The Coyotl library collects several C++ tools that have proven useful
in many of my programs, but which aren't "big enough" to warrant an individual library. Key features of Coyotl include: -- A polymorphic collection of the best psuedorandom number generators, including the Mersenne Twister and Marsaglia's favorites. -- Utilities for floating-point numbers, including additional functions for trigonometry, least common multiple, greatest common denominator, rounding, and other purposes. -- A simple cross-platform command-line parser. -- A framework for generating random rectangular mazes. -- A template for fixed-point math based on different integer sizes and decimal point locations. -- Templatized sorting utilities (designed before Std. C++'s <algorithms>, but still useful) -- Validation tools for "Design by Contract" programming. WWW: http://www.coyotegulch.com/products/libcoyotl/index.html PR: ports/101209 Submitted by: trasz <trasz at pin.if.uz.zgora.pl>
Diffstat (limited to 'devel/libcoyotl')
-rw-r--r--devel/libcoyotl/Makefile22
-rw-r--r--devel/libcoyotl/distinfo3
-rw-r--r--devel/libcoyotl/files/patch-test-Makefile.in12
-rw-r--r--devel/libcoyotl/pkg-descr19
-rw-r--r--devel/libcoyotl/pkg-plist23
5 files changed, 79 insertions, 0 deletions
diff --git a/devel/libcoyotl/Makefile b/devel/libcoyotl/Makefile
new file mode 100644
index 00000000000..607769a1d2d
--- /dev/null
+++ b/devel/libcoyotl/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: libcoyotl
+# Date created: 2006-08-01
+# Whom: trasz <trasz@pin.if.uz.zgora.pl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libcoyotl
+PORTVERSION= 3.1.0
+CATEGORIES= devel
+MASTER_SITES= http://www.coyotegulch.com/distfiles/
+
+MAINTAINER= trasz@pin.if.uz.zgora.pl
+COMMENT= Collection of useful C++ classes
+
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= CPPFLAGS=-I${PREFIX}/include/ LDFLAGS=-L${PREFIX}/lib/
+
+.include <bsd.port.mk>
diff --git a/devel/libcoyotl/distinfo b/devel/libcoyotl/distinfo
new file mode 100644
index 00000000000..65eb622e697
--- /dev/null
+++ b/devel/libcoyotl/distinfo
@@ -0,0 +1,3 @@
+MD5 (libcoyotl-3.1.0.tar.gz) = 5c1d9cfce494f123f52c399b39925bdb
+SHA256 (libcoyotl-3.1.0.tar.gz) = 540cb2e131cc345f94eaa1a7682532e200b57efd6b6a5e2d9e68aa7819f63860
+SIZE (libcoyotl-3.1.0.tar.gz) = 346384
diff --git a/devel/libcoyotl/files/patch-test-Makefile.in b/devel/libcoyotl/files/patch-test-Makefile.in
new file mode 100644
index 00000000000..73dcd8e3fc1
--- /dev/null
+++ b/devel/libcoyotl/files/patch-test-Makefile.in
@@ -0,0 +1,12 @@
+diff -urN test.orig/Makefile.in test/Makefile.in
+--- test.orig/Makefile.in Tue Aug 1 18:01:32 2006
++++ test/Makefile.in Tue Aug 1 18:01:44 2006
+@@ -112,7 +112,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = -L../libcoyotl -lrt -lpng -lcoyotl
++LIBS = -L../libcoyotl -lpng -lcoyotl
+ LIBTOOL = @LIBTOOL@
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
diff --git a/devel/libcoyotl/pkg-descr b/devel/libcoyotl/pkg-descr
new file mode 100644
index 00000000000..103f6f62c28
--- /dev/null
+++ b/devel/libcoyotl/pkg-descr
@@ -0,0 +1,19 @@
+The Coyotl library collects several C++ tools that have proven useful
+in many of my programs, but which aren't "big enough" to warrant
+an individual library.
+
+Key features of Coyotl include:
+ -- A polymorphic collection of the best psuedorandom number generators,
+ including the Mersenne Twister and Marsaglia's favorites.
+ -- Utilities for floating-point numbers, including additional functions
+ for trigonometry, least common multiple, greatest common denominator,
+ rounding, and other purposes.
+ -- A simple cross-platform command-line parser.
+ -- A framework for generating random rectangular mazes.
+ -- A template for fixed-point math based on different integer sizes
+ and decimal point locations.
+ -- Templatized sorting utilities (designed before Std. C++'s <algorithms>,
+ but still useful)
+ -- Validation tools for "Design by Contract" programming.
+
+WWW: http://www.coyotegulch.com/products/libcoyotl/index.html
diff --git a/devel/libcoyotl/pkg-plist b/devel/libcoyotl/pkg-plist
new file mode 100644
index 00000000000..b097b3dfa2e
--- /dev/null
+++ b/devel/libcoyotl/pkg-plist
@@ -0,0 +1,23 @@
+lib/libcoyotl.so
+lib/libcoyotl-3.1.so
+lib/libcoyotl-3.1.so.4
+lib/libcoyotl.la
+lib/libcoyotl.a
+include/libcoyotl/array.h
+include/libcoyotl/cmwc4096.h
+include/libcoyotl/command_line.h
+include/libcoyotl/crccalc.h
+include/libcoyotl/kissrng.h
+include/libcoyotl/maze.h
+include/libcoyotl/maze_recursive.h
+include/libcoyotl/maze_renderer.h
+include/libcoyotl/mtwister.h
+include/libcoyotl/mwc1038.h
+include/libcoyotl/mwc256.h
+include/libcoyotl/prng.h
+include/libcoyotl/realutil.h
+include/libcoyotl/sortutil.h
+include/libcoyotl/validator.h
+bin/test_prng
+bin/test_maze
+@dirrm include/libcoyotl