aboutsummaryrefslogtreecommitdiff
path: root/lang/eperl
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1997-01-04 23:40:19 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1997-01-04 23:40:19 +0000
commitc07bb2572b8dfb48835f06052f7c8b6e5934b8b7 (patch)
tree1fc22e95d35b0980a7d7fc78be30eb785630e15f /lang/eperl
parentdd32ced35ae41f6c4a866e41bdad88c9e9fb6f2c (diff)
downloadports-c07bb2572b8dfb48835f06052f7c8b6e5934b8b7.tar.gz
ports-c07bb2572b8dfb48835f06052f7c8b6e5934b8b7.zip
Notes
Diffstat (limited to 'lang/eperl')
-rw-r--r--lang/eperl/Makefile31
-rw-r--r--lang/eperl/distinfo2
-rw-r--r--lang/eperl/pkg-comment2
-rw-r--r--lang/eperl/pkg-descr2
-rw-r--r--lang/eperl/pkg-plist7
5 files changed, 28 insertions, 16 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile
index 944bef2c05dd..45f9cf934058 100644
--- a/lang/eperl/Makefile
+++ b/lang/eperl/Makefile
@@ -1,34 +1,39 @@
# New ports collection makefile for: eperl
-# Version required: 2.0.2
+# Version required: 2.0.3
# Date created: Sat Jan 4 18:04:13 MET 1997
# Whom: Ralf S. Engelschall <rse@engelschall.com>
+# Andreas Klemm <andreas@klemm.gtn.com>
#
# $Id$
#
-DISTNAME= eperl-2.0.2
+DISTNAME= eperl-2.0.3
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
+RUN_DEPENDS= perl5.003:${PORTSDIR}/lang/perl5 \
+ ${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; \
+ ${MKDIR} -p ${PREFIX}/www/cgi-bin; \
fi
+ ${INSTALL_PROGRAM} ${WRKSRC}/nph-eperl ${PREFIX}/www/cgi-bin/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} -p ${PREFIX}/share/doc/eperl
+ ${INSTALL_DATA} ${WRKSRC}/doc/about.txt \
+ ${PREFIX}/share/doc/eperl/about.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/about.ps \
+ ${PREFIX}/share/doc/eperl/about.ps
+ ${INSTALL_DATA} ${WRKSRC}/doc/faq.txt \
+ ${PREFIX}/share/doc/eperl/faq.txt
+ ${INSTALL_DATA} ${WRKSRC}/doc/faq.ps \
+ ${PREFIX}/share/doc/eperl/faq.ps
+.endif
.include <bsd.port.mk>
diff --git a/lang/eperl/distinfo b/lang/eperl/distinfo
index c455afbfb8eb..2e971cad7c0f 100644
--- a/lang/eperl/distinfo
+++ b/lang/eperl/distinfo
@@ -1 +1 @@
-MD5 (eperl-2.0.2.tar.gz) = 3c135a3c1a7b420abb46d34dd7d2108e
+MD5 (eperl-2.0.3.tar.gz) = 87a57944df393aaf6f1b9145256395e2
diff --git a/lang/eperl/pkg-comment b/lang/eperl/pkg-comment
index 7adfc0158632..27d4becad37a 100644
--- a/lang/eperl/pkg-comment
+++ b/lang/eperl/pkg-comment
@@ -1 +1 @@
-Embedded Perl 5 for HTML, a server-side scripting language
+Embedded Perl 5 for HTML (server-side scripting language)
diff --git a/lang/eperl/pkg-descr b/lang/eperl/pkg-descr
index 2b8aabe87f5e..bb43f40cafaa 100644
--- a/lang/eperl/pkg-descr
+++ b/lang/eperl/pkg-descr
@@ -15,7 +15,7 @@
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
+ 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.
diff --git a/lang/eperl/pkg-plist b/lang/eperl/pkg-plist
index 60cf73c134c1..27ce9fb361eb 100644
--- a/lang/eperl/pkg-plist
+++ b/lang/eperl/pkg-plist
@@ -1 +1,8 @@
www/cgi-bin/nph-eperl
+@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/doc/eperl/about.txt
+share/doc/eperl/about.ps
+share/doc/eperl/faq.txt
+share/doc/eperl/faq.ps