Ticket #26071: Portfile.diff
File Portfile.diff, 1.6 KB (added by ldeck, 14 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name moodle 6 version 1.9. 56 version 1.9.9 7 7 set branch [join [lrange [split ${version} .] 0 1] {}] 8 8 categories www 9 9 platforms darwin freebsd … … 22 22 computer you have handy (including webhosts), yet it can scale from a \ 23 23 single-teacher site to a 40,000-student University. 24 24 25 checksums md5 41a3258c2f09dbc7b36fec960bcf4e19\26 sha1 ba4df96c62c28fcd3f5b59583db60919a389037e\27 rmd160 3553e5437ae862a7ec4cf443c396ad383a78720625 checksums md5 f47d350b0b337b3057da550ea88f8695 \ 26 sha1 936eaa405cef8722c31f6a0a385fee7fa9999919 \ 27 rmd160 a44406d71829c88d5ad21a3368b62c76c420c7e7 28 28 29 29 depends_lib port:php5-web \ 30 30 port:php5-mysql 31 31 32 universal_variant no 33 32 34 use_configure no 33 35 build {} 34 36 … … 36 38 file copy ${worksrcpath} ${destroot}${prefix}/www/moodle 37 39 } 38 40 41 variant postgresql { 42 depends_lib-delete port:php5-mysql 43 depends_lib-append port:php5-postgresql 44 } 45 39 46 livecheck.type regex 40 47 livecheck.url http://download.moodle.org/ 41 48 livecheck.regex ${name}-(\[0-9.\]+)\\${extract.suffix}