[60574] trunk/dports/devel/odcctools/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 15 17:18:50 PST 2009


Revision: 60574
          http://trac.macports.org/changeset/60574
Author:   ryandesign at macports.org
Date:     2009-11-15 17:18:46 -0800 (Sun, 15 Nov 2009)
Log Message:
-----------
odcctools: fix patch failure (reported in #21693, introduced in r57583), simplify handling of worksrcdir, fix fetch failure following fix for #20777

Revision Links:
--------------
    http://trac.macports.org/changeset/57583

Modified Paths:
--------------
    trunk/dports/devel/odcctools/Portfile

Modified: trunk/dports/devel/odcctools/Portfile
===================================================================
--- trunk/dports/devel/odcctools/Portfile	2009-11-16 00:32:27 UTC (rev 60573)
+++ trunk/dports/devel/odcctools/Portfile	2009-11-16 01:18:46 UTC (rev 60574)
@@ -22,24 +22,24 @@
 
 fetch.type      svn
 svn.revision    150
-svn.url         http://svn.macosforge.org/repository/${name}/trunk ${name}
+svn.url         http://svn.macosforge.org/repository/${name}/trunk
 
-worksrcdir      ${name}/${name}
+worksrcdir      trunk
 
-patchfiles      patch-extract.sh
-
 pre-extract {
-    system "patch -p0 -d ${workpath}/${name} -i ${filespath}/patch-extract.sh"
+    system "patch -p0 -d ${worksrcpath} -i ${filespath}/patch-extract.sh"
 }
 
 set od_extract  ""
 extract {
-    system "cd ${workpath}/${name} && ./extract.sh $od_extract"
+    system "cd ${worksrcpath} && ./extract.sh $od_extract"
 }
 
+configure.dir   ${worksrcpath}/${name}
 configure.args  --mandir=${prefix}/share/man \
                 --program-prefix=od
 
+build.dir       ${configure.dir}
 build.target    default
 
 use_parallel_build  yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091115/18c8360e/attachment.html>


More information about the macports-changes mailing list