source: trunk/dports/lang/ocaml-dypgen/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.6 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                ocaml-dypgen
7version             20120619-1
8revision            4
9categories          lang devel ml
10platforms           darwin
11license             CeCILL-B
12maintainers         mww openmaintainer
13description         Self-extensible parsers and lexers for the Objective Caml programming language.
14long_description    ${description}
15homepage            http://dypgen.free.fr/
16master_sites        ${homepage}
17
18distname            dypgen-${version}
19use_bzip2           yes
20
21checksums           rmd160  c5e9bd52d964c0cd2a68780d40f28735700bb747 \
22                    sha256  ecb53d6e469e9ec4d57ee6323ff498d45b78883ae13618492488e7c5151fdd97
23
24depends_lib         port:ocaml-findlib \
25                    port:ocaml
26
27worksrcdir          dypgen
28
29patchfiles          patch-Makefile.diff patch-dyplib-Makefile.diff
30
31configure {
32    reinplace "s|@ocamlfind@|${ocamlfind_wrapper}|g" ${worksrcpath}/dyplib/Makefile
33}
34
35use_configure       no
36
37use_parallel_build  no
38
39build.target        dyp
40
41destroot.args       BINDIR=${prefix}/bin MANDIR=${prefix}/share/man/man1
42
43post-destroot {
44    xinstall -m 755 -d ${destroot}${prefix}/share/examples \
45        ${destroot}${prefix}/share/doc/${name}
46    file copy ${worksrcpath}/demos ${destroot}${prefix}/share/examples/${name}
47    xinstall -m 644 -W ${worksrcpath} dypgen-doc.pdf CHANGES \
48        CREDITS INSTALL Licence_CeCILL-B_V1-en.txt Licence_CeCILL-B_V1-fr.txt \
49        ${destroot}${prefix}/share/doc/${name}
50}
51
52livecheck.type      regex
53livecheck.url       http://dypgen.free.fr/download.html
54livecheck.regex     dypgen-(\[0-9.-\]+).tar.bz2
Note: See TracBrowser for help on using the repository browser.