[79066] trunk/dports/devel
jmr at macports.org
jmr at macports.org
Tue May 31 15:30:46 PDT 2011
Revision: 79066
http://trac.macports.org/changeset/79066
Author: jmr at macports.org
Date: 2011-05-31 15:30:46 -0700 (Tue, 31 May 2011)
Log Message:
-----------
New port: ocaml-magic, OCaml binding for libmagic (#16184)
Added Paths:
-----------
trunk/dports/devel/ocaml-magic/
trunk/dports/devel/ocaml-magic/Portfile
Added: trunk/dports/devel/ocaml-magic/Portfile
===================================================================
--- trunk/dports/devel/ocaml-magic/Portfile (rev 0)
+++ trunk/dports/devel/ocaml-magic/Portfile 2011-05-31 22:30:46 UTC (rev 79066)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem 1.0
+
+name ocaml-magic
+version 0.7.3
+categories devel ml sysutils
+maintainers rastageeks.org:toots
+description OCaml bindings for the libmagic file MIME detection library
+long_description OCaml Magic is a binding to libmagic. It tries to \
+ classify files using various tests (filesystem tests, \
+ magic number tests, and language tests).
+homepage http://savonet.sf.net/
+platforms darwin
+master_sites sourceforge
+
+checksums md5 5b8a4d149fe8ce095ab8115f2e49beba \
+ sha1 1722b189b2d530d313e990a21d94c39749edeb7e \
+ rmd160 f4ab1763f84ecd95656a85d100fb9d63b53f5868
+
+depends_lib port:ocaml \
+ port:caml-findlib \
+ port:file
+
+build.args INCDIRS=${prefix}/include LIBDIRS=${prefix}/lib
+
+pre-destroot {
+ set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
+ file mkdir $ocamlfind_destdir
+ reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
+ ${worksrcpath}/OCamlMakefile
+}
Property changes on: trunk/dports/devel/ocaml-magic/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110531/944f2681/attachment-0001.html>
More information about the macports-changes
mailing list