[85862] trunk/dports/www/mod_perl/Portfile
jmr at macports.org
jmr at macports.org
Sun Oct 16 19:59:03 PDT 2011
Revision: 85862
http://trac.macports.org/changeset/85862
Author: jmr at macports.org
Date: 2011-10-16 19:59:03 -0700 (Sun, 16 Oct 2011)
Log Message:
-----------
mod_perl: license
Modified Paths:
--------------
trunk/dports/www/mod_perl/Portfile
Modified: trunk/dports/www/mod_perl/Portfile
===================================================================
--- trunk/dports/www/mod_perl/Portfile 2011-10-17 02:58:42 UTC (rev 85861)
+++ trunk/dports/www/mod_perl/Portfile 2011-10-17 02:59:03 UTC (rev 85862)
@@ -1,9 +1,11 @@
# $Id$
PortSystem 1.0
+
name mod_perl
version 1.30
categories www
+license Apache-1.1
platforms darwin
maintainers nomaintainer
description Embeds a Perl interpreter in the Apache 1.3 server
@@ -21,14 +23,14 @@
configure.env LANG=C \
LC_ALL=C
-configure.pre_args
-configure {
- if { [variant_isset apache_layout] } {
+configure.pre_args
+configure {
+ if { [variant_isset apache_layout] } {
set APXS ${prefix}/apache/bin/apxs
} else {
set APXS ${prefix}/sbin/apxs
}
-
+
system "cd ${workpath}/${worksrcdir} && \
perl Makefile.PL USE_APXS=1 \
PREFIX=${prefix} \
@@ -43,7 +45,7 @@
xinstall -m 755 -d ${destroot}${prefix}/apache/include/modules/perl \
${destroot}${prefix}/apache/libexec
system "install -m 755 ${worksrcpath}/src/modules/perl/*.h \
- ${destroot}${prefix}/apache/include/modules/perl"
+ ${destroot}${prefix}/apache/include/modules/perl"
xinstall -m 755 ${worksrcpath}/apaci/libperl.so \
${destroot}${prefix}/apache/libexec/
@@ -68,7 +70,7 @@
} else {
ui_msg "cd ${prefix}/libexec/apache"
}
- ui_msg "apxs -a -e -n \"perl\" libperl.so\n"
+ ui_msg "apxs -a -e -n \"perl\" libperl.so\n"
ui_msg " * And then relaunch apache \n"
ui_msg "apachectl graceful\n"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111016/e1613960/attachment.html>
More information about the macports-changes
mailing list