Revision
117263
Author
devans@macports.org
Date
2014-02-20 14:31:34 -0800 (Thu, 20 Feb 2014)

Log Message

libgit2-glib: new port version 0.0.10, maintainer submission (#41869).

Added Paths

Diff

Added: trunk/dports/gnome/libgit2-glib/Portfile (0 => 117263)


--- trunk/dports/gnome/libgit2-glib/Portfile	                        (rev 0)
+++ trunk/dports/gnome/libgit2-glib/Portfile	2014-02-20 22:31:34 UTC (rev 117263)
@@ -0,0 +1,47 @@
+# -*- 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                libgit2-glib
+version             0.0.10
+license             LGPL-2.1
+set branch          [join [lrange [split ${version} .] 0 1] .]
+description         Glib wrapper library around the libgit2 git access library.
+long_description    ${description}
+
+maintainers         gmail.com:juanrgar openmaintainer
+categories          gnome devel
+platforms           darwin
+homepage            https://wiki.gnome.org/action/show/Apps/Gitg
+master_sites        gnome:sources/${name}/${branch}/
+
+use_xz              yes
+
+checksums           rmd160  3b2f16e33a9eabe8abade2779d4716ce8e95d1c0 \
+                    sha256  3d9dc3c2ca7fab21aa005100b102e085f4d864e507c424d46de451e9d40bfeff
+
+depends_build       port:pkgconfig
+
+depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                    port:libgit2 \
+                    port:gobject-introspection
+
+configure.args      --disable-silent-rules \
+                    --enable-python=no
+
+variant python32 description {Enable Python support, using python32} conflicts python33 {
+    configure.args-delete --enable-python=no
+    configure.args-append --enable-python=yes
+    depends_lib-append port:py32-gobject3
+    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.2/lib/pkgconfig/
+}
+
+variant python33 description {Enable Python support, using python33} conflicts python32 {
+    configure.args-delete --enable-python=no
+    configure.args-append --enable-python=yes
+    depends_lib-append port:py33-gobject3
+    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
+}
+
+livecheck.type      gnome
Property changes on: trunk/dports/gnome/libgit2-glib/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style