[98702] trunk/dports/www/pathalizer

ryandesign at macports.org ryandesign at macports.org
Sat Oct 13 03:58:44 PDT 2012


Revision: 98702
          http://trac.macports.org//changeset/98702
Author:   ryandesign at macports.org
Date:     2012-10-13 03:58:44 -0700 (Sat, 13 Oct 2012)
Log Message:
-----------
pathalizer: ensure we're UsingTheRightCompiler and -arch flags and fix universal variant; fix typos in sample config file; rewrite dependencies to ensure only MacPorts ports can satisfy them

Modified Paths:
--------------
    trunk/dports/www/pathalizer/Portfile
    trunk/dports/www/pathalizer/files/pathalizer.conf

Modified: trunk/dports/www/pathalizer/Portfile
===================================================================
--- trunk/dports/www/pathalizer/Portfile	2012-10-13 10:51:42 UTC (rev 98701)
+++ trunk/dports/www/pathalizer/Portfile	2012-10-13 10:58:44 UTC (rev 98702)
@@ -5,6 +5,7 @@
 
 name                pathalizer
 version             0.7
+revision            1
 categories          www
 platforms           darwin
 maintainers         nomaintainer
@@ -21,12 +22,17 @@
 
 checksums           md5     7ef23977fc246dcdf332e4eec3111037
 
-depends_run         bin:gs:ghostscript \
-                    bin:dot:graphviz \
+depends_run         port:ghostscript \
+                    path:bin/dot:graphviz \
                     port:netpbm
 
-configure {
+use_configure       no
+
+variant universal {}
+
+post-patch {
     reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/bin/pathalizer
+    reinplace "s|g++|${configure.cxx} [get_canonical_archflags cxx]|g" ${worksrcpath}/src/Makefile
 }
 
 destroot.destdir    PREFIX=${destroot}${prefix}

Modified: trunk/dports/www/pathalizer/files/pathalizer.conf
===================================================================
--- trunk/dports/www/pathalizer/files/pathalizer.conf	2012-10-13 10:51:42 UTC (rev 98701)
+++ trunk/dports/www/pathalizer/files/pathalizer.conf	2012-10-13 10:58:44 UTC (rev 98702)
@@ -2,12 +2,12 @@
 # any lines that match on the regexp /\.png/
 ignore \.png
 
-# events2dot will filter out edges that are taken less than min_edgewidth
-# times. '-1' is the default, and causes events2dot to establish
-# min_edgewidth automatically based on max_edgecount
+# event2dot will filter out edges that are taken less than min_edgewidth
+# times. '-1' is the default, and causes event2dot to establish
+# min_edgewidth automatically based on max_edgecount.
 min_edgewidth -1
 
-# if min_edgewidth is -1 (the default), events2dot will try to establish
+# If min_edgewidth is -1 (the default), event2dot will try to establish
 # the highest min_edgewidth for which the total number of edges in the
 # generated graph is under or equal to max_edgecount.
 max_edgecount 70
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121013/812ba1b6/attachment.html>


More information about the macports-changes mailing list