How to build kivy-ios with MacPorts

http://kivy.org/docs/guide/packaging-ios.html 

A kivy-ios building process uses Homebrew.

I could not build with MacPorts.

Building process with MacPorts is as follows, 

$ git clone git://github.com/kivy/kivy-ios
$ cd kivy-ios

Apply this patch...

--- a/tools/build-sdlmixer.sh

+++ b/tools/build-sdlmixer.sh

@@ -47,7 +47,7 @@ if [ ! -f libtremor/tremor/.libs/libvorbisidec.a ]; then

        OGG_CFLAGS="-I../../libogg/include" \

        OGG_LDFLAGS="-L../../libogg/src/.libs" \

        PKG_CONFIG_LIBDIR="../../libogg" \

-       ACLOCAL_FLAGS="-I $DESTROOT/share/aclocal -I /usr/local/share/aclocal" .

+       ACLOCAL_FLAGS="-I $DESTROOT/share/aclocal -I /opt/local/share/aclocal" .

            --prefix=$DESTROOT \

                --disable-shared \

                --host=arm-apple-darwin \

$ tools/build-all.sh

ref.

#26 Enable building on MacPorts based installation