source: trunk/dports/www/stog/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.4 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                stog
7version             0.8.0
8revision            2
9categories          www ml
10platforms           darwin
11license             GPL-3
12maintainers         mww openmaintainer
13description         stog is a static web site generator, able to handle blog posts as well as regular pages
14long_description    ${description}
15homepage            http://zoggy.github.com/stog/
16master_sites        http://zoggy.github.com/stog/
17checksums           rmd160  33fe3f6972eb0cbf9f6c79816248cfcdeaefef6e \
18                    sha256  11de9abe83f8e8b38fb19fd97ee31799be4b34de8297086c285f470c2b73338c
19
20depends_lib         port:ocaml port:ocaml-findlib port:ocaml-xmlm \
21                    port:ocaml-ocamlrss port:ocaml-xtmpl port:ocaml-pcre \
22                    port:ocaml-config-file
23depends_run         port:highlight port:dvisvgm port:texlive-bin
24
25patchfiles          patch-Makefile.diff
26
27configure {
28    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
29}
30
31use_parallel_build  no
32
33destroot.args       BINDIR=${prefix}/bin
34
35post-destroot {
36    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
37    xinstall -m 644 -W ${worksrcpath} README Changes LICENSE \
38        ${destroot}${prefix}/share/doc/${name}
39}
40
41livecheck.type      regex
42livecheck.url       http://zoggy.github.com/stog/install.html
43livecheck.regex     stog-(\[0-9.\]+)${extract.suffix}
44
Note: See TracBrowser for help on using the repository browser.