From 4a5f62750d21fa298140b857926e6784f1ab6a01 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 16 Feb 2001 11:07:08 +0000 Subject: add c2lib c2lib is a library of basic structures and memory allocators for C. It is designed to look similar to C++ STL with many powerful string features borrowed also from Perl. --- devel/c2lib/Makefile | 23 +++++++++++++++++++++++ devel/c2lib/distinfo | 1 + devel/c2lib/files/patch-Makefile.in | 11 +++++++++++ devel/c2lib/files/patch-pstring.c | 10 ++++++++++ devel/c2lib/files/patch-pstring.h | 10 ++++++++++ devel/c2lib/files/patch-test_pstring.c | 10 ++++++++++ devel/c2lib/pkg-comment | 1 + devel/c2lib/pkg-descr | 5 +++++ devel/c2lib/pkg-plist | 9 +++++++++ 9 files changed, 80 insertions(+) create mode 100644 devel/c2lib/Makefile create mode 100644 devel/c2lib/distinfo create mode 100644 devel/c2lib/files/patch-Makefile.in create mode 100644 devel/c2lib/files/patch-pstring.c create mode 100644 devel/c2lib/files/patch-pstring.h create mode 100644 devel/c2lib/files/patch-test_pstring.c create mode 100644 devel/c2lib/pkg-comment create mode 100644 devel/c2lib/pkg-descr create mode 100644 devel/c2lib/pkg-plist (limited to 'devel/c2lib') diff --git a/devel/c2lib/Makefile b/devel/c2lib/Makefile new file mode 100644 index 000000000000..12fcccf5c8e7 --- /dev/null +++ b/devel/c2lib/Makefile @@ -0,0 +1,23 @@ +# ex:ts=8 +# New ports collection makefile for: c2lib +# Date created: Feb 16, 2001 +# Whom: Ying-Chieh Liao +# +# $FreeBSD$ +# + +PORTNAME= c2lib +PORTVERSION= 1.1.7 +CATEGORIES= devel +MASTER_SITES= http://www.annexia.org/freeware/c2lib/ + +MAINTAINER= ijliao@FreeBSD.org + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +USE_GMAKE= yes + +INSTALLS_SHLIB= yes + +.include diff --git a/devel/c2lib/distinfo b/devel/c2lib/distinfo new file mode 100644 index 000000000000..e51d10ffe074 --- /dev/null +++ b/devel/c2lib/distinfo @@ -0,0 +1 @@ +MD5 (c2lib-1.1.7.tar.gz) = c6769228d5d8eaac61285ca84b87399a diff --git a/devel/c2lib/files/patch-Makefile.in b/devel/c2lib/files/patch-Makefile.in new file mode 100644 index 000000000000..45894d0a5833 --- /dev/null +++ b/devel/c2lib/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Feb 16 18:51:26 2001 ++++ Makefile.in Fri Feb 16 18:51:06 2001 +@@ -141,7 +141,7 @@ + DEFS = @DEFS@ -I. -I$(srcdir) -I. + CPPFLAGS = @CPPFLAGS@ + LDFLAGS = @LDFLAGS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lm + libc2_la_LIBADD = + libc2_la_OBJECTS = hash.lo matvec.lo pool.lo pstring.lo vector.lo + PROGRAMS = $(noinst_PROGRAMS) diff --git a/devel/c2lib/files/patch-pstring.c b/devel/c2lib/files/patch-pstring.c new file mode 100644 index 000000000000..27fc632aec5e --- /dev/null +++ b/devel/c2lib/files/patch-pstring.c @@ -0,0 +1,10 @@ +--- pstring.c.orig Fri Feb 16 18:46:50 2001 ++++ pstring.c Fri Feb 16 18:48:10 2001 +@@ -32,6 +32,7 @@ + #endif + + #ifdef HAVE_REGEX_H ++#include + #include + #endif + diff --git a/devel/c2lib/files/patch-pstring.h b/devel/c2lib/files/patch-pstring.h new file mode 100644 index 000000000000..92bd07fa9770 --- /dev/null +++ b/devel/c2lib/files/patch-pstring.h @@ -0,0 +1,10 @@ +--- pstring.h.orig Fri Feb 16 18:46:13 2001 ++++ pstring.h Fri Feb 16 18:45:20 2001 +@@ -21,6 +21,7 @@ + #ifndef PSTRING_H + #define PSTRING_H + ++#include + #include + + #include diff --git a/devel/c2lib/files/patch-test_pstring.c b/devel/c2lib/files/patch-test_pstring.c new file mode 100644 index 000000000000..e362d04ee24d --- /dev/null +++ b/devel/c2lib/files/patch-test_pstring.c @@ -0,0 +1,10 @@ +--- test_pstring.c.orig Fri Feb 16 18:48:56 2001 ++++ test_pstring.c Fri Feb 16 18:49:18 2001 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + #include + + #include "pstring.h" diff --git a/devel/c2lib/pkg-comment b/devel/c2lib/pkg-comment new file mode 100644 index 000000000000..84cd04e7ddef --- /dev/null +++ b/devel/c2lib/pkg-comment @@ -0,0 +1 @@ +c2lib is a library of basic structures and memory allocators for C diff --git a/devel/c2lib/pkg-descr b/devel/c2lib/pkg-descr new file mode 100644 index 000000000000..948a95d3e868 --- /dev/null +++ b/devel/c2lib/pkg-descr @@ -0,0 +1,5 @@ +c2lib is a library of basic structures and memory allocators for C. +It is designed to look similar to C++ STL with many powerful string +features borrowed also from Perl. + +WWW: http://www.annexia.org/freeware/c2lib/ diff --git a/devel/c2lib/pkg-plist b/devel/c2lib/pkg-plist new file mode 100644 index 000000000000..b24c343b9e38 --- /dev/null +++ b/devel/c2lib/pkg-plist @@ -0,0 +1,9 @@ +include/c2lib_version.h +include/hash.h +include/matvec.h +include/pool.h +include/pstring.h +include/vector.h +lib/libc2.a +lib/libc2.so +lib/libc2.so.1 -- cgit v1.2.3