summaryrefslogtreecommitdiff
path: root/devel/php-shmop
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit6a7f2fa6c72867cf5a751db0c33a7fbc77b0eaa1 (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /devel/php-shmop
parent8b88bd9993d19501f7da51423d94ba699d1da60c (diff)
downloadpkgsrc-6a7f2fa6c72867cf5a751db0c33a7fbc77b0eaa1.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
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"