Ignore:
Timestamp:
Jul 21, 2014, 8:39:43 PM (5 years ago)
Author:
devans@…
Message:

moodle: update to intermediate version 2.2.11 to preserve data from an earlier installation. See notes for details.

Location:
trunk/dports/www/moodle
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/moodle/Portfile

    r122381 r122382  
    55
    66name                    moodle
    7 version                 1.9.9
    8 revision                1
     7version                 2.2.11
    98set branch              [join [lrange [split ${version} .] 0 1] {}]
    109categories              www
     
    2625                        single-teacher site to a 40,000-student University.
    2726
    28 checksums               md5     f47d350b0b337b3057da550ea88f8695 \
    29                         sha1    936eaa405cef8722c31f6a0a385fee7fa9999919 \
    30                         rmd160  a44406d71829c88d5ad21a3368b62c76c420c7e7
     27checksums               rmd160  6087f94e27290753e23d5e43bb0a033bd006fda3 \
     28                        sha256  6760dc478253718cfa92a71fae100fd8918e40c9e3e73fe623502a40bcc25c32
    3129
    3230depends_lib             port:php5-web
     
    6765}
    6866
     67notes "
     68This is version ${version} of ${name}.  The current version is 2.7+ but if you are
     69upgrading from a version of ${name} earlier than version 2.2 you must upgrade to
     70this version first to preserve your existing data. After doing so you can update
     71directly from this version to the current one.
     72
     73For more information see http://docs.moodle.org/22/en/Upgrading_to_Moodle_2.2
     74"
     75
    6976livecheck.type          regex
    7077livecheck.url           http://download.moodle.org/
  • trunk/dports/www/moodle/files/patch-prefix.diff

    r70600 r122382  
    1 --- filter/tex/filtersettings.php.orig  2010-04-10 19:03:41.000000000 -0500
    2 +++ filter/tex/filtersettings.php       2010-08-14 21:07:11.000000000 -0500
    3 @@ -15,10 +15,9 @@
    4      $default_filter_tex_pathconvert = "/usr/bin/convert";
     1--- filter/tex/filtersettings.php.orig  2013-07-06 08:49:18.000000000 -0700
     2+++ filter/tex/filtersettings.php       2014-07-21 13:12:37.000000000 -0700
     3@@ -43,9 +43,9 @@
    54 
    6  } else if (PHP_OS=='Darwin') {
    7 -    // most likely needs a fink install (fink.sf.net)
    8 -    $default_filter_tex_pathlatex   = "/sw/bin/latex";
    9 -    $default_filter_tex_pathdvips   = "/sw/bin/dvips";
    10 -    $default_filter_tex_pathconvert = "/sw/bin/convert";
    11 +    $default_filter_tex_pathlatex   = "@PREFIX@/bin/latex";
    12 +    $default_filter_tex_pathdvips   = "@PREFIX@/bin/dvips";
    13 +    $default_filter_tex_pathconvert = "@PREFIX@/bin/convert";
     5     } else if (PHP_OS=='Darwin') {
     6         // most likely needs a fink install (fink.sf.net)
     7-        $default_filter_tex_pathlatex   = "/sw/bin/latex";
     8-        $default_filter_tex_pathdvips   = "/sw/bin/dvips";
     9-        $default_filter_tex_pathconvert = "/sw/bin/convert";
     10+        $default_filter_tex_pathlatex   = "@PREFIX@/bin/latex";
     11+        $default_filter_tex_pathdvips   = "@PREFIX@/bin/dvips";
     12+        $default_filter_tex_pathconvert = "@PREFIX@/bin/convert";
    1413 
    15  } else if (PHP_OS=='WINNT' or PHP_OS=='WIN32' or PHP_OS=='Windows') {
    16      // note: you need Ghostscript installed (standard), miktex (standard)
     14     } else if (PHP_OS=='WINNT' or PHP_OS=='WIN32' or PHP_OS=='Windows') {
     15         // note: you need Ghostscript installed (standard), miktex (standard)
     16@@ -74,4 +74,4 @@
     17         $item->set_updatedcallback('filter_tex_updatedcallback');
     18         $settings->add($item);
     19     }
     20-}
     21\ No newline at end of file
     22+}
Note: See TracChangeset for help on using the changeset viewer.