summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/php4-shmop/DESCR14
-rw-r--r--devel/php4-shmop/Makefile14
2 files changed, 28 insertions, 0 deletions
diff --git a/devel/php4-shmop/DESCR b/devel/php4-shmop/DESCR
new file mode 100644
index 00000000000..b86cc49ecd9
--- /dev/null
+++ b/devel/php4-shmop/DESCR
@@ -0,0 +1,14 @@
+PHP is a programming language designed to be embedded into web pages.
+
+Shmop is an easy to use set of functions that allows PHP to read,
+write, create and delete Unix SysV-style shared memory segments.
+
+While developing a search deamon we needed a php based front end
+to communicate the deamon via SHM. PHP already had a shared memory
+extention (sysvshm) written by Christian Cartus <cartus@atrior.de>,
+unfortunatly this extention was designed with PHP only in mind and
+offers high level features which are extremly bothersome for basic
+SHM we had in mind. After spending a day trying to reverse engineer
+and figure out the format of sysvshm we decided that it would be
+much easier to add our own extention to php for simple SHM operations,
+we were right :)).
diff --git a/devel/php4-shmop/Makefile b/devel/php4-shmop/Makefile
new file mode 100644
index 00000000000..89a979d672e
--- /dev/null
+++ b/devel/php4-shmop/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/02 10:10:59 jdolecek Exp $
+
+MODNAME= shmop
+CATEGORIES+= devel
+PKGREVISION= # empty
+COMMENT= PHP4 extension for simple SysV shared memory operations
+
+USE_BUILDLINK3= YES
+
+.include "../../www/php4/Makefile.module"
+
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../mk/bsd.pkg.mk"