[126052] trunk/dports/devel/libsigcxx2

devans at macports.org devans at macports.org
Thu Oct 2 15:56:15 PDT 2014


Revision: 126052
          https://trac.macports.org/changeset/126052
Author:   devans at macports.org
Date:     2014-10-02 15:56:15 -0700 (Thu, 02 Oct 2014)
Log Message:
-----------
libsigcxx2: update to version 2.4.0, remove empty +doc variant and associated post-destroot processing, update dependencies, configuration to correctly install devhelp API docs.

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

Property Changed:
----------------
    trunk/dports/devel/libsigcxx2/


Property changes on: trunk/dports/devel/libsigcxx2
___________________________________________________________________
Added: svn:mergeinfo
   + /users/devans/GNOME-3/stable/dports/devel/libsigcxx2:125561-125862
/users/devans/GNOME-3/unstable/dports/devel/libsigcxx2:122869-125550

Modified: trunk/dports/devel/libsigcxx2/Portfile
===================================================================
--- trunk/dports/devel/libsigcxx2/Portfile	2014-10-02 22:24:51 UTC (rev 126051)
+++ trunk/dports/devel/libsigcxx2/Portfile	2014-10-02 22:56:15 UTC (rev 126052)
@@ -4,9 +4,8 @@
 PortSystem      1.0
 
 name            libsigcxx2
-set my_name     libsigc++
-version         2.2.11
-revision        1
+set gname       libsigc++
+version         2.4.0
 license         LGPL-2.1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel
@@ -20,39 +19,37 @@
     static or virtual.
 
 homepage        http://libsigc.sourceforge.net/
-master_sites    gnome:sources/${my_name}/${branch}/
-distname        ${my_name}-${version}
+master_sites    gnome:sources/${gname}/${branch}/
+distname        ${gname}-${version}
 use_xz          yes
 
-checksums       sha256  9834045f74f56752c2c6b3cdc195c30ab8314ad22dc8e626d6f67f940f1e4957 \
-                rmd160  f06228d3af1d4e21d6762c2f294281f7205ae3dd
+checksums       sha256  7593d5fa9187bbad7c6868dce375ce3079a805f3f1e74236143bceb15a37cd30 \
+                rmd160  89be646e4ba4f6d5cbf8b4203f252fa23af5a6f5
 
-depends_build   port:mm-common
+depends_build   port:pkgconfig \
+                port:mm-common \
+                port:m4 \
+                port:perl5.16 \
+                path:bin/dot:graphviz \
+                port:doxygen \
+                port:libxslt
 
-configure.args  --enable-static
+configure.perl  ${prefix}/bin/perl5.16
+configure.env-append \
+                "M4=${prefix}/bin/gm4"
+configure.args  --enable-static \
+                --disable-silent-rules
 
 # Teach glibtool about -stdlib=libc++
 use_autoreconf  yes
 autoreconf.args -fvi
 
-set docdir      ${prefix}/share/doc/${my_name}-${version}
-
 post-destroot {
+    set docdir ${prefix}/share/doc/${gname}-2.0
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO \
         ${destroot}${docdir}
-
-    if { [variant_isset doc]} {
-        foreach {f} {images index.html reference tutorial} {
-            file rename ${destroot}${prefix}/share/doc/libsigc++-2.0/${f} \
-                ${destroot}${docdir}/${f}
-        }
-    }
-    file delete -force ${destroot}${prefix}/share/doc/libsigc++-2.0
 }
 
-variant doc description {Install extra documentation} {
-}
-
 livecheck.type  gnome
-livecheck.name  ${my_name}
+livecheck.name  ${gname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141002/7a4fbec6/attachment.html>


More information about the macports-changes mailing list