[20568] trunk/dports/math/metis/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Nov 7 03:41:13 PST 2006
Revision: 20568
http://trac.macosforge.org/projects/macports/changeset/20568
Author: stechert at macports.org
Date: 2006-11-07 03:41:12 -0800 (Tue, 07 Nov 2006)
Log Message:
-----------
It wasn't possible to use the metis.h header because it expected its supporting
headers to be in the top level include directory. Fixed this by prepending
metis/ to each of the included header files. Octave now recognizes that metis
is available when it is.
Modified Paths:
--------------
trunk/dports/math/metis/Portfile
Modified: trunk/dports/math/metis/Portfile
===================================================================
--- trunk/dports/math/metis/Portfile 2006-11-07 11:29:48 UTC (rev 20567)
+++ trunk/dports/math/metis/Portfile 2006-11-07 11:41:12 UTC (rev 20568)
@@ -30,6 +30,11 @@
oemetis onmetis partdmesh partnmesh pmetis ${destroot}${prefix}/bin
xinstall -W ${worksrcpath}/Lib defs.h macros.h metis.h proto.h rename.h \
struct.h ${destroot}${prefix}/include/metis
+ reinplace "s,#include <defs.h>,#include <metis/defs.h>," ${destroot}${prefix}/include/metis/metis.h
+ reinplace "s,#include <struct.h>,#include <metis/struct.h>," ${destroot}${prefix}/include/metis/metis.h
+ reinplace "s,#include <macros.h>,#include <metis/macros.h>," ${destroot}${prefix}/include/metis/metis.h
+ reinplace "s,#include <rename.h>,#include <metis/rename.h>," ${destroot}${prefix}/include/metis/metis.h
+ reinplace "s,#include <proto.h>,#include <metis/proto.h>," ${destroot}${prefix}/include/metis/metis.h
xinstall -m 644 ${worksrcpath}/libmetis.a ${destroot}${prefix}/lib
xinstall -m 644 ${worksrcpath}/Doc/manual.ps \
${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061107/64206756/attachment.html
More information about the macports-changes
mailing list