summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-02 10:10:59 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-02 10:10:59 +0000
commit11d927d9d874a61f1701b7f9d0afb15156468c6b (patch)
tree4e5e726316ccdf4a391830d192d0469a180b0df9
parenta74cfcd64339abe1142e9ef33fa5058793d9faf1 (diff)
downloadpkgsrc-11d927d9d874a61f1701b7f9d0afb15156468c6b.tar.gz
Add php4 module shmop, simplified interface to SysV shared memory for PHP
-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"