[68664] trunk/dports/math

snc at macports.org snc at macports.org
Wed Jun 9 10:52:14 PDT 2010


Revision: 68664
          http://trac.macports.org/changeset/68664
Author:   snc at macports.org
Date:     2010-06-09 10:52:11 -0700 (Wed, 09 Jun 2010)
Log Message:
-----------
add 0.7 branch of pspp

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

Added Paths:
-----------
    trunk/dports/math/pspp-devel/
    trunk/dports/math/pspp-devel/files/patch-perl-module-Makefile.PL.diff
    trunk/dports/math/pspp-devel/files/patch-test-formats-inexactify.c.diff

Removed Paths:
-------------
    trunk/dports/math/pspp-devel/files/patch-config.h.in.diff
    trunk/dports/math/pspp-devel/files/pspp.in
    trunk/dports/math/pspp-devel/files/psppire.in

Modified: trunk/dports/math/pspp-devel/Portfile
===================================================================
--- trunk/dports/math/pspp/Portfile	2010-06-03 13:17:40 UTC (rev 68432)
+++ trunk/dports/math/pspp-devel/Portfile	2010-06-09 17:52:11 UTC (rev 68664)
@@ -1,53 +1,60 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem              1.0
+PortSystem          1.0
 
-name                    pspp
-version                 0.6.2
-revision                2
-categories              math
-license                 GPLv3+
-maintainers             snc
-description             Statistical analysis of sampled data (free \
-                        replacement for SPSS).
-long_description        PSPP is a program for \
-                        statistical analysis of sampled data. It is a Free \
-                        replacement for the proprietary program SPSS, and \
-                        appears very similar to it with a few exceptions.
+name                pspp-devel
+version             0.7.5
+revision            g2d1795
+set buildnum        20100609040502
+categories          math
+license             GPLv3+
+maintainers         snc
+description         Statistical analysis of sampled data (free \
+                    replacement for SPSS).
+long_description    PSPP is a program for \
+                    statistical analysis of sampled data. It is a Free \
+                    replacement for the proprietary program SPSS, and \
+                    appears very similar to it with a few exceptions.
 
-homepage                http://www.gnu.org/software/pspp/
-platforms               darwin
-master_sites            gnu
+homepage            http://www.gnu.org/software/pspp/
+platforms           darwin
 
-checksums           md5     03080eb9e3ffeb03f18bc925fcd83fcb \
-                    sha1    c45f721a7ee82aede2106b77eade5e568c0930da \
-                    rmd160  97667eb32b23a1bc7d18b7022649bd973ff01424
+master_sites        http://pspp.benpfaff.org/~blp/pspp-master/${buildnum}
+distname            pspp-${version}-${revision}
+checksums           md5     203f26b04c9e205bd0beba775b8664a7 \
+                    sha1    590dd88be59272b9d2451586e629e5db7930633a \
+                    rmd160  ae01992dbaf01895de719c1b7443934957589e3b
 
-use_parallel_build      yes
+depends_build       port:pkgconfig
+depends_lib		    port:gsl \
+                    port:libiconv \
+                    port:zlib \
+                    port:libxml2 \
+                    port:readline \
+                    port:plotutils \
+                    port:pkgconfig \
+                    port:gtk2 \
+                    port:libglade2 \
+                    port:libtool
 
-depends_build           path:bin/perl:perl5 \
-                        port:pkgconfig
-configure.perl          ${prefix}/bin/perl
+patchfiles          patch-perl-module-Makefile.PL.diff \
+                    patch-test-formats-inexactify.c.diff
 
-depends_lib		        port:gsl \
-                        port:libiconv \
-                        port:zlib \
-                        port:libxml2 \
-                        port:readline \
-                        port:plotutils \
-                        port:pkgconfig \
-                        port:gtk2 \
-                        port:libglade2
-                        
+configure.env-append CPPFLAGS=-I${prefix}/include
+configure.perl      ${prefix}/bin/perl
+configure.args      --disable-rpath \
+                    --without-libpq \
+                    --enable-debug \
+                    --without-libncurses \
+                    #--without-perl-module \
+                    --with-packager=snc \
+                    --with-packager-version=${version}.${revision} \
+                    --with-packager-bug-reports=${maintainers}
 
-configure.args          --disable-rpath \
-                        --without-libpq \
-                        --enable-debug \
-                        --without-libncurses
+test.run            yes
+test.target         check
 
-patchfiles              patch-config.h.in.diff
-
 variant help conflicts no_gui description {Provide in-application help via yelp} {
     depends_run-append  port:yelp
 }
@@ -87,15 +94,6 @@
 }
 
 post-destroot {
-    xinstall -d ${destroot}${prefix}/libexec/${name}
-
-    move ${destroot}${prefix}/bin/pspp ${destroot}${prefix}/libexec/${name}/pspp
-
-    xinstall -m 755 ${filespath}/pspp.in ${destroot}${prefix}/bin/pspp
-    reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/pspp
-    reinplace s|@NAME@|${name}|g ${destroot}${prefix}/bin/pspp
-
-    if {![variant_isset no_gui]} {
         ln -s ${prefix}/lib/pspp/libpsppire.dylib \
             ${destroot}${prefix}/lib/pspp/libpsppire.so
         ln -s ${prefix}/lib/pspp/libpsppwidgets.dylib \
@@ -104,10 +102,6 @@
         move ${destroot}${prefix}/bin/psppire \
 			${destroot}${prefix}/libexec/${name}/psppire
 
-        xinstall -m 755 ${filespath}/psppire.in ${destroot}${prefix}/bin/psppire
-        reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/psppire
-        reinplace s|@NAME@|${name}|g ${destroot}${prefix}/bin/psppire
-
 	    xinstall -d ${destroot}${applications_dir}/PSPP.app/Contents/MacOS
 	    xinstall -m 644 ${filespath}/PSPP.app/Contents/Info.plist \
 		    ${destroot}${applications_dir}/PSPP.app/Contents
@@ -121,5 +115,4 @@
 	     	${destroot}${applications_dir}/PSPP.app/Contents/MacOS/psppire
 	    xinstall -m 644 ${filespath}/PSPP.app/Contents/PkgInfo \
 	     	${destroot}${applications_dir}/PSPP.app/Contents
-    }
 }

