[109108] trunk/dports/x11/xforms/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 19:10:42 PDT 2013


Revision: 109108
          https://trac.macports.org/changeset/109108
Author:   jeremyhu at macports.org
Date:     2013-08-07 19:10:42 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
xforms: +universal

Modified Paths:
--------------
    trunk/dports/x11/xforms/Portfile

Modified: trunk/dports/x11/xforms/Portfile
===================================================================
--- trunk/dports/x11/xforms/Portfile	2013-08-08 02:02:53 UTC (rev 109107)
+++ trunk/dports/x11/xforms/Portfile	2013-08-08 02:10:42 UTC (rev 109108)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           muniversal 1.0
 
 name                xforms
 version             1.0.93sp1
-revision        1
+revision            2
 categories          x11
 maintainers         raphael openmaintainer
 description         A graphical user interface toolkit for X based on the X11 \
@@ -74,11 +75,12 @@
                         ${docdir}
                     copy ${workpath}/${name}.html ${docdir}
                     copy ${prefix}/var/macports/distfiles/${dist_subdir}/${name}.pdf ${docdir}
-                    system "cd ${worksrcpath}/demos && make mostlyclean"
+
+                    if {![variant_isset universal]} {
+                        system "cd ${worksrcpath}/demos && make mostlyclean"
+                    }
+
                     xinstall -d ${destroot}${prefix}/share/${name}
                     copy ${worksrcpath}/demos \
                         ${destroot}${prefix}/share/${name}/
 }
-
-# not trivial to autoreconf
-universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/c02ec258/attachment.html>


More information about the macports-changes mailing list