source: trunk/dports/lang/ocaml-dypgen/Portfile @ 88561

Last change on this file since 88561 was 88561, checked in by mww@…, 5 years ago

ocaml-dypgen: version 20111127-1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 88561 2012-01-04 10:29:45Z mww@macports.org $
2
3PortSystem          1.0
4PortGroup ocaml 1.0
5
6name                ocaml-dypgen
7version             20111127-1
8categories          lang devel ml
9platforms           darwin
10maintainers         mww openmaintainer
11description         Self-extensible parsers and lexers for the Objective Caml programming language.
12long_description    ${description}
13homepage            http://dypgen.free.fr/
14master_sites        ${homepage}
15
16distname            dypgen-${version}
17use_bzip2           yes
18
19checksums           md5     507a812a5dae7c61fb8e38e8f9677f99 \
20                    sha1    33fcd137bb5187043451b956605bf7dff5b195f7 \
21                    rmd160  5f80156d3d950a0ea8811a0c496d4eba9631f9a0
22
23depends_lib         port:ocaml-findlib \
24                    port:ocaml
25
26worksrcdir          dypgen
27
28patchfiles          patch-Makefile.diff patch-dyplib-Makefile.diff
29
30configure {
31    reinplace "s|@ocamlfind@|${ocamlfind_wrapper}|g" ${worksrcpath}/dyplib/Makefile
32}
33
34use_configure       no
35
36use_parallel_build  no
37
38build.target        dyp
39
40destroot.args       BINDIR=${prefix}/bin MANDIR=${prefix}/share/man/man1
41
42post-destroot {
43    xinstall -m 755 -d ${destroot}${prefix}/share/examples \
44        ${destroot}${prefix}/share/doc/${name}
45    file copy ${worksrcpath}/demos ${destroot}${prefix}/share/examples/${name}
46    xinstall -m 644 -W ${worksrcpath} dypgen-doc.pdf CHANGES \
47        CREDITS INSTALL Licence_CeCILL-B_V1-en.txt Licence_CeCILL-B_V1-fr.txt \
48        ${destroot}${prefix}/share/doc/${name}
49}
50
Note: See TracBrowser for help on using the repository browser.