Revision: 110319 https://trac.macports.org/changeset/110319 Author: devans@macports.org Date: 2013-08-29 15:18:11 -0700 (Thu, 29 Aug 2013) Log Message: ----------- users/devans/GNOME-3/stable/dports: new port, eog-plugins. Added Paths: ----------- users/devans/GNOME-3/stable/dports/gnome/eog-plugins/ users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/ users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/patch-configure.diff Added: users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile =================================================================== --- users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile (rev 0) +++ users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile 2013-08-29 22:18:11 UTC (rev 110319) @@ -0,0 +1,64 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 + +name eog-plugins +version 3.8.1 +license GPL-2+ +set branch [join [lrange [split ${version} .] 0 1] .] +description Extra plugins for the Eye of GNOME image viewer +long_description \ + $description +maintainers devans openmaintainer +categories gnome +platforms darwin +homepage https://projects.gnome.org/eog/ +master_sites gnome:sources/${name}/${branch}/ + +use_xz yes + +checksums rmd160 2f2e10e323d6c83c89928e0c81429bbe034c6f28 \ + sha256 5cf8dab5b6622b9e712da4094185112cc84baa96f2775cc76bf654b1c443cfb9 + +depends_build port:pkgconfig \ + port:intltool \ + +depends_lib port:eog \ + port:gtk3 \ + port:libpeas \ + port:libgdata \ + port:libchamplain \ + port:clutter \ + port:clutter-gtk \ + port:libexif \ + port:gsettings-desktop-schemas + +patchfiles patch-configure.diff + +configure.args --disable-python \ + --disable-schemas-compile \ + --disable-silent-rules + +# provided python plugins use libpeas python2 loader only +# libpeas python2 loader supports python27 + +variant python27 description {Use python 2.7} { + depends_lib-append port:py27-pygtk + configure.python ${prefix}/bin/python2.7 + set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 + configure.pkg_config_path ${python_framework}/lib/pkgconfig + configure.args-replace --disable-python --enable-python +} + +default_variants +python27 + +# rdep py*-numpy +universal build fails (#40037) + +universal_variant no + +post-activate { + system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" +} + +livecheck.type gnome Property changes on: users/devans/GNOME-3/stable/dports/gnome/eog-plugins/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/patch-configure.diff =================================================================== --- users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/patch-configure.diff (rev 0) +++ users/devans/GNOME-3/stable/dports/gnome/eog-plugins/files/patch-configure.diff 2013-08-29 22:18:11 UTC (rev 110319) @@ -0,0 +1,14 @@ +--- configure.orig 2013-05-01 08:48:44.000000000 -0700 ++++ configure 2013-08-29 14:24:41.000000000 -0700 +@@ -14413,9 +14413,9 @@ + + + +- PYTHON_PREFIX='${prefix}' ++ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'` + +- PYTHON_EXEC_PREFIX='${exec_prefix}' ++ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'` + + +