diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-sqlite3/Portfile devel/caml-sqlite3/Portfile
old
|
new
|
|
1 | | # $Id: Portfile 47078 2009-02-21 18:50:06Z mww@macports.org $ |
| 1 | # $Id: Portfile 40948 2008-10-18 20:05:04Z ryandesign@macports.org $ |
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | |
5 | 5 | name caml-sqlite3 |
6 | | version 1.3.0 |
7 | | categories devel ml databases |
| 6 | version 1.4.0 |
| 7 | revision 1 |
| 8 | categories devel ml |
8 | 9 | maintainers landonf openmaintainer |
9 | 10 | description OCaml bindings for SQLite 3 |
10 | 11 | long_description ${description} |
… |
… |
|
15 | 16 | |
16 | 17 | distname ocaml-sqlite3-${version} |
17 | 18 | |
18 | | |
19 | | checksums md5 8ed5bebf6fb0dd06acebb82ed242cbb0 \ |
20 | | sha1 768d90129216578f645d2ba0c28f48889e4426b6 \ |
21 | | rmd160 105cacd607fbb59f1d9cc3764d76097af1d9c1f5 |
| 19 | checksums md5 257b7de04c29dccf9b70d911f89757ad \ |
| 20 | sha1 10e161c3e5572d27d2abeaf65ed5497746d2654a \ |
| 21 | rmd160 cfd9e16a57dd11d6e6854a00550f96a401a22f6b |
22 | 22 | |
23 | 23 | depends_lib port:ocaml \ |
24 | 24 | port:caml-findlib \ |
25 | 25 | port:sqlite3 |
26 | 26 | |
27 | | patchfiles patch-Makefile.in |
| 27 | patchfiles patch-Makefile.in.diff |
28 | 28 | |
29 | 29 | configure.args --with-sqlite3=${prefix} |
30 | 30 | |
… |
… |
|
33 | 33 | file mkdir ${destroot}/${ocaml_site_path} |
34 | 34 | file mkdir ${destroot}/${ocaml_site_path}/stublibs |
35 | 35 | } |
| 36 | |
| 37 | post-destroot { |
| 38 | xinstall -d -755 ${destroot}${prefix}/share/doc/${name} |
| 39 | eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] \ |
| 40 | ${destroot}/${prefix}/share/doc/${name} |
| 41 | } |
| 42 | |
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-sqlite3/files/patch-Makefile.in devel/caml-sqlite3/files/patch-Makefile.in
old
|
new
|
|
1 | | --- Makefile.in 2009-02-21 19:26:24.000000000 +0100 |
2 | | +++ Makefile.in 2009-02-21 19:29:07.000000000 +0100 |
3 | | @@ -1,6 +1,6 @@ |
4 | | -prefix=@prefix@ |
5 | | -exec_prefix=@exec_prefix@ |
6 | | -bindir=@bindir@ |
7 | | +prefix=$(DESTDIR)/@prefix@ |
8 | | +exec_prefix=$(DESTDIR)/@exec_prefix@ |
9 | | +bindir=$(DESTDIR)/@bindir@ |
10 | | |
11 | | HAS_ENABLE_LOAD_EXTENSION=@HAS_ENABLE_LOAD_EXTENSION@ |
12 | | ifeq ($(HAS_ENABLE_LOAD_EXTENSION), true) |
13 | | @@ -42,9 +42,7 @@ |
14 | | # one in . |
15 | | install: sqlite3.cma sqlite3.cmxa sqlite3top |
16 | | [ -f *.so ] && SO_FILES=*.so; \ |
17 | | - ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES |
18 | | - ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma |
19 | | - $(INSTALL) sqlite3top $(bindir)/sqlite3top |
20 | | + ocamlfind install -ldconf ignore -destdir $(DESTDIR)/`ocamlfind printconf destdir` sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES |
21 | | |
22 | | remove: uninstall |
23 | | uninstall: |
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-sqlite3/files/patch-Makefile.in.diff devel/caml-sqlite3/files/patch-Makefile.in.diff
old
|
new
|
|
| 1 | --- Makefile.in.orig 2009-02-19 12:47:49.000000000 +0000 |
| 2 | +++ Makefile.in 2009-02-19 13:04:32.000000000 +0000 |
| 3 | @@ -1,4 +1,4 @@ |
| 4 | -prefix=@prefix@ |
| 5 | +prefix=$(DESTDIR)@prefix@ |
| 6 | exec_prefix=@exec_prefix@ |
| 7 | bindir=@bindir@ |
| 8 | |
| 9 | @@ -42,9 +42,7 @@ |
| 10 | # one in . |
| 11 | install: sqlite3.cma sqlite3.cmxa sqlite3top |
| 12 | [ -f *.so ] && SO_FILES=*.so; \ |
| 13 | - ocamlfind install sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES |
| 14 | - ocamlfind ocamlmktop -o sqlite3top -package "sqlite3" sqlite3.cma |
| 15 | - $(INSTALL) sqlite3top $(bindir)/sqlite3top |
| 16 | + ocamlfind install -ldconf ignore -destdir $(DESTDIR)/`ocamlfind printconf destdir` sqlite3 META sqlite3.cmi sqlite3.mli sqlite3.cma *.cmxa *.a *.cmx $$SO_FILES |
| 17 | |
| 18 | remove: uninstall |
| 19 | uninstall: |