[58280] trunk/dports/www/moodle/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 24 21:09:52 PDT 2009


Revision: 58280
          http://trac.macports.org/changeset/58280
Author:   ryandesign at macports.org
Date:     2009-09-24 21:09:49 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
moodle: update to 1.9.5, change install location, simplify destroot, remove all variants, depend on php5-web and php5-mysql now

Modified Paths:
--------------
    trunk/dports/www/moodle/Portfile

Modified: trunk/dports/www/moodle/Portfile
===================================================================
--- trunk/dports/www/moodle/Portfile	2009-09-25 03:54:12 UTC (rev 58279)
+++ trunk/dports/www/moodle/Portfile	2009-09-25 04:09:49 UTC (rev 58280)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    moodle
-version                 1.5.3
+version                 1.9.5
 set branch              [join [lrange [split ${version} .] 0 1] {}]
 categories              www
 platforms               darwin freebsd
@@ -12,6 +12,7 @@
 homepage                http://moodle.org/
 master_sites            http://download.moodle.org/stable${branch}
 extract.suffix          .tgz
+worksrcdir              ${name}
 
 description             Course management system based on social constructionism
 
@@ -21,38 +22,18 @@
                         computer you have handy (including webhosts), yet it can scale from a \
                         single-teacher site to a 40,000-student University.
 
-checksums               md5 52dd50298fc1dd8b1b6d8d499608cdd6
+checksums               md5     41a3258c2f09dbc7b36fec960bcf4e19 \
+                        sha1    ba4df96c62c28fcd3f5b59583db60919a389037e \
+                        rmd160  3553e5437ae862a7ec4cf443c396ad383a787206
 
+depends_lib             port:php5-web \
+                        port:php5-mysql
+
 use_configure           no
 build                   {}
 
-depends_lib             port:apache2 path:bin/php:php5 path:bin/mysql_config5:mysql5
-
-variant apache {
-    depends_lib-append  port:apache
-    depends_lib-delete  port:apache2
-}
-
-variant php4 {
-    depends_lib-append  port:php4
-    depends_lib-delete  path:bin/php:php5
-}
-
-variant mysql3 conflicts mysql4 {
-    depends_lib-append  port:mysql3
-    depends_lib-delete  path:bin/mysql_config5:mysql5
-}
-
-variant mysql4 conflicts mysql3 {
-    depends_lib-append  port:mysql4
-    depends_lib-delete  path:bin/mysql_config5:mysql5
-}
-
-set docpath ${destroot}${prefix}/www/data
-
 destroot {
-    xinstall -d -m 0755 ${docpath}/moodle
-    eval file copy [glob ${workpath}/moodle/*] ${docpath}/moodle
+    file copy ${worksrcpath} ${destroot}${prefix}/www/moodle
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/79c1daed/attachment.html>


More information about the macports-changes mailing list