Changeset 83986


Ignore:
Timestamp:
Sep 14, 2011, 8:25:11 AM (9 years ago)
Author:
mww@…
Message:

version 107.01; take (open)maintainership;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/caml-fieldslib/Portfile

    r77745 r83986  
    11# $Id$
    22
    3 PortSystem          1.0
     3PortSystem 1.0
     4
    45name                caml-fieldslib
    5 version             0.1.2
     6version             107.01
    67distname            fieldslib-${version}
    78categories          devel ml
    8 maintainers         nomaintainer
     9maintainers         mww openmaintainer
    910description         Syntax support for folding over record fields in OCaml
    1011long_description    This library defines a syntax extension for OCaml using Camlp4 that \
     
    1718master_sites        http://www.janestreet.com/ocaml/
    1819
    19 livecheck.url       http://ocaml.janestreet.com/?q=node/13
    2020livecheck.type      regex
    21 livecheck.regex     {fieldslib-(.*)\.tgz}
     21livecheck.regex     {fieldslib-(.*)\.tar.gz}
    2222
    23 checksums           md5     d7cf2d3a815cd55352b0d5be164fc687 \
    24                     sha1    302362ed8c3ce1913246da9584abec8311617807 \
    25                     rmd160  3207b2baf8e8e5aa6cf27d1660bf9503db925a58
     23checksums           md5     f2ed8e1b485881405dba601ffd87112b \
     24                    sha1    3028363f3f92f2dc4e7adf1b1a8d6db1ecafb75b \
     25                    rmd160  f3e000d2ede046afb4db3eaa72ef8b6b217e7388
    2626
    2727depends_lib         port:ocaml port:caml-findlib port:caml-type-conv
    2828
    29 use_configure       no
     29set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
     30
     31# cheat the system by providing a thin ocamlfind-wrapper that obeys destdir
     32post-extract {
     33    system -W ${worksrcpath} "echo ${prefix}/bin/ocamlfind \\$* -destdir ${ocamlfind_destdir} > ocamlfind"
     34    system -W ${worksrcpath} "chmod +x ocamlfind"
     35}
     36
     37configure.pre_args  --prefix "${prefix}" --destdir "${destroot}"
     38post-configure {
     39    reinplace "s|${prefix}/bin/ocamlfind|${worksrcpath}/ocamlfind|g" ${worksrcpath}/setup.data
     40}
     41
    3042use_parallel_build  no
    3143
    32 build.env           PREFIX=${prefix}
     44pre-destroot {
     45    xinstall -m 755 -d $ocamlfind_destdir
     46}
    3347
    34 set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
    35 
    36 destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
    37 
    38 pre-destroot {
    39     file mkdir $ocamlfind_destdir
    40 }
Note: See TracChangeset for help on using the changeset viewer.