[87935] trunk/dports/lang/ocamldot

mww at macports.org mww at macports.org
Tue Dec 13 01:47:23 PST 2011


Revision: 87935
          http://trac.macports.org/changeset/87935
Author:   mww at macports.org
Date:     2011-12-13 01:47:23 -0800 (Tue, 13 Dec 2011)
Log Message:
-----------
ocamldot: build as binary; inc. revision;

Modified Paths:
--------------
    trunk/dports/lang/ocamldot/Portfile

Added Paths:
-----------
    trunk/dports/lang/ocamldot/files/
    trunk/dports/lang/ocamldot/files/patch-Makefile.diff

Modified: trunk/dports/lang/ocamldot/Portfile
===================================================================
--- trunk/dports/lang/ocamldot/Portfile	2011-12-13 09:41:45 UTC (rev 87934)
+++ trunk/dports/lang/ocamldot/Portfile	2011-12-13 09:47:23 UTC (rev 87935)
@@ -1,19 +1,19 @@
 # $Id$
 
-PortSystem        1.0
+PortSystem 1.0
 
 name                ocamldot
 # this version number is just slapped on -- there is none and the project is stale since 2001
 version             1.0
+revision            1
 platforms           darwin
 maintainers         mww openmaintainer
 categories          lang ml graphics
 description         dependency graph generator for OCaml generating graphviz dot files
 license             public-domain
-supported_archs     noarch
 
-homepage            http://www.ocaml.org/
-master_sites        http://trevorjim.com/ocamldot/
+homepage            http://trevorjim.com/ocamldot/
+master_sites        ${homepage}
 
 long_description    ${description}
 
@@ -22,8 +22,10 @@
                     sha1    91858540053f9cf59d410164f65365a6685a1678 \
                     rmd160  574f4965a9f441008ca5bdab6425ded31a4c986d
 
-depends_lib         port:ocaml
+patchfiles          patch-Makefile.diff
 
+depends_build       port:ocaml
+
 extract.cmd         cat
 extract.pre_args
 

Added: trunk/dports/lang/ocamldot/files/patch-Makefile.diff
===================================================================
--- trunk/dports/lang/ocamldot/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/lang/ocamldot/files/patch-Makefile.diff	2011-12-13 09:47:23 UTC (rev 87935)
@@ -0,0 +1,11 @@
+--- Makefile	2000-08-11 20:02:12.000000000 +0200
++++ Makefile	2011-12-13 10:43:51.000000000 +0100
+@@ -17,7 +17,7 @@
+ 
+ ocamldot$(EXE): ocamldot.mll
+ 	ocamllex ocamldot.mll
+-	ocamlc -o $@ ocamldot.ml
++	ocamlopt -o $@ ocamldot.ml
+ 
+ clean:
+ 	$(RM) ocamldot$(EXE) ocamldot.ml *.cmi *.cmo *.o *.obj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111213/cc2a9cab/attachment.html>


More information about the macports-changes mailing list