eperl - new port

Embedded Perl 5 for HTML, a server-side scripting language
Reviewed by:	andreas
Submitted by:	Ralf S. Engelschall <rse@engelschall.com>
This commit is contained in:
Andreas Klemm 1997-01-04 18:54:38 +00:00
parent 830f603368
commit 868388af95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5208
5 changed files with 96 additions and 0 deletions

34
lang/eperl/Makefile Normal file
View File

@ -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>

1
lang/eperl/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (eperl-2.0.2.tar.gz) = 3c135a3c1a7b420abb46d34dd7d2108e

1
lang/eperl/pkg-comment Normal file
View File

@ -0,0 +1 @@
Embedded Perl 5 for HTML, a server-side scripting language

59
lang/eperl/pkg-descr Normal file
View File

@ -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.

1
lang/eperl/pkg-plist Normal file
View File

@ -0,0 +1 @@
www/cgi-bin/nph-eperl