From c3c3d17a5cf4c6f32567832a0e802540804ca41b Mon Sep 17 00:00:00 2001 From: Scott Mace Date: Mon, 15 Apr 2002 18:38:18 +0000 Subject: [PATCH] Add libredblack 1.1.0 Library that provides the red-black balanced tree algorithm --- devel/Makefile | 1 + devel/libredblack/Makefile | 22 ++++++++++++++++++++++ devel/libredblack/distinfo | 1 + devel/libredblack/files/patch-aa | 25 +++++++++++++++++++++++++ devel/libredblack/pkg-comment | 1 + devel/libredblack/pkg-descr | 6 ++++++ devel/libredblack/pkg-plist | 4 ++++ 7 files changed, 60 insertions(+) create mode 100644 devel/libredblack/Makefile create mode 100644 devel/libredblack/distinfo create mode 100644 devel/libredblack/files/patch-aa create mode 100644 devel/libredblack/pkg-comment create mode 100644 devel/libredblack/pkg-descr create mode 100644 devel/libredblack/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index e6ac0dc40a02..f80b40e6fa2b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -262,6 +262,7 @@ SUBDIR += libol SUBDIR += libole2 SUBDIR += liboop + SUBDIR += libredblack SUBDIR += libshhmsg SUBDIR += libshhopt SUBDIR += libsigc++ diff --git a/devel/libredblack/Makefile b/devel/libredblack/Makefile new file mode 100644 index 000000000000..ade1094ecd2a --- /dev/null +++ b/devel/libredblack/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: libredblack +# Date created: 15 April 2002 +# Whom: smace@freebsd.org +# +# $FreeBSD$ +# + +PORTNAME= libredblack +PORTVERSION= 1.1.0 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= smace@freebsd.org + +MAN3= rbcloselist.3 rbdelete.3 rbdestroy.3 rbfind.3 rbinit.3 rblookup.3 \ + rbopenlist.3 rbreadlist.3 rbsearch.3 rbwalk.3 + +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes + +.include diff --git a/devel/libredblack/distinfo b/devel/libredblack/distinfo new file mode 100644 index 000000000000..f975572d12bc --- /dev/null +++ b/devel/libredblack/distinfo @@ -0,0 +1 @@ +MD5 (libredblack-1.1.0.tar.gz) = e9f6c5a598afe99041d476c2c839fea1 diff --git a/devel/libredblack/files/patch-aa b/devel/libredblack/files/patch-aa new file mode 100644 index 000000000000..73f045474004 --- /dev/null +++ b/devel/libredblack/files/patch-aa @@ -0,0 +1,25 @@ +--- ltmain.sh.orig Fri Mar 3 10:50:28 2000 ++++ ltmain.sh Mon Apr 15 12:52:12 2002 +@@ -1795,6 +1795,9 @@ + *-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems. + deplibs="$deplibs -lc" +@@ -3348,10 +3351,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/devel/libredblack/pkg-comment b/devel/libredblack/pkg-comment new file mode 100644 index 000000000000..6ca952db405e --- /dev/null +++ b/devel/libredblack/pkg-comment @@ -0,0 +1 @@ +Library that provides the red-black balanced tree algorithm diff --git a/devel/libredblack/pkg-descr b/devel/libredblack/pkg-descr new file mode 100644 index 000000000000..d11e860c9295 --- /dev/null +++ b/devel/libredblack/pkg-descr @@ -0,0 +1,6 @@ +This a small library that provides the red-black balanced tree algorithm + + +23 May 2000 +Damian Ivereigh +Cisco Systems Inc diff --git a/devel/libredblack/pkg-plist b/devel/libredblack/pkg-plist new file mode 100644 index 000000000000..465c21d8c7c3 --- /dev/null +++ b/devel/libredblack/pkg-plist @@ -0,0 +1,4 @@ +lib/libredblack.a +lib/libredblack.so +lib/libredblack.so.2 +include/redblack.h