summaryrefslogtreecommitdiff
path: root/devel/php-shmop
diff options
context:
space:
mode:
Diffstat (limited to 'devel/php-shmop')
-rw-r--r--devel/php-shmop/DESCR14
-rw-r--r--devel/php-shmop/Makefile13
2 files changed, 27 insertions, 0 deletions
diff --git a/devel/php-shmop/DESCR b/devel/php-shmop/DESCR
new file mode 100644
index 00000000000..b86cc49ecd9
--- /dev/null
+++ b/devel/php-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/php-shmop/Makefile b/devel/php-shmop/Makefile
new file mode 100644
index 00000000000..487675040bd
--- /dev/null
+++ b/devel/php-shmop/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= shmop
+CATEGORIES+= devel
+PKGREVISION= # empty
+COMMENT= PHP extension for simple SysV shared memory operations
+
+USE_BUILDLINK3= YES
+
+CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR}
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"