[52525] trunk/dports/www/mediawiki/Portfile
blb at macports.org
blb at macports.org
Thu Jun 18 00:21:36 PDT 2009
Revision: 52525
http://trac.macports.org/changeset/52525
Author: blb at macports.org
Date: 2009-06-18 00:21:35 -0700 (Thu, 18 Jun 2009)
Log Message:
-----------
www/mediawiki - version update to 1.15.0, add information in post-activate
Modified Paths:
--------------
trunk/dports/www/mediawiki/Portfile
Modified: trunk/dports/www/mediawiki/Portfile
===================================================================
--- trunk/dports/www/mediawiki/Portfile 2009-06-18 07:05:39 UTC (rev 52524)
+++ trunk/dports/www/mediawiki/Portfile 2009-06-18 07:21:35 UTC (rev 52525)
@@ -2,7 +2,7 @@
PortSystem 1.0
name mediawiki
-version 1.14.0
+version 1.15.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories www php
maintainers blb openmaintainer
@@ -18,9 +18,9 @@
homepage http://www.mediawiki.org
master_sites http://download.wikimedia.org/mediawiki/${branch}/
-checksums md5 36bfd924e92b61a6f5fe70c6bc8e5aac \
- sha1 47d98ead3ba1c5c28e7cd30806febf8db650e7f6 \
- rmd160 11ef4698412f5ce716fe82e8d8e76742da1f7da1
+checksums md5 fbe377a9df823de5b223818a260b51b1 \
+ sha1 44ec5acf3f8feab2381dd5e116820b7a8bdf8c23 \
+ rmd160 be4b5e34e6529d50b2c0545cecc011add25fed59
depends_run port:libiconv port:jpeg port:jasper port:tiff port:lcms \
port:libpng port:freetype port:libxml2 port:jbigkit \
@@ -33,13 +33,33 @@
build {}
-set docpath ${destroot}${prefix}/www/data
+set docpath ${prefix}/www/data/${name}
destroot {
- xinstall -d -m 0755 ${docpath}/mediawiki
- eval file copy [glob ${worksrcpath}/*] ${docpath}/mediawiki
+ xinstall -d -m 0755 ${destroot}${docpath}
+ eval file copy [glob ${worksrcpath}/*] ${destroot}${docpath}
}
+post-activate {
+ ui_msg "MediaWiki has now been installed into ${docpath}"
+ ui_msg "Any further information on installation and configuration can"
+ ui_msg "be found at"
+ ui_msg "http://www.mediawiki.org/wiki/Manual:Installation_guide"
+ ui_msg ""
+ ui_msg "If you are upgrading, read"
+ ui_msg "http://www.mediawiki.org/wiki/Manual:Upgrading"
+ ui_msg ""
+ if {![file exists ${docpath}/AdminSettings.php]} {
+ xinstall -m 660 ${docpath}/AdminSettings.sample \
+ ${docpath}/AdminSettings.php
+ ui_msg "Make sure ${docpath}/AdminSettings.php has correct information"
+ } else {
+ ui_msg "${docpath}/AdminSettings.php has not been touched, make sure"
+ ui_msg "it is correct and anything in ${docpath}/AdminSettings.sample"
+ ui_msg "needed has been copied to it"
+ }
+}
+
variant mysql4 conflicts postgresql83 description "use mysql4 instead of mysql5" {
depends_lib-append port:mysql4
depends_lib-delete path:bin/mysql_config5:mysql5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090618/ea86aa5b/attachment.html>
More information about the macports-changes
mailing list