Source
# -*- 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
PortSystem 1.0
PortGroup app 1.0
PortGroup active_variants 1.1
name pspp
version 1.0.1
categories math
license GPL-3+
maintainers {snc @nerdling}
conflicts pspp-devel
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 https://www.gnu.org/software/pspp/
platforms darwin
master_sites gnu
checksums rmd160 0e6abd9b6e57c20bfad1d418500330f38b50818c \
sha256 ba281a2e5d7d40e22f36f07f434a4fbc5be49c6d15740b121c299d024aae1ae5
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
port:fontconfig \
port:freetype \
port:gettext \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gsl \
port:libiconv \
port:libxml2 \
port:ncurses \
path:lib/pkgconfig/pango.pc:pango \
port:readline \
port:zlib
depends_build-append port:pkgconfig \
port:texinfo
post-extract {
if {[variant_isset gui]} {
copy ${filespath}/PSPP ${worksrcpath}
file attributes ${worksrcpath}/PSPP -permissions ugo+rx
}
}
post-patch {
if {[variant_isset gui]} {
reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/PSPP
}
}
configure.args-append --disable-rpath \
--without-libpq \
--without-gui \
--without-perl-module \
--with-packager=snc \
--with-packager-version=${version} \
--with-packager-bug-reports=[lindex ${maintainers} 0 0]