[122382] trunk/dports/www/moodle
devans at macports.org
devans at macports.org
Mon Jul 21 13:39:43 PDT 2014
Revision: 122382
https://trac.macports.org/changeset/122382
Author: devans at macports.org
Date: 2014-07-21 13:39:43 -0700 (Mon, 21 Jul 2014)
Log Message:
-----------
moodle: update to intermediate version 2.2.11 to preserve data from an earlier installation. See notes for details.
Modified Paths:
--------------
trunk/dports/www/moodle/Portfile
trunk/dports/www/moodle/files/patch-prefix.diff
Modified: trunk/dports/www/moodle/Portfile
===================================================================
--- trunk/dports/www/moodle/Portfile 2014-07-21 19:49:32 UTC (rev 122381)
+++ trunk/dports/www/moodle/Portfile 2014-07-21 20:39:43 UTC (rev 122382)
@@ -4,8 +4,7 @@
PortSystem 1.0
name moodle
-version 1.9.9
-revision 1
+version 2.2.11
set branch [join [lrange [split ${version} .] 0 1] {}]
categories www
platforms darwin freebsd
@@ -25,9 +24,8 @@
computer you have handy (including webhosts), yet it can scale from a \
single-teacher site to a 40,000-student University.
-checksums md5 f47d350b0b337b3057da550ea88f8695 \
- sha1 936eaa405cef8722c31f6a0a385fee7fa9999919 \
- rmd160 a44406d71829c88d5ad21a3368b62c76c420c7e7
+checksums rmd160 6087f94e27290753e23d5e43bb0a033bd006fda3 \
+ sha256 6760dc478253718cfa92a71fae100fd8918e40c9e3e73fe623502a40bcc25c32
depends_lib port:php5-web
@@ -66,6 +64,15 @@
default_variants +mysql
}
+notes "
+This is version ${version} of ${name}. The current version is 2.7+ but if you are
+upgrading from a version of ${name} earlier than version 2.2 you must upgrade to
+this version first to preserve your existing data. After doing so you can update
+directly from this version to the current one.
+
+For more information see http://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2
+"
+
livecheck.type regex
livecheck.url http://download.moodle.org/
livecheck.regex ${name}-(\[0-9.\]+)\\${extract.suffix}
Modified: trunk/dports/www/moodle/files/patch-prefix.diff
===================================================================
--- trunk/dports/www/moodle/files/patch-prefix.diff 2014-07-21 19:49:32 UTC (rev 122381)
+++ trunk/dports/www/moodle/files/patch-prefix.diff 2014-07-21 20:39:43 UTC (rev 122382)
@@ -1,16 +1,22 @@
---- filter/tex/filtersettings.php.orig 2010-04-10 19:03:41.000000000 -0500
-+++ filter/tex/filtersettings.php 2010-08-14 21:07:11.000000000 -0500
-@@ -15,10 +15,9 @@
- $default_filter_tex_pathconvert = "/usr/bin/convert";
+--- filter/tex/filtersettings.php.orig 2013-07-06 08:49:18.000000000 -0700
++++ filter/tex/filtersettings.php 2014-07-21 13:12:37.000000000 -0700
+@@ -43,9 +43,9 @@
- } else if (PHP_OS=='Darwin') {
-- // most likely needs a fink install (fink.sf.net)
-- $default_filter_tex_pathlatex = "/sw/bin/latex";
-- $default_filter_tex_pathdvips = "/sw/bin/dvips";
-- $default_filter_tex_pathconvert = "/sw/bin/convert";
-+ $default_filter_tex_pathlatex = "@PREFIX@/bin/latex";
-+ $default_filter_tex_pathdvips = "@PREFIX@/bin/dvips";
-+ $default_filter_tex_pathconvert = "@PREFIX@/bin/convert";
+ } else if (PHP_OS=='Darwin') {
+ // most likely needs a fink install (fink.sf.net)
+- $default_filter_tex_pathlatex = "/sw/bin/latex";
+- $default_filter_tex_pathdvips = "/sw/bin/dvips";
+- $default_filter_tex_pathconvert = "/sw/bin/convert";
++ $default_filter_tex_pathlatex = "@PREFIX@/bin/latex";
++ $default_filter_tex_pathdvips = "@PREFIX@/bin/dvips";
++ $default_filter_tex_pathconvert = "@PREFIX@/bin/convert";
- } else if (PHP_OS=='WINNT' or PHP_OS=='WIN32' or PHP_OS=='Windows') {
- // note: you need Ghostscript installed (standard), miktex (standard)
+ } else if (PHP_OS=='WINNT' or PHP_OS=='WIN32' or PHP_OS=='Windows') {
+ // note: you need Ghostscript installed (standard), miktex (standard)
+@@ -74,4 +74,4 @@
+ $item->set_updatedcallback('filter_tex_updatedcallback');
+ $settings->add($item);
+ }
+-}
+\ No newline at end of file
++}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140721/c7bf5b50/attachment.html>
More information about the macports-changes
mailing list