[59344] trunk/dports/math/pspp/Portfile

snc at macports.org snc at macports.org
Tue Oct 13 11:26:25 PDT 2009


Revision: 59344
          http://trac.macports.org/changeset/59344
Author:   snc at macports.org
Date:     2009-10-13 11:26:23 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
updated version

Modified Paths:
--------------
    trunk/dports/math/pspp/Portfile

Modified: trunk/dports/math/pspp/Portfile
===================================================================
--- trunk/dports/math/pspp/Portfile	2009-10-13 18:26:22 UTC (rev 59343)
+++ trunk/dports/math/pspp/Portfile	2009-10-13 18:26:23 UTC (rev 59344)
@@ -4,10 +4,9 @@
 PortSystem              1.0
 
 name                    pspp
-revision                2
-version                 0.6.1
+version                 0.6.2
 categories              math
-#license                 GPLv3+
+license                 GPLv3+
 maintainers             snc
 description             Statistical analysis of sampled data (free \
                         replacement for SPSS).
@@ -20,9 +19,9 @@
 platforms               darwin
 master_sites            gnu
 
-checksums               md5 b871739200938820d8db898cd200ed06 \
-                        sha1 22f335053a3e1d3861bfc2d87536b9a6fc5a1ae7 \
-                        rmd160 930fc58b77ff50819cd7449147dab5906e872850
+checksums           md5     03080eb9e3ffeb03f18bc925fcd83fcb \
+                    sha1    c45f721a7ee82aede2106b77eade5e568c0930da \
+                    rmd160  97667eb32b23a1bc7d18b7022649bd973ff01424
 
 use_parallel_build      yes
 
@@ -34,17 +33,24 @@
                         port:libiconv \
                         port:zlib \
                         port:libxml2 \
-                        port:readline
+                        port:readline \
+                        port:plotutils \
+                        port:pkgconfig \
+                        port:gtk2 \
+                        port:libglade2
+                        
 
 configure.args          --disable-rpath \
-                        --without-gui \
-                        --without-libplot \
                         --without-libpq \
                         --enable-debug \
                         --without-libncurses
 
 patchfiles              patch-config.h.in.diff
 
+variant help conflicts no_gui description {Provide in-application help via yelp} {
+    depends_run-append  port:yelp
+}
+
 variant ncurses description {Enable terminal resizing} {
     depends_lib-append  port:ncursesw
     configure.args-delete   --without-libncurses
@@ -67,23 +73,19 @@
     configure.ldflags-append -L${prefix}/lib/postgresql83
 }
 
-variant graph description {Enable graphing features} {
-    depends_lib-append  port:plotutils
-    configure.args-delete   --without-libplot
+variant no_graph description {Disable graphing features} {
+    depends_lib-delete      port:plotutils
+    configure.args-append   --without-libplot
 }
 
-variant gui description {Enable PSPPIRE, the graphical interface} {
-    depends_lib-append      port:pkgconfig \
+variant no_gui conflicts help description {Disable PSPPIRE, the graphical interface} {
+    depends_lib-delete      port:pkgconfig \
                             port:gtk2 \
                             port:libglade2
-    configure.args-delete   --without-gui
+    configure.args-append   --without-gui
 }
 
-default_variants        +graph +gui
-
 post-destroot {
-    delete ${destroot}${prefix}/lib/charset.alias
-
     xinstall -d ${destroot}${prefix}/libexec/${name}
 
     move ${destroot}${prefix}/bin/pspp ${destroot}${prefix}/libexec/${name}/pspp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091013/4a393cd5/attachment-0001.html>


More information about the macports-changes mailing list