aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-11 05:51:32 +0800
committerwill <will@FreeBSD.org>2001-04-11 05:51:32 +0800
commitf71ce97d0afdc0f029639c1a5ea875733baa3d1f (patch)
treeaeb516981d68b41be556b21be3df9b1f1e6884e2 /www
parent1df646d03a02c2c8a92b08c398e8d7b4e400619d (diff)
downloadfreebsd-ports-gnome-f71ce97d0afdc0f029639c1a5ea875733baa3d1f.tar.gz
freebsd-ports-gnome-f71ce97d0afdc0f029639c1a5ea875733baa3d1f.tar.zst
freebsd-ports-gnome-f71ce97d0afdc0f029639c1a5ea875733baa3d1f.zip
Add mod_snake 0.5.0, a library to easily create flexible Apache
modules.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_snake/Makefile27
-rw-r--r--www/mod_snake/distinfo1
-rw-r--r--www/mod_snake/pkg-comment1
-rw-r--r--www/mod_snake/pkg-descr9
-rw-r--r--www/mod_snake/pkg-plist3
6 files changed, 42 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index e23cc98c17f0..e18129ef4aa3 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -128,6 +128,7 @@
SUBDIR += mod_python
SUBDIR += mod_roaming
SUBDIR += mod_ruby
+ SUBDIR += mod_snake
SUBDIR += mod_throttle
SUBDIR += mod_zap
SUBDIR += momspider
diff --git a/www/mod_snake/Makefile b/www/mod_snake/Makefile
new file mode 100644
index 000000000000..980af3b18def
--- /dev/null
+++ b/www/mod_snake/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: mod_snake
+# Date created: 10 April 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_snake
+PORTVERSION= 0.5.0
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= modsnake
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13 \
+ ${PYTHON_CMD}:${PYTHON_PORTSDIR}
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_BZIP2= yes
+APXS?= ${LOCALBASE}/sbin/apxs
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-apxs="${APXS}"
+USE_GMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/www/mod_snake/distinfo b/www/mod_snake/distinfo
new file mode 100644
index 000000000000..7722e38c5304
--- /dev/null
+++ b/www/mod_snake/distinfo
@@ -0,0 +1 @@
+MD5 (mod_snake-0.5.0.tar.bz2) = d002432d88dc9f464ffd00d0c6363fe5
diff --git a/www/mod_snake/pkg-comment b/www/mod_snake/pkg-comment
new file mode 100644
index 000000000000..ab057c404565
--- /dev/null
+++ b/www/mod_snake/pkg-comment
@@ -0,0 +1 @@
+A library to easily create flexible Apache modules
diff --git a/www/mod_snake/pkg-descr b/www/mod_snake/pkg-descr
new file mode 100644
index 000000000000..2a4ecf04bb0c
--- /dev/null
+++ b/www/mod_snake/pkg-descr
@@ -0,0 +1,9 @@
+mod_snake was created in an attempt to give Apache 1.3
+and 2.0 developers the power to create easy and flexible
+modules in the Python programming language. Aside from giving
+modules the same power as they have in C, mod_snake also
+provides APIs similar to that of mod_python and mod_perl
+for simple module creation, accelerated Python CGIs, and
+embedded Python.
+
+WWW: http://modsnake.sourceforge.net/
diff --git a/www/mod_snake/pkg-plist b/www/mod_snake/pkg-plist
new file mode 100644
index 000000000000..6e5a14758a65
--- /dev/null
+++ b/www/mod_snake/pkg-plist
@@ -0,0 +1,3 @@
+libexec/apache/libmod_snake.so
+@exec %D/sbin/apxs -e -A -n snake %D/%F
+@unexec %D/sbin/apxs -e -A -n snake %D/%F