source: trunk/dports/lang/ocaml3-camlp5/Portfile

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

ocaml3-camlp5: new port (clone camlp5 for ocaml3)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 96031 2012-07-29 12:38:08Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                ocaml3-camlp5
6version             6.06
7categories          lang ml
8license             BSD
9platforms           darwin
10maintainers         nomaintainer
11
12description         Camlp5 is a preprocessor-pretty-printer of OCaml.
13long_description    Camlp5 is a preprocessor and pretty-printer for \
14        OCaml programs. It also provides parsing and printing tools. \
15        As a preprocessor, it allows to: extend the syntax of OCaml, \
16        redefine the whole syntax of the language. As a pretty printer, \
17        it allows to: display OCaml programs in an elegant way, convert \
18        from one syntax to another, check the results of syntax \
19        extensions. Camlp5 also provides some parsing and pretty \
20        printing tools: extensible grammars, extensible printers, \
21        stream parsers and lexers pretty print module.  It works as a \
22        shell command and can also be used in the OCaml toplevel.
23
24homepage            http://pauillac.inria.fr/~ddr/camlp5/
25master_sites        ${homepage}distrib/src/
26
27checksums           rmd160  fefa727e756266d3b0697df494042c327f32294d \
28                    sha256  763f89ee6cde4ca063a50708c3fe252d55ea9f8037e3ae9801690411ea6180c5
29
30distname            camlp5-${version}
31
32depends_build       port:ocaml3
33extract.suffix      .tgz
34configure.env-append PATH=${prefix}/libexec/ocaml3:$env(PATH)
35configure.pre_args  --prefix "${prefix}" \
36                    --bindir "${prefix}/libexec/ocaml3" \
37                    --libdir "${prefix}/lib/ocaml3" \
38                    --mandir "${prefix}/share/man"
39build.env-append    PATH=${prefix}/libexec/ocaml3:$env(PATH)
40build.target        world.opt
41use_parallel_build  no
42
43post-destroot {
44    delete ${destroot}${prefix}/share/man
45}
46
47# ocaml is not universal
48universal_variant   no
49
50livecheck.type  regex
51livecheck.url   [lindex ${master_sites} 0]
52livecheck.regex ${name}-(\[0-9.\]+)\\.tgz
Note: See TracBrowser for help on using the repository browser.