summaryrefslogtreecommitdiffstats
path: root/www/p5-CGI-SSI
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2003-11-10 03:12:22 +0000
committeradamw <adamw@FreeBSD.org>2003-11-10 03:12:22 +0000
commit54ee603214fe8dd5625358760d05e3b5ce37dfa4 (patch)
tree2a8d4166044e506e68880d611193d8695cfcf7af /www/p5-CGI-SSI
parent5cc21f7b231fda931a80a32b6b95e2f7d101126b (diff)
downloadFreeBSD-ports-54ee603214fe8dd5625358760d05e3b5ce37dfa4.zip
FreeBSD-ports-54ee603214fe8dd5625358760d05e3b5ce37dfa4.tar.gz
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/p5-CGI-SSI')
-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
4 files changed, 40 insertions, 0 deletions
diff --git a/www/p5-CGI-SSI/Makefile b/www/p5-CGI-SSI/Makefile
new file mode 100644
index 0000000..a5aaff8
--- /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 0000000..b784928
--- /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 0000000..cb19c15
--- /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 0000000..0558346
--- /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
OpenPOWER on IntegriCloud