summaryrefslogtreecommitdiff
path: root/devel/shmap
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-05 17:47:05 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-03-05 17:47:05 +0000
commit8e6b3ae541a7f9e506fb55c9946c269590975df2 (patch)
tree400e5f242b9e0bada2781e0113f620202d4c08f9 /devel/shmap
parentAdd mkfile 1.0, create files suitable for use as swap files. (diff)
add shmap 0.2
Shared-memory-based hashmaps
Notes
Notes: svn path=/head/; revision=55593
Diffstat (limited to 'devel/shmap')
-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
6 files changed, 57 insertions, 0 deletions
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