aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-06 01:47:05 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-06 01:47:05 +0800
commit973e0b474d659a5c3f149f06b47f476121991017 (patch)
tree3a49a01e36e798b4b551fc9d0ce65fd91a59440b /devel
parentb488f63dc0b0968810e1d9ef6142e409484883ef (diff)
downloadfreebsd-ports-gnome-973e0b474d659a5c3f149f06b47f476121991017.tar.gz
freebsd-ports-gnome-973e0b474d659a5c3f149f06b47f476121991017.tar.zst
freebsd-ports-gnome-973e0b474d659a5c3f149f06b47f476121991017.zip
add shmap 0.2
Shared-memory-based hashmaps
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/shmap/Makefile28
-rw-r--r--devel/shmap/distinfo1
-rw-r--r--devel/shmap/files/patch-shmap::core.h17
-rw-r--r--devel/shmap/pkg-comment1
-rw-r--r--devel/shmap/pkg-descr5
-rw-r--r--devel/shmap/pkg-plist5
7 files changed, 58 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3c57145cb2dc..eab7d8ddfb5d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -626,6 +626,7 @@
SUBDIR += sh-rtems-gdb
SUBDIR += sh-rtems-objc
SUBDIR += shapelib
+ SUBDIR += shmap
SUBDIR += shtool
SUBDIR += silc-toolkit
SUBDIR += sip
diff --git a/devel/shmap/Makefile b/devel/shmap/Makefile
new file mode 100644
index 000000000000..fdc8f8cb775a
--- /dev/null
+++ b/devel/shmap/Makefile
@@ -0,0 +1,28 @@
+# ex:ts=8
+# Ports collection makefile for: shmap
+# Date Created: Feb 20, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= shmap
+PORTVERSION= 0.2
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= mm:${PORTSDIR}/devel/mm
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CFLAGS+= -I${LOCALBASE}/include
+CONIFGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_SHLIB= yes
+
+pre-configure:
+ @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
+
+.include <bsd.port.mk>
diff --git a/devel/shmap/distinfo b/devel/shmap/distinfo
new file mode 100644
index 000000000000..db44933fadcd
--- /dev/null
+++ b/devel/shmap/distinfo
@@ -0,0 +1 @@
+MD5 (shmap-0.2.tar.gz) = ea28ef4c7139915e2876cdd6cffa4bea
diff --git a/devel/shmap/files/patch-shmap::core.h b/devel/shmap/files/patch-shmap::core.h
new file mode 100644
index 000000000000..34f72f9deccd
--- /dev/null
+++ b/devel/shmap/files/patch-shmap::core.h
@@ -0,0 +1,17 @@
+--- shmap/core.h.orig Wed Mar 6 01:38:37 2002
++++ shmap/core.h Wed Mar 6 01:38:47 2002
+@@ -53,12 +53,14 @@
+ #define CORE_LOCK(l,m) if ( l != NULL ) _core_lock(l,SHMAP_LOCK_WRITE);
+ #define CORE_UNLOCK(l) if ( l != NULL ) _core_unlock(l);
+
++#if 0
+ union semun {
+ int val; /* value for SETVAL */
+ struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */
+ unsigned short int *array; /* array for GETALL, SETALL */
+ struct seminfo *__buf;
+ };
++#endif
+
+
+ #endif
diff --git a/devel/shmap/pkg-comment b/devel/shmap/pkg-comment
new file mode 100644
index 000000000000..af1c3c8fbf16
--- /dev/null
+++ b/devel/shmap/pkg-comment
@@ -0,0 +1 @@
+Shared-memory-based hashmaps
diff --git a/devel/shmap/pkg-descr b/devel/shmap/pkg-descr
new file mode 100644
index 000000000000..1f991973e590
--- /dev/null
+++ b/devel/shmap/pkg-descr
@@ -0,0 +1,5 @@
+Library that contains a collection of different hashmaps. All these hashmaps
+are based on shared memory and are fast. This cuts down development time for
+projects that need to keep data in shared memory.
+
+WWW: http://shmap.sourceforge.net/
diff --git a/devel/shmap/pkg-plist b/devel/shmap/pkg-plist
new file mode 100644
index 000000000000..c12604ba5869
--- /dev/null
+++ b/devel/shmap/pkg-plist
@@ -0,0 +1,5 @@
+include/shmap.h
+lib/libshmap.a
+lib/libshmap.la
+lib/libshmap.so
+lib/libshmap.so.0