aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-09 05:27:24 +0800
committerpav <pav@FreeBSD.org>2004-12-09 05:27:24 +0800
commit262a9355b5c091e1a184634f1f67d8633d79aea2 (patch)
tree57fb80ac2ef688b251564fb75d337ca2a5722213 /www
parentc57f749d1aad20dacc287c8d435e234ea3fc91f2 (diff)
downloadfreebsd-ports-gnome-262a9355b5c091e1a184634f1f67d8633d79aea2.tar.gz
freebsd-ports-gnome-262a9355b5c091e1a184634f1f67d8633d79aea2.tar.zst
freebsd-ports-gnome-262a9355b5c091e1a184634f1f67d8633d79aea2.zip
Add mod_transform, a filter module that allows Apache 2.0 to do dynamic XSL
Transformations on either static XML documents, or XML documents generated from another Apache module or CGI program. PR: ports/74787 Submitted by: Stanislas Ormieres <stan@stormier.net>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_transform/Makefile25
-rw-r--r--www/mod_transform/distinfo2
-rw-r--r--www/mod_transform/pkg-descr10
-rw-r--r--www/mod_transform/pkg-message8
-rw-r--r--www/mod_transform/pkg-plist2
6 files changed, 48 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 4a90c0f32962..91cf40c038c1 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -320,6 +320,7 @@
SUBDIR += mod_throttle
SUBDIR += mod_ticket
SUBDIR += mod_tidy
+ SUBDIR += mod_transform
SUBDIR += mod_traf_thief
SUBDIR += mod_trigger
SUBDIR += mod_tsunami
diff --git a/www/mod_transform/Makefile b/www/mod_transform/Makefile
new file mode 100644
index 000000000000..b902ae71abe5
--- /dev/null
+++ b/www/mod_transform/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: mod_transform
+# Date created: 5 December 2004
+# Whom: laruiss
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_transform
+PORTVERSION= 0.6.0
+CATEGORIES= www
+MASTER_SITES= http://www.outoforder.cc/downloads/mod_transform/
+
+MAINTAINER= stan@stormier.net
+COMMENT= An XSLT and XIncludes Filter module for Apache 2.0
+
+RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
+BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache2
+
+HAS_CONFIGURE= yes
+USE_GNOME= libxslt
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/mod_transform/distinfo b/www/mod_transform/distinfo
new file mode 100644
index 000000000000..40c1a7033980
--- /dev/null
+++ b/www/mod_transform/distinfo
@@ -0,0 +1,2 @@
+MD5 (mod_transform-0.6.0.tar.gz) = 8b27adea2536f105470b4bedc418ab3b
+SIZE (mod_transform-0.6.0.tar.gz) = 301889
diff --git a/www/mod_transform/pkg-descr b/www/mod_transform/pkg-descr
new file mode 100644
index 000000000000..93cb4f20b45d
--- /dev/null
+++ b/www/mod_transform/pkg-descr
@@ -0,0 +1,10 @@
+mod_transform is a filter module that allows Apache 2.0 to do dynamic XSL
+Transformations on either static XML documents, or XML documents generated
+from another Apache module or CGI program.
+
+This module originated from mod_xml_gnome_xslt by WebThing.
+
+WWW: http://www.outoforder.cc/projects/apache/mod_transform/
+
+- Stan
+stan@stormier.net
diff --git a/www/mod_transform/pkg-message b/www/mod_transform/pkg-message
new file mode 100644
index 000000000000..c12a8bcdb935
--- /dev/null
+++ b/www/mod_transform/pkg-message
@@ -0,0 +1,8 @@
+***************************************************************
+
+To use mod_transform, add these lines to your httpd.conf:
+
+LoadModule transform_module libexec/apache2/mod_transform.so
+AddOutputFilter XSLT xml
+
+***************************************************************
diff --git a/www/mod_transform/pkg-plist b/www/mod_transform/pkg-plist
new file mode 100644
index 000000000000..fcee231f807c
--- /dev/null
+++ b/www/mod_transform/pkg-plist
@@ -0,0 +1,2 @@
+include/apache2/mod_transform.h
+libexec/apache2/mod_transform.so