aboutsummaryrefslogtreecommitdiff
path: root/lang/eperl/Makefile
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/Makefile
parentdd32ced35ae41f6c4a866e41bdad88c9e9fb6f2c (diff)
downloadports-c07bb2572b8dfb48835f06052f7c8b6e5934b8b7.tar.gz
ports-c07bb2572b8dfb48835f06052f7c8b6e5934b8b7.zip
Notes
Diffstat (limited to 'lang/eperl/Makefile')
-rw-r--r--lang/eperl/Makefile31
1 files changed, 18 insertions, 13 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>