diff options
author | andreas <andreas@FreeBSD.org> | 1997-01-04 23:40:19 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 1997-01-04 23:40:19 +0000 |
commit | d62cb89aa526cce1b81f20266f4199f002e90e5b (patch) | |
tree | 1cb45a4f92466d57a1fa0dbd7c24d7463bad53a4 /lang/eperl/Makefile | |
parent | d1486224fb18db64d0cce4e26956c0621d8679b9 (diff) | |
download | FreeBSD-ports-d62cb89aa526cce1b81f20266f4199f002e90e5b.zip FreeBSD-ports-d62cb89aa526cce1b81f20266f4199f002e90e5b.tar.gz |
updated port to version 2.0.3
Diffstat (limited to 'lang/eperl/Makefile')
-rw-r--r-- | lang/eperl/Makefile | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/lang/eperl/Makefile b/lang/eperl/Makefile index 944bef2..45f9cf9 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> |