[62936] trunk/dports/devel/caml-menhir
mww at macports.org
mww at macports.org
Fri Jan 22 02:15:24 PST 2010
Revision: 62936
http://trac.macports.org/changeset/62936
Author: mww at macports.org
Date: 2010-01-22 02:15:18 -0800 (Fri, 22 Jan 2010)
Log Message:
-----------
make menhirLib go into destroot, too (was copied to the final destination directly); increase revision;
Modified Paths:
--------------
trunk/dports/devel/caml-menhir/Portfile
Added Paths:
-----------
trunk/dports/devel/caml-menhir/files/
trunk/dports/devel/caml-menhir/files/patch-Makefile
Modified: trunk/dports/devel/caml-menhir/Portfile
===================================================================
--- trunk/dports/devel/caml-menhir/Portfile 2010-01-22 08:54:38 UTC (rev 62935)
+++ trunk/dports/devel/caml-menhir/Portfile 2010-01-22 10:15:18 UTC (rev 62936)
@@ -3,6 +3,7 @@
PortSystem 1.0
name caml-menhir
version 20090505
+revision 1
categories devel ml
platforms darwin
maintainers erickt avsm openmaintainer
@@ -17,6 +18,8 @@
sha1 74139723eb3fe86870bd839036d27a7d3ccb38da \
rmd160 f31ef9dd53f2e01fa518149077ba3c77037e0541
+patchfiles patch-Makefile
+
depends_lib port:caml-findlib \
port:ocaml
@@ -27,4 +30,4 @@
livecheck.regex {menhir-(.*)\.tar\.gz}
build.env PREFIX=${prefix}
-destroot.env PREFIX=${destroot}${prefix}
+destroot.env PREFIX=${prefix}
Added: trunk/dports/devel/caml-menhir/files/patch-Makefile
===================================================================
--- trunk/dports/devel/caml-menhir/files/patch-Makefile (rev 0)
+++ trunk/dports/devel/caml-menhir/files/patch-Makefile 2010-01-22 10:15:18 UTC (rev 62936)
@@ -0,0 +1,34 @@
+--- work/menhir-20090505/Makefile 2009-05-05 11:30:40.000000000 +0200
++++ Makefile 2010-01-22 11:13:23.000000000 +0100
+@@ -62,20 +62,21 @@
+ # Installation.
+
+ install: src/menhir
+- mkdir -p $(bindir)
+- mkdir -p $(libdir)
+- mkdir -p $(docdir)
+- mkdir -p $(mandir)
+- install src/menhir $(bindir)
+- install -m 644 $(MLYLIB) $(libdir)
+- cp -r $(DOCS) $(docdir)
+- cp -r $(MANS) $(mandir)
++ mkdir -p $(DESTDIR)$(bindir)
++ mkdir -p $(DESTDIR)$(libdir)
++ mkdir -p $(DESTDIR)$(docdir)
++ mkdir -p $(DESTDIR)$(mandir)
++ mkdir -p $(DESTDIR)/`ocamlfind printconf destdir`
++ install src/menhir $(DESTDIR)$(bindir)
++ install -m 644 $(MLYLIB) $(DESTDIR)$(libdir)
++ cp -r $(DOCS) $(DESTDIR)$(docdir)
++ cp -r $(MANS) $(DESTDIR)$(mandir)
+ @cd src && if $(USE_OCAMLFIND) ; then \
+ echo Installing MenhirLib via ocamlfind. ; \
+- ocamlfind install menhirLib META $(MENHIRLIB) ; \
++ ocamlfind install -destdir $(DESTDIR)/`ocamlfind printconf destdir` menhirLib META $(MENHIRLIB) ; \
+ else \
+ echo Installing MenhirLib manually. ; \
+- install -m 644 $(MENHIRLIB) $(libdir) ; \
++ install -m 644 $(MENHIRLIB) $(DESTDIR)$(libdir) ; \
+ fi
+
+ uninstall:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100122/c2489d7a/attachment.html>
More information about the macports-changes
mailing list