summaryrefslogtreecommitdiff
path: root/devel/c2lib
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-02-16 11:07:08 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-02-16 11:07:08 +0000
commit4a5f62750d21fa298140b857926e6784f1ab6a01 (patch)
treed495f48f5d127d08bec1bf018b0db832e48f650e /devel/c2lib
parentprint warning message after install. (diff)
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.
Notes
Notes: svn path=/head/; revision=38401
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 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 <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 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 <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 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 <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 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 <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 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