[94394] trunk/dports/net/rrdtool/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jun 17 15:08:23 PDT 2012


Revision: 94394
          https://trac.macports.org/changeset/94394
Author:   ryandesign at macports.org
Date:     2012-06-17 15:08:21 -0700 (Sun, 17 Jun 2012)
Log Message:
-----------
rrdtool:

 * add libffi dependency because it does link with libffi and does need a revbump whenever libffi is updated, which it recently was
 * disable silent build rules so the log is more useful
 * disable opportunistic linking with lua (#26405)
 * remove unnecessary --mandir configure arg
 * remove unnecessary setting of build.type to its default
 * do not install .packlist or perllocal.pod files (#19854)
 * use the correct python in the python variants
 * revbump to rebuild following these fixes

Modified Paths:
--------------
    trunk/dports/net/rrdtool/Portfile

Modified: trunk/dports/net/rrdtool/Portfile
===================================================================
--- trunk/dports/net/rrdtool/Portfile	2012-06-17 22:01:16 UTC (rev 94393)
+++ trunk/dports/net/rrdtool/Portfile	2012-06-17 22:08:21 UTC (rev 94394)
@@ -5,6 +5,7 @@
 
 name                rrdtool
 version             1.4.7
+revision            1
 categories          net
 maintainers         markd openmaintainer
 description         Round Robin Database
@@ -19,6 +20,7 @@
 depends_lib         port:expat \
                     path:lib/pkgconfig/glib-2.0.pc:glib2 \
                     port:libiconv \
+                    port:libffi \
                     port:gettext \
                     path:lib/pkgconfig/pango.pc:pango \
                     path:bin/perl:perl5 \
@@ -33,31 +35,46 @@
 configure.args      --enable-perl-site-install \
                     --with-perl-options="INSTALLDIRS=vendor" \
                     --with-tcllib=${prefix}/lib \
+                    --disable-silent-rules \
+                    --disable-lua \
                     --disable-python \
                     --disable-ruby \
-                    --mandir=${prefix}/share/man \
                     --disable-tcl
 
 configure.cppflags-append \
                     -I${prefix}/include/freetype2 \
                     -I${prefix}/include/libpng14
 
-build.type          gnu
+post-destroot {
+    fs-traverse f ${destroot}${prefix} {
+        if {[file isfile ${f}]} {
+            switch [file tail ${f}] {
+                .packlist -
+                perllocal.pod {
+                    delete ${f}
+                }
+            }
+        }
+    }
+}
 
 variant python25 description {Python 2.5 bindings for RRDtool} conflicts python26 python27 {
     depends_lib-append      port:python25
+    configure.python        ${prefix}/bin/python2.5
     configure.args-delete   --disable-python
     configure.args-append   --enable-python
 }
 
 variant python26 description {Python 2.6 bindings for RRDtool} conflicts python25 python27 {
     depends_lib-append      port:python26
+    configure.python        ${prefix}/bin/python2.6
     configure.args-delete   --disable-python
     configure.args-append   --enable-python
 }
 
 variant python27 description {Python 2.7 bindings for RRDtool} conflicts python25 python26 {
     depends_lib-append      port:python27
+    configure.python        ${prefix}/bin/python2.7
     configure.args-delete   --disable-python
     configure.args-append   --enable-python
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120617/5fe1f8bf/attachment-0001.html>


More information about the macports-changes mailing list