summaryrefslogtreecommitdiffstats
path: root/devel/c2lib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-02-16 11:07:08 +0000
committerijliao <ijliao@FreeBSD.org>2001-02-16 11:07:08 +0000
commit28152c0b4f2bba5dd5a35f6491b06bae389389e4 (patch)
tree68ccae1cd994639b669268be3f49c234f8a723f9 /devel/c2lib
parentd4477dc6974a5deeef5e6d0464e7cfc6c8e9f50c (diff)
downloadFreeBSD-ports-28152c0b4f2bba5dd5a35f6491b06bae389389e4.zip
FreeBSD-ports-28152c0b4f2bba5dd5a35f6491b06bae389389e4.tar.gz
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.
Diffstat (limited to 'devel/c2lib')
-rw-r--r--devel/c2lib/Makefile23
-rw-r--r--devel/c2lib/distinfo1
-rw-r--r--devel/c2lib/files/patch-Makefile.in11
-rw-r--r--devel/c2lib/files/patch-pstring.c10
-rw-r--r--devel/c2lib/files/patch-pstring.h10
-rw-r--r--devel/c2lib/files/patch-test_pstring.c10
-rw-r--r--devel/c2lib/pkg-comment1
-rw-r--r--devel/c2lib/pkg-descr5
-rw-r--r--devel/c2lib/pkg-plist9
9 files changed, 80 insertions, 0 deletions
diff --git a/devel/c2lib/Makefile b/devel/c2lib/Makefile
new file mode 100644
index 0000000..12fcccf
--- /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 <ijliao@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
diff --git a/devel/c2lib/distinfo b/devel/c2lib/distinfo
new file mode 100644
index 0000000..e51d10f
--- /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 0000000..45894d0
--- /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 0000000..27fc632
--- /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 <sys/types.h>
+ #include <regex.h>
+ #endif
+
diff --git a/devel/c2lib/files/patch-pstring.h b/devel/c2lib/files/patch-pstring.h
new file mode 100644
index 0000000..92bd07f
--- /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 <sys/types.h>
+ #include <regex.h>
+
+ #include <pool.h>
diff --git a/devel/c2lib/files/patch-test_pstring.c b/devel/c2lib/files/patch-test_pstring.c
new file mode 100644
index 0000000..e362d04
--- /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 <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
++#include <sys/types.h>
+ #include <regex.h>
+
+ #include "pstring.h"
diff --git a/devel/c2lib/pkg-comment b/devel/c2lib/pkg-comment
new file mode 100644
index 0000000..84cd04e
--- /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 0000000..948a95d
--- /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 0000000..b24c343
--- /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
OpenPOWER on IntegriCloud