[82650] trunk/dports/math/pspp-devel

snc at macports.org snc at macports.org
Wed Aug 17 08:47:35 PDT 2011


Revision: 82650
          http://trac.macports.org/changeset/82650
Author:   snc at macports.org
Date:     2011-08-17 08:47:32 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
pspp-devel:
 * update to g72ee64
 * make use of app PortGroup

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

Added Paths:
-----------
    trunk/dports/math/pspp-devel/files/logo.png
    trunk/dports/math/pspp-devel/files/psppire

Removed Paths:
-------------
    trunk/dports/math/pspp-devel/files/PSPP.app/

Modified: trunk/dports/math/pspp-devel/Portfile
===================================================================
--- trunk/dports/math/pspp-devel/Portfile	2011-08-17 15:20:09 UTC (rev 82649)
+++ trunk/dports/math/pspp-devel/Portfile	2011-08-17 15:47:32 UTC (rev 82650)
@@ -2,12 +2,13 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           app 1.0
 
 name                pspp-devel
-set buildstamp      20110814030502
-set buildhash       ge30f5e
+set buildstamp      20110816030503
+set buildhash       g72ee64
 version             0.7.8
-revision            6
+revision            8
 # depends_test port:p5-text-diff
 # 2011-08-14: no_* variants obsoleted
 categories          math
@@ -27,16 +28,27 @@
 master_sites        http://pspp.benpfaff.org/~blp/pspp-master/${buildstamp}
 distname            pspp-${version}-${buildhash}
 
-depends_lib		    port:gsl \
+depends_lib-append  port:gsl \
                     port:libiconv \
                     port:zlib \
                     port:libxml2 \
                     port:readline \
                     port:libtool
 
-checksums           rmd160  1dd8f31bd491c83f858b60781cf7b2a23f52b74c \
-                    sha256  f9532a35554a1dcd8a0612f3fb8d24d0c0c2c9b3017db958da4774a0d5d118c8
+checksums           rmd160  721d338ad220e1b67197e095f96f1101fcb13441 \
+                    sha256  9e38ffef79733c9fba7cb8ba36788615cd2117f03cc11e986f852283754ce2f7
 
+post-extract {
+    if {[variant_isset gui]} {
+        copy ${filespath}/psppire ${worksrcpath}
+        copy ${filespath}/logo.png ${worksrcpath}
+    }
+}
+
+patch {
+    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/psppire
+}
+
 #configure.optflags  -O0
 #configure.cflags-append -g
 configure.env-append CPPFLAGS=-I${prefix}/include
@@ -106,23 +118,12 @@
     configure.args-delete   --without-gui
 }
 
-post-destroot {
-    if {[variant_isset gui]} {
-	    xinstall -d ${destroot}${applications_dir}/PSPP.app/Contents/MacOS
-        xinstall -m 755 ${filespath}/PSPP.app/Contents/MacOS/psppire \
-            ${destroot}${applications_dir}/PSPP.app/Contents/MacOS
-	    xinstall -m 644 ${filespath}/PSPP.app/Contents/Info.plist \
-		    ${destroot}${applications_dir}/PSPP.app/Contents
-        reinplace s|@VERSION@|${version}|g \
-            ${destroot}${applications_dir}/PSPP.app/Contents/Info.plist
-        reinplace s|@PREFIX@|${prefix}|g \
-            ${destroot}${applications_dir}/PSPP.app/Contents/MacOS/psppire
-        reinplace s|@NAME@|${name}|g \
-            ${destroot}${applications_dir}/PSPP.app/Contents/Info.plist
-	    xinstall -m 644 ${filespath}/PSPP.app/Contents/PkgInfo \
-	     	${destroot}${applications_dir}/PSPP.app/Contents
-    }
+if {![variant_isset gui]} {
+    app.create      no
 }
+app.name            PSPP
+app.executable      ${worksrcpath}/psppire
+app.icon            ${worksrcpath}/logo.png
 
 livecheck.url               http://pspp.benpfaff.org/~blp/pspp-master/latest/
 livecheck.regex             <td>dist_version<\\/td><td>(.*)<\\/td>

Added: trunk/dports/math/pspp-devel/files/logo.png
===================================================================
(Binary files differ)


Property changes on: trunk/dports/math/pspp-devel/files/logo.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Copied: trunk/dports/math/pspp-devel/files/psppire (from rev 82543, trunk/dports/math/pspp-devel/files/PSPP.app/Contents/MacOS/psppire)
===================================================================
--- trunk/dports/math/pspp-devel/files/psppire	                        (rev 0)
+++ trunk/dports/math/pspp-devel/files/psppire	2011-08-17 15:47:32 UTC (rev 82650)
@@ -0,0 +1,2 @@
+#!/bin/bash
+ at PREFIX@/bin/psppire &
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110817/279666de/attachment.html>


More information about the macports-changes mailing list