Modified: trunk/dports/math/pspp/Portfile (148955 => 148956)
--- trunk/dports/math/pspp/Portfile 2016-05-23 18:04:08 UTC (rev 148955)
+++ trunk/dports/math/pspp/Portfile 2016-05-23 18:16:24 UTC (rev 148956)
@@ -38,8 +38,7 @@
port:readline \
port:zlib
-depends_build-append port:libglade2 \
- port:pkgconfig \
+depends_build-append port:pkgconfig \
port:texinfo
post-extract {
@@ -79,6 +78,10 @@
build.target-append html
}
+variant reloc requires quartz description {Enable relocation build for app bundle} {
+ configure.args-append --enable-relocatable
+}
+
variant postgres description {Enables reading of postgresql databases} {
depends_lib-append port:postgresql92
configure.args-delete --without-libpq
@@ -89,8 +92,7 @@
variant gui description {Build PSPPIRE, the graphical interface} {
depends_lib-append port:atk \
port:gdk-pixbuf2 \
- port:gtksourceview3 \
- port:libglade2
+ port:gtksourceview3
depends_run-append port:adwaita-icon-theme
configure.args-delete --without-gui
@@ -99,7 +101,6 @@
variant quartz requires gui {
require_active_variants gtk3 quartz
require_active_variants gtksourceview3 quartz
- require_active_variants libglade2 quartz
}
variant x11 requires gui {
@@ -125,7 +126,7 @@
# check for x11-poisoned dependencies
set x11 no
-set depspecs {gtk3 libglade2}
+set depspecs {gtk3}
foreach depspec depspecs {
if {![catch {set result [active_variants $depspec x11]}]} {
if {$result} {
@@ -150,12 +151,12 @@
}
post-activate {
- system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
}
post-deactivate {
- system "${prefix}/bin/gtk-update-icon-cache --ignore-theme-index ${prefix}/share/icons/hicolor"
+ system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
}
if {![variant_isset gui]} {