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>
This commit is contained in:
Roman Bogorodskiy 2006-08-02 08:12:11 +00:00
parent ea3abebc05
commit df98f1dff5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169437
6 changed files with 80 additions and 0 deletions

View file

@ -484,6 +484,7 @@
SUBDIR += libcii SUBDIR += libcii
SUBDIR += libconfuse SUBDIR += libconfuse
SUBDIR += libcoro SUBDIR += libcoro
SUBDIR += libcoyotl
SUBDIR += libcwd SUBDIR += libcwd
SUBDIR += libdaemon SUBDIR += libdaemon
SUBDIR += libdasm SUBDIR += libdasm

22
devel/libcoyotl/Makefile Normal file
View file

@ -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>

3
devel/libcoyotl/distinfo Normal file
View file

@ -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

View file

@ -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@

19
devel/libcoyotl/pkg-descr Normal file
View file

@ -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

23
devel/libcoyotl/pkg-plist Normal file
View file

@ -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