diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cryptokit/Portfile devel/cryptokit/Portfile
|
old
|
new
|
|
| 2 | 2 | |
| 3 | 3 | PortSystem 1.0 |
| 4 | 4 | name cryptokit |
| 5 | | version 1.2 |
| | 5 | version 1.3 |
| | 6 | revision 1 |
| 6 | 7 | categories devel security |
| 7 | 8 | maintainers anil@recoil.org |
| 8 | 9 | description Objective Caml interface to cryptographic functions. |
| … |
… |
|
| 13 | 14 | homepage http://pauillac.inria.fr/~xleroy/software.html |
| 14 | 15 | platforms darwin |
| 15 | 16 | master_sites http://caml.inria.fr/distrib/bazar-ocaml/ |
| 16 | | checksums md5 0249135953f10c1515e88985b45ee4c9 |
| | 17 | checksums md5 d7de01d0702d16b3491c9e794ebb2cc3 \ |
| | 18 | sha1 aebb0b2ed7c89320006de63b73ab639051888a9c \ |
| | 19 | rmd160 bdf1ec365562b534b7995d0f2c3fc06ec203111f |
| 17 | 20 | depends_lib bin:camlp4:ocaml |
| 18 | 21 | use_configure no |
| 19 | | build.target all allopt |
| | 22 | build.target all allopt doc |
| 20 | 23 | |
| 21 | | set instdir ${destroot}${prefix}/lib/ocaml/ |
| 22 | | destroot.args INSTALLDIR=${instdir} |
| | 24 | set instdir ${destroot}${prefix}/lib/ocaml/site-lib |
| | 25 | destroot.args INSTALLDIR=${instdir}/cryptokit |
| | 26 | patchfiles patch-META |
| 23 | 27 | pre-destroot { |
| 24 | | file mkdir ${instdir} |
| | 28 | file mkdir ${instdir}/cryptokit/stublibs |
| | 29 | file mkdir ${instdir}/stublibs |
| 25 | 30 | } |
| 26 | 31 | post-destroot { |
| 27 | | system "ranlib ${instdir}/cryptokit.a" |
| 28 | | system "ranlib ${instdir}/libcryptokit.a" |
| | 32 | system "ranlib ${instdir}/cryptokit/cryptokit.a" |
| | 33 | system "ranlib ${instdir}/cryptokit/libcryptokit.a" |
| | 34 | xinstall ${worksrcpath}/META ${instdir}/cryptokit/META |
| | 35 | system "mv ${instdir}/cryptokit/stublibs/*.so ${instdir}/stublibs/" |
| | 36 | xinstall -d -755 ${destroot}${prefix}/share/doc/${name} |
| | 37 | eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \ |
| | 38 | ${destroot}/${prefix}/share/doc/${name} |
| 29 | 39 | } |
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/cryptokit/files/patch-META devel/cryptokit/files/patch-META
|
old
|
new
|
|
| | 1 | --- META.orig 2009-03-06 02:57:10.000000000 +0000 |
| | 2 | +++ META 2009-03-06 05:29:58.000000000 +0000 |
| | 3 | @@ -0,0 +1,6 @@ |
| | 4 | +name="cryptokit" |
| | 5 | +version="1.3" |
| | 6 | +description="Cryptographic primitives" |
| | 7 | +requires="num unix" |
| | 8 | +archive(byte)="cryptokit.cma" |
| | 9 | +archive(native)="cryptokit.cmxa" |