Deleted: trunk/dports/math/pspp-devel/files/patch-config.h.in.diff
===================================================================
--- trunk/dports/math/pspp/files/patch-config.h.in.diff	2010-06-03 13:17:40 UTC (rev 68432)
+++ trunk/dports/math/pspp-devel/files/patch-config.h.in.diff	2010-06-09 17:52:11 UTC (rev 68664)
@@ -1,11 +0,0 @@
---- config.h.in.orig	2008-10-02 14:22:07.000000000 -0400
-+++ config.h.in	2008-10-02 14:21:54.000000000 -0400
-@@ -388,7 +388,7 @@
- /* Define to 1 if the compiler supports one of the keywords 'inline',
-    '__inline__', '__inline' and effectively inlines functions marked as such.
-    */
--#undef HAVE_INLINE
-+/* #undef HAVE_INLINE */
- 
- /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
- #undef HAVE_INTMAX_T

Added: trunk/dports/math/pspp-devel/files/patch-perl-module-Makefile.PL.diff
===================================================================
--- trunk/dports/math/pspp-devel/files/patch-perl-module-Makefile.PL.diff	                        (rev 0)
+++ trunk/dports/math/pspp-devel/files/patch-perl-module-Makefile.PL.diff	2010-06-09 17:52:11 UTC (rev 68664)
@@ -0,0 +1,11 @@
+--- perl-module/Makefile.PL.orig	2010-06-09 13:05:19.000000000 -0400
++++ perl-module/Makefile.PL	2010-06-09 13:05:30.000000000 -0400
+@@ -22,7 +22,7 @@
+       (ABSTRACT_FROM  => 'lib/PSPP.pm', # retrieve abstract from module
+        AUTHOR         => 'John Darrington <john at darrington.wattle.id.au>') : ()),
+     INC       => "-I $Locations{SourceDir}  -I $Locations{SourceDir}/src -I $Locations{SourceDir}/gl -I $Locations{BuildDir}/gl -I $Locations{BuildDir}", 
+-    MYEXTLIB  => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(DLEXT)",
++    MYEXTLIB  => "$Locations{BuildDir}/src/.libs/libpspp-core.\$(SO)",
+     MAN3PODS  => {"lib/PSPP.pm", "\$(INST_MAN3DIR)/PSPP.3pm",
+ 	    "Examples.pod", "\$(INST_MAN3DIR)/PSPP::Examples.3pm"}
+ );

Added: trunk/dports/math/pspp-devel/files/patch-test-formats-inexactify.c.diff
===================================================================
--- trunk/dports/math/pspp-devel/files/patch-test-formats-inexactify.c.diff	                        (rev 0)
+++ trunk/dports/math/pspp-devel/files/patch-test-formats-inexactify.c.diff	2010-06-09 17:52:11 UTC (rev 68664)
@@ -0,0 +1,10 @@
+--- tests/formats/inexactify.c.orig	2010-06-09 13:23:44.000000000 -0400
++++ tests/formats/inexactify.c	2010-06-09 13:23:56.000000000 -0400
+@@ -14,6 +14,7 @@
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>. */
+ 
++#include <config.h>
+ #include <ctype.h>
+ #include <stdbool.h>
+ #include <stdio.h>

Deleted: trunk/dports/math/pspp-devel/files/pspp.in
===================================================================
--- trunk/dports/math/pspp/files/pspp.in	2010-06-03 13:17:40 UTC (rev 68432)
+++ trunk/dports/math/pspp-devel/files/pspp.in	2010-06-09 17:52:11 UTC (rev 68664)
@@ -1,5 +0,0 @@
-#!/bin/bash
-export OLDPWD=`pwd`
-cd /tmp
-DYLD_FALLBACK_LIBRARY_PATH=@PREFIX@/lib/@NAME@ @PREFIX@/libexec/@NAME@/pspp
-cd $OLDPWD

Deleted: trunk/dports/math/pspp-devel/files/psppire.in
===================================================================
--- trunk/dports/math/pspp/files/psppire.in	2010-06-03 13:17:40 UTC (rev 68432)
+++ trunk/dports/math/pspp-devel/files/psppire.in	2010-06-09 17:52:11 UTC (rev 68664)
@@ -1,5 +0,0 @@
-#!/bin/bash
-export OLDPWD=`pwd`
-cd /tmp
-DYLD_FALLBACK_LIBRARY_PATH=@PREFIX@/lib/@NAME@ @PREFIX@/libexec/@NAME@/psppire
-cd $OLDPWD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100609/38a6638d/attachment.html>


More information about the macports-changes mailing list