source: trunk/dports/devel/ocaml-ocamlnet/Portfile

Last change on this file was 142698, checked in by landonf@…, 20 months ago

Drop maintainership of (almost) all my ports, as I'm no longer using Mac OS X as my desktop OS.

The dict port here dates back to ~2002; it was the first port used as a test case when we were developing MacPorts.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 142698 2015-11-20 16:55:09Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-ocamlnet
6version             4.0.3
7revision            2
8categories          devel ml
9maintainers         nomaintainer
10license             {BSD GPL-2 LGPL-2}
11description         Internet protocols and helper data structures for OCaml.
12long_description    Internet protocols (http, cgi, email etc.) and helper \
13                    data structures (mail messages, character sets, etc.) \
14                    Ocamlnet implements a number of Internet protocols (http \
15                    client & server, cgi and cgi variants, SunRPC, FTP, POP, \
16                    SMTP) and is a strong base for web and Internet \
17                    programming.
18
19homepage            http://projects.camlcity.org/projects/ocamlnet.html
20platforms           darwin
21master_sites        http://download.camlcity.org/download/
22
23distname            ocamlnet-${version}
24
25checksums           rmd160  66a814b7167de880f2dcaaf8ff9c1f1fd3600a49 \
26                    sha256  d3b030715fe2c5f395ff9c08f0a8d3baa8830161300ba29e5aa8fabb92b182c1
27
28depends_lib         port:ocaml \
29                    port:ocaml-findlib \
30                    port:ocaml-pcre
31
32# ocaml is not universal
33universal_variant   no
34
35post-patch {
36    set ocaml_site_path [exec ocamlfind printconf destdir]
37    reinplace       "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
38                    ${worksrcpath}/Makefile
39}
40
41configure.pre_args
42configure.args      -enable-pcre
43
44build.target        all opt
45use_parallel_build  no
46
47pre-destroot {
48    set ocaml_site_path [exec ocamlfind printconf destdir]
49    file mkdir ${destroot}${ocaml_site_path}/stublibs
50    destroot.args DESTDIR="${destroot}" OCAMLFIND_DESTDIR="${destroot}${ocaml_site_path}"
51}
52
53livecheck.type      regex
54livecheck.regex     {ocamlnet-(\d+(?:\.\d+)*)\.tar}
Note: See TracBrowser for help on using the repository browser.