[46351] trunk/dports/graphics/graphviz-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Feb 3 02:15:15 PST 2009
Revision: 46351
http://trac.macports.org/changeset/46351
Author: ryandesign at macports.org
Date: 2009-02-03 02:15:13 -0800 (Tue, 03 Feb 2009)
Log Message:
-----------
graphviz-devel:
* update to 2.21.20090202.1215
* make the "config5" file part of the destroot; see #18272
Modified Paths:
--------------
trunk/dports/graphics/graphviz-devel/Portfile
Modified: trunk/dports/graphics/graphviz-devel/Portfile
===================================================================
--- trunk/dports/graphics/graphviz-devel/Portfile 2009-02-03 09:37:26 UTC (rev 46350)
+++ trunk/dports/graphics/graphviz-devel/Portfile 2009-02-03 10:15:13 UTC (rev 46351)
@@ -4,7 +4,7 @@
name graphviz-devel
set my_name graphviz
-version 2.21.20090121.0545
+version 2.21.20090202.1215
categories graphics
maintainers ryandesign
homepage http://www.graphviz.org/
@@ -35,9 +35,9 @@
checksums \
${distname}${extract.suffix} \
- md5 67956ca52e38bd3a875d9e92b9f4a20b \
- sha1 9a74a03576f165c4eebe0e3cea931a3b67199286 \
- rmd160 b5d39c5bd730a03ae390734af2e0ffdb9de57f7e
+ md5 c5b5f26e89b80dc2a1fa9b1cef1e4050 \
+ sha1 e99b17df509d32eb261178f9428fdad7853bf168 \
+ rmd160 eb6d8374fce4b05ea43a18368e2711839828602d
platform darwin 6 {
pre-fetch {
@@ -398,11 +398,19 @@
}
}
-# Make the configuration file that makes the plugins work:
-post-activate {
- system "dot -c"
+post-destroot {
+ # Make the configuration file that makes the plugins work.
+ system "GVBINDIR=${destroot}${prefix}/lib/graphviz DYLD_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/bin/dot -c"
}
+pre-install {
+ # Remove old configuration file left behind by old versions of this port.
+ set config ${prefix}/lib/graphviz/config5
+ if {[file exists ${config}]} {
+ delete ${config}
+ }
+}
+
livecheck.check regex
livecheck.url ${homepage}Download_source.php
livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090203/60ab40ea/attachment.html>
More information about the macports-changes
mailing list