aboutsummaryrefslogtreecommitdiffstats
path: root/lang/eperl
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1997-01-05 02:54:38 +0800
committerandreas <andreas@FreeBSD.org>1997-01-05 02:54:38 +0800
commit220377d525833eb0d5d006749656384f142bbbaf (patch)
tree71a9b018c42e4aa74601af807f30a4b9f6374ffa /lang/eperl
parent0b927f41d8ee82c97d6180ca8e0a171d0c02a3c8 (diff)
downloadfreebsd-ports-gnome-220377d525833eb0d5d006749656384f142bbbaf.tar.gz
freebsd-ports-gnome-220377d525833eb0d5d006749656384f142bbbaf.tar.zst
freebsd-ports-gnome-220377d525833eb0d5d006749656384f142bbbaf.zip
eperl - new port
Embedded Perl 5 for HTML, a server-side scripting language Reviewed by: andreas Submitted by: Ralf S. Engelschall <rse@engelschall.com>
Diffstat (limited to 'lang/eperl')
-rw-r--r--lang/eperl/Makefile34
-rw-r--r--lang/eperl/distinfo1
-rw-r--r--lang/eperl/pkg-comment1
-rw-r--r--lang/eperl/pkg-descr59
-rw-r--r--lang/eperl/pkg-plist1
5 files changed, 96 insertions, 0 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile
new file mode 100644
index 000000000000..944bef2c05dd
--- /dev/null
+++ b/lang/eperl/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: eperl
+# Version required: 2.0.2
+# Date created: Sat Jan 4 18:04:13 MET 1997
+# Whom: Ralf S. Engelschall <rse@engelschall.com>
+#
+# $Id$
+#
+
+DISTNAME= eperl-2.0.2
+CATEGORIES= www
+MASTER_SITES= http://www.engelschall.com/sw/eperl/dist/
+
+MAINTAINER= rse@engelschall.com
+
+BUILD_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5
+RUN_DEPENDS= ${PREFIX}/etc/apache/srm.conf:${PORTSDIR}/www/apache
+
+GNU_CONFIGURE= yes
+
+do-install:
+ @if [ ! -d ${PREFIX}/www/cgi-bin ]; then \
+ ${MKDIR} ${PREFIX}/www/cgi-bin; \
+ fi
+ cd ${WRKSRC}; ${INSTALL_PROGRAM} nph-eperl ${PREFIX}/www/cgi-bin/
+ @if [ ".`grep ePerl ${PREFIX}/etc/apache/srm.conf`" = . ]; then \
+ echo "Adding glue config to ${PREFIX}/etc/apache/srm.conf."; \
+ echo "" >>${PREFIX}/etc/apache/srm.conf; \
+ echo "# ePerl -- Embedded Perl 5 for HTML (server-side scripting language)" >>${PREFIX}/etc/apache/srm.conf; \
+ echo "AddType application/x-httpd-eperl .phtml .eperl .epl" >>${PREFIX}/etc/apache/srm.conf; \
+ echo "Action application/x-httpd-eperl /cgi-bin/nph-eperl" >>${PREFIX}/etc/apache/srm.conf; \
+ echo "" >>${PREFIX}/etc/apache/srm.conf; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/lang/eperl/distinfo b/lang/eperl/distinfo
new file mode 100644
index 000000000000..c455afbfb8eb
--- /dev/null
+++ b/lang/eperl/distinfo
@@ -0,0 +1 @@
+MD5 (eperl-2.0.2.tar.gz) = 3c135a3c1a7b420abb46d34dd7d2108e
diff --git a/lang/eperl/pkg-comment b/lang/eperl/pkg-comment
new file mode 100644
index 000000000000..7adfc0158632
--- /dev/null
+++ b/lang/eperl/pkg-comment
@@ -0,0 +1 @@
+Embedded Perl 5 for HTML, a server-side scripting language
diff --git a/lang/eperl/pkg-descr b/lang/eperl/pkg-descr
new file mode 100644
index 000000000000..2b8aabe87f5e
--- /dev/null
+++ b/lang/eperl/pkg-descr
@@ -0,0 +1,59 @@
+ ____ _
+ ___| _ \ ___ _ __| |
+ / _ \ |_) / _ \ '__| |
+ | __/ __/ __/ | | |
+ \___|_| \___|_| |_|
+
+ ePerl -- Embedded Perl 5 for HTML
+
+ ePerl interprets a HTML markup file bristled with Perl 5 program
+ statements by expanding the Perl 5 code. It operates as a stand-alone
+ NPH-CGI/1.0 compliant Unix program and produces pure HTML markup code
+ as the resulting data.
+
+ The documentation and latest release can be found on
+ http://www.engelschall.com/sw/eperl/
+
+
+ e P e r l L I C E N S E A G R E E M E N T
+
+ Copyright (c) 1996,1997 Ralf S. Engelschall, All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+
+ 3. All advertising materials mentioning features or use of this
+ software must display the following acknowledgment:
+ "This product includes software developed by
+ Ralf S. Engelschall <rse@engelschall.com>."
+
+ 4. Redistributions of any form whatsoever must retain the following
+ acknowledgment:
+ "This product includes software developed by
+ Ralf S. Engelschall <rse@engelschall.com>."
+
+ 5. The names "ePerl" and "Embedded Perl 5 for HTML" must not be used to
+ endorse or promote products derived from this software without
+ prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY RALF S. ENGELSCHALL ``AS IS'' AND ANY
+ EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL RALF S. ENGELSCHALL OR HIS CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/lang/eperl/pkg-plist b/lang/eperl/pkg-plist
new file mode 100644
index 000000000000..60cf73c134c1
--- /dev/null
+++ b/lang/eperl/pkg-plist
@@ -0,0 +1 @@
+www/cgi-bin/nph-eperl