source: trunk/dports/www/ocsigen/Portfile

Last change on this file was 137992, checked in by mww@…, 2 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ocaml 1.0
5
6name                ocsigen
7version             2.1
8revision            6
9categories          www devel ml
10platforms           darwin
11license             {LGPL-2.1 OpenSSLException}
12maintainers         mww openmaintainer
13description         ocaml based web and application server
14long_description    ${description}
15homepage            http://ocsigen.org/ocsigenserver/
16master_sites        http://ocsigen.org/download/
17checksums           rmd160  a32552e49c8a0eaec5c01c9d95c54685df7b093e \
18                    sha256  433bf98754c198b1752a8893f52dcb69352e7265dd3634c45eacfdf9702d0cbd
19
20distname            ocsigenserver-${version}
21
22depends_lib         port:ocaml port:ocaml-findlib port:ocaml-react \
23                    port:ocaml-ssl port:ocaml-lwt port:ocaml-ocamlnet \
24                    port:ocaml-pcre port:ocaml-cryptokit port:ocaml-text \
25                    port:tyxml port:ocaml-sqlite3 port:ocaml-zip
26
27post-extract {
28    file attributes ${worksrcpath}/configure -permissions +x
29}
30
31configure.pre_args  --prefix ${prefix}
32configure.args      --with-sqlite --with-camlzip \
33                    --temproot ${destroot} \
34                    --sysconfdir ${prefix}/etc/${name} \
35                    --logdir ${prefix}/var/log/${name} \
36                    --staticpagesdir ${prefix}/var/www/${name} \
37                    --datadir ${prefix}/var/lib/${name} \
38                    --enable-natdynlink \
39                    --commandpipe ${prefix}/var/run/ocsigenserver_command \
40                    --ocsigen-user _www \
41                    --ocsigen-group _www
42
43use_parallel_build  no
44build.target        all doc
45
46destroot.target     install install.doc
47destroot.asroot     yes
48
49livecheck.type      regex
50livecheck.url       http://ocsigen.org/ocsigenserver/install
51livecheck.regex     ocsigenserver-(\[0-9.\]+)${extract.suffix}
52
Note: See TracBrowser for help on using the repository browser.