Added: trunk/dports/devel/appstream-glib/Portfile (0 => 120617)
--- trunk/dports/devel/appstream-glib/Portfile (rev 0)
+++ trunk/dports/devel/appstream-glib/Portfile 2014-06-03 16:50:48 UTC (rev 120617)
@@ -0,0 +1,39 @@
+# -*- 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
+PortGroup github 1.0
+
+github.setup hughsie appstream-glib 0_1_6 appstream_glib_
+license LGPL-2+
+categories devel
+maintainers devans openmaintainer
+platforms darwin
+homepage http://people.freedesktop.org/~hughsient/appdata/
+
+description This library provides objects and helper methods to help \
+ reading and writing AppStream metadata.
+
+long_description ${description}
+
+checksums rmd160 03a87aefb60aab707c6b120423ef8be22818a5fb \
+ sha256 bf634df73cbb4e14f31dfafba7ed0cb591b6b424b76291a1a389215b8c735579
+
+depends_build port:pkgconfig \
+ port:autoconf \
+ port:automake \
+ port:libtool \
+ port:gtk-doc
+
+depends_lib port:gobject-introspection \
+ path:lib/pkgconfig/glib-2.0.pc:glib2 \
+ port:libarchive \
+ port:libsoup \
+ port:gdk-pixbuf2
+
+patchfiles patch-configure.ac.diff
+
+configure.cmd ./autogen.sh
+
+configure.args --enable-introspection=yes \
+ --disable-silent-rules
Property changes on: trunk/dports/devel/appstream-glib/Portfile
___________________________________________________________________
Added: trunk/dports/devel/appstream-glib/files/patch-configure.ac.diff (0 => 120617)
--- trunk/dports/devel/appstream-glib/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/devel/appstream-glib/files/patch-configure.ac.diff 2014-06-03 16:50:48 UTC (rev 120617)
@@ -0,0 +1,12 @@
+--- configure.ac.orig 2014-06-03 09:00:38.000000000 -0700
++++ configure.ac 2014-06-03 09:01:44.000000000 -0700
+@@ -61,6 +61,9 @@
+ # set up gtk-doc
+ GTK_DOC_CHECK(1.9)
+
++# disable warning flags not supported on SL and earlier
++GCC=no
++
+ if test "$GCC" = "yes"; then
+ WARNINGFLAGS_C="$WARNINGFLAGS_C -Wall"
+ WARNINGFLAGS_C="$WARNINGFLAGS_C -Wcast-align -Wno-uninitialized"