[95683] trunk/dports/www
mww at macports.org
mww at macports.org
Thu Jul 19 01:00:17 PDT 2012
Revision: 95683
https://trac.macports.org/changeset/95683
Author: mww at macports.org
Date: 2012-07-19 01:00:15 -0700 (Thu, 19 Jul 2012)
Log Message:
-----------
caml-cgi -> ocaml-cgi
Modified Paths:
--------------
trunk/dports/www/ocaml-cgi/Portfile
Added Paths:
-----------
trunk/dports/www/ocaml-cgi/
trunk/dports/www/ocaml-cgi/files/META
Modified: trunk/dports/www/ocaml-cgi/Portfile
===================================================================
--- trunk/dports/www/caml-cgi/Portfile 2012-06-16 16:44:01 UTC (rev 94367)
+++ trunk/dports/www/ocaml-cgi/Portfile 2012-07-19 08:00:15 UTC (rev 95683)
@@ -1,8 +1,9 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
-name caml-cgi
+name ocaml-cgi
version 0.8
categories www devel ml
platforms darwin
@@ -22,10 +23,15 @@
depends_lib port:ocaml
patchfiles patch-Makefile.in.diff
+post-patch {
+ reinplace "s|@OCAMLLIB@|${ocamlfind_dir}/cgi|g" ${worksrcpath}/Makefile.in
+}
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}/
+ xinstall -m 644 ${filespath}/META \
+ ${destroot}${ocamlfind_dir}/cgi
}
Added: trunk/dports/www/ocaml-cgi/files/META
===================================================================
--- trunk/dports/www/ocaml-cgi/files/META (rev 0)
+++ trunk/dports/www/ocaml-cgi/files/META 2012-07-19 08:00:15 UTC (rev 95683)
@@ -0,0 +1,6 @@
+name="cgi"
+version="0.8"
+description="common gateway interface"
+requires="str"
+archive(byte)="cgi.cmo"
+archive(native)="cgi.cmx"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120719/7af0a12f/attachment.html>
More information about the macports-changes
mailing list