[76354] trunk/dports/www/caml-cgi

mww at macports.org mww at macports.org
Sun Feb 20 10:41:51 PST 2011


Revision: 76354
          http://trac.macports.org/changeset/76354
Author:   mww at macports.org
Date:     2011-02-20 10:41:51 -0800 (Sun, 20 Feb 2011)
Log Message:
-----------
version 0.8

Modified Paths:
--------------
    trunk/dports/www/caml-cgi/Portfile

Added Paths:
-----------
    trunk/dports/www/caml-cgi/files/
    trunk/dports/www/caml-cgi/files/patch-Makefile.in.diff

Modified: trunk/dports/www/caml-cgi/Portfile
===================================================================
--- trunk/dports/www/caml-cgi/Portfile	2011-02-20 18:30:47 UTC (rev 76353)
+++ trunk/dports/www/caml-cgi/Portfile	2011-02-20 18:41:51 UTC (rev 76354)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                caml-cgi
-version             0.6
+version             0.8
 categories          www devel ml
 platforms           darwin
 maintainers         mww openmaintainer
@@ -11,27 +11,21 @@
 description         OCaml CGI Library
 long_description    ${description}
 
-homepage            http://www.infodrom.org/projects/cgilib/
-master_sites        sourceforge:ocaml-cgi
-distname            CamlGI-${version}
+homepage            http://www.lri.fr/~filliatr/ftp/ocaml/cgi/
+master_sites        http://www.lri.fr/~filliatr/ftp/ocaml/cgi/
+distname            cgi-${version}
 
-checksums           md5     f53aab889a265dcb9ad0e0f7110577a5 \
-                    sha1    a678a50227aa0f5f982ec14481429f124f6f2716 \
-                    rmd160  b16aa89b5e7336f31c947f967f96f4701948960f
+checksums           md5     87e1e239dfb9af15f6c8ed469dca313a \
+                    sha1    33c1640d4616fd7e83cf0a383a52740bfe518434 \
+                    rmd160  be81fa7893a63946066759e33eaa31f1a8da67e2
 
-depends_lib         port:ocaml port:caml-findlib
+depends_lib         port:ocaml
 
-use_configure       no
+patchfiles          patch-Makefile.in.diff
 
-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
-        ${destroot}${prefix}/share/doc/${name}
-    system "cd ${worksrcpath} && make install OCAMLLIBDIR=\"${destroot}/${ocaml_site_path}\""
-    xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${prefix}/share/doc/${name}/
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} CHANGES COPYING LGPL README \
+        ${destroot}${prefix}/share/doc/${name}/
 }
 
-livecheck.type      regex
-livecheck.url       [lindex ${master_sites} 0]
-livecheck.regex     ${name}-(\[0-9.\]+)\\.tar
-

Added: trunk/dports/www/caml-cgi/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/www/caml-cgi/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/www/caml-cgi/files/patch-Makefile.in.diff	2011-02-20 18:41:51 UTC (rev 76354)
@@ -0,0 +1,27 @@
+--- Makefile.in	2006-05-24 08:29:46.000000000 +0200
++++ Makefile.in	2011-02-20 19:38:13.000000000 +0100
+@@ -3,7 +3,7 @@
+ # Configuration part
+ ###################################################################
+ 
+-TARGETDIR = @OCAMLLIB@
++TARGETDIR = $(DESTDIR)@OCAMLLIB@
+ 
+ CAMLC   = @OCAMLC@ -g
+ CAMLOPT = @OCAMLOPT@
+@@ -35,12 +35,15 @@
+ install: install- at OCAMLBEST@
+ 
+ install-common:
++	mkdir -p $(TARGETDIR)
+ 	cp $(COMMFILES) $(TARGETDIR)
+ 
+ install-byte: install-common
++	mkdir -p $(TARGETDIR)
+ 	cp $(BYTEFILES) $(TARGETDIR)
+ 
+ install-opt: install-common install-byte
++	mkdir -p $(TARGETDIR)
+ 	cp $(OPTFILES) $(TARGETDIR)
+ 
+ MAJORVN=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110220/f4593233/attachment-0001.html>


More information about the macports-changes mailing list