source: trunk/dports/www/moodle/Portfile @ 58229

Last change on this file since 58229 was 58229, checked in by ryandesign@…, 11 years ago

rewrite php5 dependency so php5-devel or php52 can satisfy it

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 58229 2009-09-24 16:33:33Z ryandesign@macports.org $
2PortSystem              1.0
3
4name                    moodle
5version                 1.5.3
6categories              www
7maintainers             nomaintainer
8description             Course management system based on social constructionism
9long_description        Moodle is a course management system (CMS) - a free, Open Source software \
10                        package designed using sound pedagogical principles, to help educators \
11                        create effective online learning communities. You can use it on any \
12                        computer you have handy (including webhosts), yet it can scale from a \
13                        single-teacher site to a 40,000-student University. \
14homepage                http://moodle.org
15set branch              15
16master_sites            http://download.moodle.org/stable${branch}
17distname                moodle-${version}
18extract.suffix          .tgz
19checksums               md5 52dd50298fc1dd8b1b6d8d499608cdd6
20platforms               darwin freebsd
21
22use_configure           no
23build                   {}
24
25depends_lib             port:apache2 path:bin/php:php5 port:mysql5
26
27variant apache {
28        depends_lib-append      port:apache
29        depends_lib-delete      port:apache2
30}
31
32variant php4 {
33        depends_lib-append      port:php4
34        depends_lib-delete      path:bin/php:php5
35}
36
37variant mysql3 conflicts mysql4 {
38        depends_lib-append      port:mysql3
39        depends_lib-delete      port:mysql5
40}
41
42variant mysql4 conflicts mysql3 {
43        depends_lib-append      port:mysql4
44        depends_lib-delete      port:mysql5
45}
46
47set docpath ${destroot}${prefix}/www/data
48             
49destroot {
50        xinstall -d -m 0755 ${docpath}/moodle
51        eval file copy [glob ${workpath}/moodle/*] ${docpath}/moodle
52}
53
54
Note: See TracBrowser for help on using the repository browser.