[30987] trunk/dports/devel/caml-pcre/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 00:34:52 PST 2007


Revision: 30987
          http://trac.macosforge.org/projects/macports/changeset/30987
Author:   eridius at macports.org
Date:     2007-11-13 00:34:51 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
Remove usage of "cd" command

Modified Paths:
--------------
    trunk/dports/devel/caml-pcre/Portfile

Modified: trunk/dports/devel/caml-pcre/Portfile
===================================================================
--- trunk/dports/devel/caml-pcre/Portfile	2007-11-13 08:29:09 UTC (rev 30986)
+++ trunk/dports/devel/caml-pcre/Portfile	2007-11-13 08:34:51 UTC (rev 30987)
@@ -25,7 +25,7 @@
 livecheck.check     regex
 livecheck.regex     "pcre-ocaml-(.*?).tar.gz"
 
-depends_lib         bin:caml4p:ocaml bin:ocamlfind:caml-findlib lib:pcre:pcre
+depends_lib         bin:camlp4:ocaml bin:ocamlfind:caml-findlib lib:pcre:pcre
 
 patchfiles          patch-OCamlMakefile patch-Makefile.conf
 
@@ -50,12 +50,11 @@
 
 post-destroot {
         # install the doc/examples dirs if we built them
-        cd $worksrcpath
         if {[variant_isset doc]} then {
-            file copy lib/doc/pcre [ocamlfind_destdir]/pcre/pcre-doc
+            file copy ${worksrcpath}/lib/doc/pcre [ocamlfind_destdir]/pcre/pcre-doc
         }
         if {[variant_isset examples]} then {
-            file copy examples [ocamlfind_destdir]/pcre/pcre-examples
+            file copy ${worksrcpath}/examples [ocamlfind_destdir]/pcre/pcre-examples
         }
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071113/ec87d9d0/attachment-0001.html


More information about the macports-changes mailing list