[60251] trunk/dports/devel
mww at macports.org
mww at macports.org
Sat Nov 7 03:12:27 PST 2009
Revision: 60251
http://trac.macports.org/changeset/60251
Author: mww at macports.org
Date: 2009-11-07 03:12:24 -0800 (Sat, 07 Nov 2009)
Log Message:
-----------
new port devel/caml-getopt
Added Paths:
-----------
trunk/dports/devel/caml-getopt/
trunk/dports/devel/caml-getopt/Portfile
trunk/dports/devel/caml-getopt/files/
trunk/dports/devel/caml-getopt/files/patch-Makefile
Added: trunk/dports/devel/caml-getopt/Portfile
===================================================================
--- trunk/dports/devel/caml-getopt/Portfile (rev 0)
+++ trunk/dports/devel/caml-getopt/Portfile 2009-11-07 11:12:24 UTC (rev 60251)
@@ -0,0 +1,42 @@
+# $Id$
+
+PortSystem 1.0
+
+name caml-getopt
+version 20040811
+categories devel ml
+maintainers mww openmaintainer
+platforms darwin
+description getopt command line parser for OCaml
+long_description ${description}
+
+homepage http://alain.frisch.fr/soft.html
+master_sites http://alain.frisch.fr/info/
+
+distname getopt-${version}
+
+checksums md5 3e9f5de83475c05141c6e281f49994d6 \
+ sha1 ae0e548d24530c19f4c6715cb715fc470b12dff0 \
+ rmd160 c13cfe1f8940a759a479e56c1cbdb9a110048a1b
+
+depends_lib port:ocaml \
+ port:caml-findlib
+
+patchfiles patch-Makefile
+
+worksrcdir getopt
+
+use_configure no
+
+pre-destroot {
+ set ocaml_site_path [exec ocamlfind printconf destdir]
+ xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
+ ${destroot}/${prefix}/share/doc/ \
+ ${destroot}/${prefix}/share/examples/${name}
+ file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} COPYING Changes README \
+ ${destroot}/${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/sample.ml \
+ ${destroot}${prefix}/share/examples/${name}
+}
+
Property changes on: trunk/dports/devel/caml-getopt/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: trunk/dports/devel/caml-getopt/files/patch-Makefile
===================================================================
--- trunk/dports/devel/caml-getopt/files/patch-Makefile (rev 0)
+++ trunk/dports/devel/caml-getopt/files/patch-Makefile 2009-11-07 11:12:24 UTC (rev 60251)
@@ -0,0 +1,11 @@
+--- work/getopt/Makefile 2004-04-20 15:38:04.000000000 +0200
++++ Makefile 2009-11-07 12:08:00.000000000 +0100
+@@ -23,7 +23,7 @@
+ ocamlc -o sample unix.cma getopt.cma sample.cmo
+
+ install:
+- ocamlfind install getopt META getopt.cmi getopt.cma $(wildcard getopt.cmxa) $(wildcard getopt.o) $(wildcard getopt.a)
++ ocamlfind install -destdir $(DESTDIR)/`ocamlfind printconf destdir` getopt META getopt.cmi getopt.cma $(wildcard getopt.cmxa) $(wildcard getopt.o) $(wildcard getopt.a)
+
+ uninstall:
+ ocamlfind remove getopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091107/d00045fc/attachment.html>
More information about the macports-changes
mailing list