aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-11-10 11:12:22 +0800
committeradamw <adamw@FreeBSD.org>2003-11-10 11:12:22 +0800
commit54ee603214fe8dd5625358760d05e3b5ce37dfa4 (patch)
tree2a8d4166044e506e68880d611193d8695cfcf7af /www
parent5cc21f7b231fda931a80a32b6b95e2f7d101126b (diff)
downloadfreebsd-ports-gnome-54ee603214fe8dd5625358760d05e3b5ce37dfa4.tar.gz
freebsd-ports-gnome-54ee603214fe8dd5625358760d05e3b5ce37dfa4.tar.zst
freebsd-ports-gnome-54ee603214fe8dd5625358760d05e3b5ce37dfa4.zip
Add CGI/SSI.pm
CGI::SSI is meant to be used as an easy way to filter shtml through CGI scripts in a loose imitation of Apache's mod_include. If you're using Apache, you may want to use either mod_include or the Apache::SSI module instead of CGI::SSI. Limitations in a CGI script's knowledge of how the server behaves make some SSI directives impossible to imitate from a CGI script. Requested by: db_@besmirched.org
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-CGI-SSI/Makefile28
-rw-r--r--www/p5-CGI-SSI/distinfo1
-rw-r--r--www/p5-CGI-SSI/pkg-descr6
-rw-r--r--www/p5-CGI-SSI/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 3a14094858eb..b51b473238bf 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -343,6 +343,7 @@
SUBDIR += p5-CGI-FastTemplate
SUBDIR += p5-CGI-Kwiki
SUBDIR += p5-CGI-Minimal
+ SUBDIR += p5-CGI-SSI
SUBDIR += p5-CGI-Session
SUBDIR += p5-CGI-SpeedyCGI
SUBDIR += p5-CGI-Untaint
diff --git a/www/p5-CGI-SSI/Makefile b/www/p5-CGI-SSI/Makefile
new file mode 100644
index 000000000000..a5aaff880dda
--- /dev/null
+++ b/www/p5-CGI-SSI/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-CGI-SSI
+# Date created: 09 November 2003
+# Whom: Adam Weinberger <adamw@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= CGI-SSI
+PORTVERSION= 0.53
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= CGI
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Use SSI from CGI scripts
+
+BUILD_DEPENDS= ${SITE_PERL}/HTML/SimpleParse.pm:${PORTSDIR}/www/p5-HTML-SimpleParse \
+ ${SITE_PERL}/LWP/Simple.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= CGI::SSI.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-CGI-SSI/distinfo b/www/p5-CGI-SSI/distinfo
new file mode 100644
index 000000000000..b784928dcc99
--- /dev/null
+++ b/www/p5-CGI-SSI/distinfo
@@ -0,0 +1 @@
+MD5 (CGI-SSI-0.53.tar.gz) = d0975494be7575ffa6d7b4d00f5ba547
diff --git a/www/p5-CGI-SSI/pkg-descr b/www/p5-CGI-SSI/pkg-descr
new file mode 100644
index 000000000000..cb19c15f23c1
--- /dev/null
+++ b/www/p5-CGI-SSI/pkg-descr
@@ -0,0 +1,6 @@
+CGI::SSI is meant to be used as an easy way to filter shtml through CGI
+scripts in a loose imitation of Apache's mod_include. If you're using
+Apache, you may want to use either mod_include or the Apache::SSI module
+instead of CGI::SSI. Limitations in a CGI script's knowledge of how the
+server behaves make some SSI directives impossible to imitate from a CGI
+script.
diff --git a/www/p5-CGI-SSI/pkg-plist b/www/p5-CGI-SSI/pkg-plist
new file mode 100644
index 000000000000..0558346c7e48
--- /dev/null
+++ b/www/p5-CGI-SSI/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/CGI/SSI.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/SSI/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/CGI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/SSI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI 2>/dev/null || true