mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Upgrade to ePerl 2.2.1.
Reviewed by: Andreas Klemm Submitted by: Ralf S. Engelschall
This commit is contained in:
parent
9a9845c6cf
commit
1810b2b484
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7528
@ -1,83 +1,65 @@
|
||||
# New ports collection makefile for: eperl
|
||||
# Version required: 2.1.1
|
||||
# Date created: Fri May 2 13:16:31 MET DST 1997
|
||||
# Version required: 2.2.1
|
||||
# Date created: Sat Aug 2 17:22:46 MET DST 1997
|
||||
# Whom: Ralf S. Engelschall <rse@engelschall.com>
|
||||
#
|
||||
# $Id: Makefile,v 1.7 1997/07/18 05:04:15 asami Exp $
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= eperl-2.1.1
|
||||
DISTNAME= eperl-2.2.1
|
||||
CATEGORIES= lang www perl5
|
||||
MASTER_SITES= http://www.engelschall.com/sw/eperl/distrib/ \
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
||||
http://www.engelschall.com/sw/eperl/distrib/ \
|
||||
ftp://ftp.engelschall.com/sw/
|
||||
MASTER_SITE_SUBDIR=Parse
|
||||
|
||||
MAINTAINER= rse@engelschall.com
|
||||
|
||||
# User-controlled variables list
|
||||
#
|
||||
# Server-Side Scripting Language (SSSL) support:
|
||||
# INSTALL_ALSO_AS_SSSL - install ePerl also as SSSL for Apache
|
||||
# ENABLE_UID_SWITCHING - allow ePerl to switch the UID/GID to the
|
||||
# owner of the executed script when operating
|
||||
# as a SSSL. Implies usage of SetUID bit!
|
||||
#
|
||||
INSTALL_ALSO_AS_SSSL= yes
|
||||
#ENABLE_UID_SWITCHING= yes
|
||||
# INSTALL_ALSO_AS_SSSL
|
||||
# install ePerl also as a Server-Side
|
||||
# Scripting Language (SSSL) for Apache
|
||||
INSTALL_ALSO_AS_SSSL= no
|
||||
|
||||
.if defined(INSTALL_ALSO_AS_SSSL)
|
||||
RUN_DEPENDS= ${PREFIX}/etc/apache/srm.conf:${PORTSDIR}/www/apache-stable
|
||||
.endif
|
||||
|
||||
USE_PERL5= yes
|
||||
GNU_CONFIGURE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--with-perl=${PREFIX}/bin/perl
|
||||
|
||||
MAN1= eperl.1
|
||||
|
||||
post-patch:
|
||||
rm -f ${WRKSRC}/eg/demo.errsync.phtml # remove bad file
|
||||
|
||||
test:
|
||||
@(cd ${WRKSRC}; make test)
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/bin/eperl
|
||||
${INSTALL_MAN} ${WRKSRC}/eperl.1 ${PREFIX}/man/man1/eperl.1
|
||||
.if defined(INSTALL_ALSO_AS_SSSL)
|
||||
@if [ ! -d ${PREFIX}/www/cgi-bin ]; then \
|
||||
${MKDIR} -p ${PREFIX}/www/cgi-bin; \
|
||||
fi
|
||||
.if defined(ENABLE_UID_SWITCHING)
|
||||
${INSTALL_PROGRAM} -o root -m u+s ${WRKSRC}/eperl \
|
||||
${PREFIX}/www/cgi-bin/nph-eperl
|
||||
.else
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/www/cgi-bin/nph-eperl
|
||||
.endif
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@if [ ! -d ${PREFIX}/share/examples/eperl ]; then \
|
||||
${MKDIR} -p ${PREFIX}/share/examples/eperl; \
|
||||
fi
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-01.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-01.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-02.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-02.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-03.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-03.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-04.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-04.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-05.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-05.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-06.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-06.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-07.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-07.phtml
|
||||
${INSTALL_DATA} ${WRKSRC}/eg/demo-08.phtml \
|
||||
${PREFIX}/share/examples/eperl/demo-08.phtml
|
||||
.endif
|
||||
|
||||
${CP} ${WRKSRC}/eg/* ${PREFIX}/share/examples/eperl/
|
||||
.endif
|
||||
.if defined(INSTALL_ALSO_AS_SSSL)
|
||||
@if [ ".`grep x-httpd-eperl ${PREFIX}/etc/apache/srm.conf`" = . ]; then \
|
||||
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 "Added knowledge about ePerl to Apache's srm.conf"; \
|
||||
else \
|
||||
echo "Apache srm.conf is already aware of ePerl"; \
|
||||
@if [ ! -d ${PREFIX}/www/cgi-bin ]; then \
|
||||
${MKDIR} -p ${PREFIX}/www/cgi-bin; \
|
||||
fi
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/eperl ${PREFIX}/www/cgi-bin/nph-eperl
|
||||
@if [ ".`grep x-httpd-eperl ${PREFIX}/etc/apache/srm.conf`" = . ]; then \
|
||||
${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} "Added knowledge about ePerl to Apache's srm.conf"; \
|
||||
else \
|
||||
${ECHO} "Apache srm.conf is already aware of ePerl"; \
|
||||
fi
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (eperl-2.1.1.tar.gz) = 7a1836d348e4fce376f7d224528b4102
|
||||
MD5 (eperl-2.2.1.tar.gz) = da3d75d3816270c12941965a91f6466f
|
||||
|
@ -6,14 +6,13 @@
|
||||
|
||||
ePerl -- Embedded Perl 5 Language
|
||||
|
||||
Version 2.1.1 (01-05-1997)
|
||||
Version 2.2.1 (02-08-1997)
|
||||
|
||||
ePerl interprets an ASCII file bristled with Perl 5 program statements by
|
||||
evaluating the Perl 5 code while passing through the plain ASCII data. It
|
||||
can operate both as a standard Unix filter for general file generation tasks
|
||||
and as a powerful Webserver scripting language for dynamic HTML page
|
||||
programming.
|
||||
can operate in various ways: As a stand-alone Unix filter or integrated Perl
|
||||
5 module for general file generation tasks and as a powerful Webserver
|
||||
scripting language for dynamic HTML page programming.
|
||||
|
||||
The documentation and latest release can be found on
|
||||
http://www.engelschall.com/sw/eperl/
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
|
||||
Copyright (c) 1996-1997 Ralf S. Engelschall, All rights reserved.
|
||||
|
||||
This program is free software; it may be redistributed and/or modified only
|
||||
under the terms of either the Artistic License or the GNU General Public
|
||||
License, which may be found in the ePerl source distribution. Look at the
|
||||
files ARTISTIC and COPYING or run ``eperl -l'' to receive a builtin copy of
|
||||
files ARTISTIC and COPYING or run ``eperl -l'' to receive a built-in copy of
|
||||
both license files.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License
|
||||
or the Artistic License for more details.
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See either the Artistic License or the
|
||||
GNU General Public License for more details.
|
||||
|
||||
|
@ -1,14 +1,30 @@
|
||||
bin/eperl
|
||||
www/cgi-bin/nph-eperl
|
||||
man/man1/eperl.1
|
||||
@exec echo "AddType application/x-httpd-eperl .phtml .eperl .epl" >>%D/etc/apache/srm.conf
|
||||
man/man1/eperl.1.gz
|
||||
@exec echo "AddType application/x-httpd-eperl .phtml .eperl .epl" >>%D/etc/apache/srm.conf
|
||||
@exec echo "Action application/x-httpd-eperl /cgi-bin/nph-eperl" >>%D/etc/apache/srm.conf
|
||||
@unexec grep -v "application/x-httpd-eperl" %D/etc/apache/srm.conf >%D/etc/apache/srm.conf.bak; mv %D/etc/apache/srm.conf.bak %D/etc/apache/srm.conf
|
||||
share/examples/eperl/demo-01.phtml
|
||||
share/examples/eperl/demo-02.phtml
|
||||
share/examples/eperl/demo-03.phtml
|
||||
share/examples/eperl/demo-04.phtml
|
||||
share/examples/eperl/demo-05.phtml
|
||||
share/examples/eperl/demo-06.phtml
|
||||
share/examples/eperl/demo-07.phtml
|
||||
share/examples/eperl/demo-08.phtml
|
||||
share/examples/eperl/00README
|
||||
share/examples/eperl/demo.cgipm.phtml
|
||||
share/examples/eperl/demo.cgipm.iphtml
|
||||
share/examples/eperl/demo.env.phtml
|
||||
share/examples/eperl/demo.env.iphtml
|
||||
share/examples/eperl/demo.errout.phtml
|
||||
share/examples/eperl/demo.errout.iphtml
|
||||
share/examples/eperl/demo.errsyn.phtml
|
||||
share/examples/eperl/demo.errsyn.iphtml
|
||||
share/examples/eperl/demo.func.phtml
|
||||
share/examples/eperl/demo.func.iphtml
|
||||
share/examples/eperl/demo.html.phtml
|
||||
share/examples/eperl/demo.html.iphtml
|
||||
share/examples/eperl/demo.image.phtml
|
||||
share/examples/eperl/demo.image.iphtml
|
||||
share/examples/eperl/demo.lwp.phtml
|
||||
share/examples/eperl/demo.lwp.iphtml
|
||||
share/examples/eperl/demo.net.phtml
|
||||
share/examples/eperl/demo.net.iphtml
|
||||
share/examples/eperl/demo.pp.phtml
|
||||
share/examples/eperl/demo.pp.iphtml
|
||||
share/examples/eperl/demo.table.phtml
|
||||
share/examples/eperl/demo.table.iphtml
|
||||
@dirrm share/examples/eperl
|
||||
|
Loading…
Reference in New Issue
Block a user