aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_line_edit/Makefile36
-rw-r--r--www/mod_line_edit/distinfo3
-rw-r--r--www/mod_line_edit/pkg-descr6
-rw-r--r--www/mod_line_edit/pkg-plist3
5 files changed, 49 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index b66ec7500e56..da2649b32665 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -339,6 +339,7 @@
SUBDIR += mod_layout2
SUBDIR += mod_limitipconn
SUBDIR += mod_limitipconn2
+ SUBDIR += mod_line_edit
SUBDIR += mod_log_config-st
SUBDIR += mod_log_data
SUBDIR += mod_log_mysql
diff --git a/www/mod_line_edit/Makefile b/www/mod_line_edit/Makefile
new file mode 100644
index 000000000000..24e3ebd87fcc
--- /dev/null
+++ b/www/mod_line_edit/Makefile
@@ -0,0 +1,36 @@
+# New ports collection Makefile for: mod_line_edit
+#
+# Date created: 10/01/2007
+# Whom: Dominic Marks <dom@goodforbusiness.co.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_line_edit
+PORTVERSION= 1.0.0
+CATEGORIES= www
+MASTER_SITES= http://apache.webthing.com/mod_line_edit/
+DISTFILES= mod_line_edit.c
+
+MAINTAINER= dom@helenmarks.co.uk
+COMMENT= Apache module for simple text rewriting
+
+USE_APACHE= yes
+WITH_APACHE2= yes
+
+do-extract:
+ @${DO_NADA}
+
+pre-fetch:
+ @${MKDIR} ${WRKDIR}
+
+post-fetch:
+ @${CP} ${DISTDIR}/mod_line_edit.c ${WRKDIR}
+
+do-build:
+ @(cd ${WRKDIR} && ${APXS} -c mod_line_edit.c)
+
+do-install:
+ @(cd ${WRKDIR} && ${APXS} -A -i mod_line_edit.la)
+
+.include <bsd.port.mk>
diff --git a/www/mod_line_edit/distinfo b/www/mod_line_edit/distinfo
new file mode 100644
index 000000000000..f51fde069def
--- /dev/null
+++ b/www/mod_line_edit/distinfo
@@ -0,0 +1,3 @@
+MD5 (mod_line_edit.c) = 80d17d06a164bfc7f7e0dfb841693bb1
+SHA256 (mod_line_edit.c) = 9c6c33d401f545ebd3826df96a2ccaa07b25db0b99ba13e4d88b10a2d49f8b0b
+SIZE (mod_line_edit.c) = 17096
diff --git a/www/mod_line_edit/pkg-descr b/www/mod_line_edit/pkg-descr
new file mode 100644
index 000000000000..564401057696
--- /dev/null
+++ b/www/mod_line_edit/pkg-descr
@@ -0,0 +1,6 @@
+mod_line_edit is a general-purpose filter for text documents. It
+operates as a simple on-the-fly line editor, applying
+search-and-replace rules defined in a configuration or .htaccess
+file.
+
+WWW: http://apache.webthing.com/mod_line_edit/
diff --git a/www/mod_line_edit/pkg-plist b/www/mod_line_edit/pkg-plist
new file mode 100644
index 000000000000..26c0a0aa63de
--- /dev/null
+++ b/www/mod_line_edit/pkg-plist
@@ -0,0 +1,3 @@
+libexec/apache2/mod_line_edit.so
+@exec %D/sbin/apxs -e -A -n line_edit %D/%F
+@unexec %D/sbin/apxs -e -A -n line_edit %D/%F