[46211] trunk/dports/aqua

Ryan Schmidt ryandesign at macports.org
Sat Jan 31 19:26:58 PST 2009


On Jan 31, 2009, at 15:16, snc at macports.org wrote:

> Revision: 46211
>           http://trac.macports.org/changeset/46211
> Author:   snc at macports.org
> Date:     2009-01-31 13:16:01 -0800 (Sat, 31 Jan 2009)
> Log Message:
> -----------
> created aqua/mumble, #18289
>
> Added Paths:
> -----------
>     trunk/dports/aqua/mumble/
>     trunk/dports/aqua/mumble/Portfile-mumble

Some of the same comments I sent for murmur:


> Added: trunk/dports/aqua/mumble/Portfile-mumble
> ===================================================================
> --- trunk/dports/aqua/mumble/Portfile- 
> mumble	                        (rev 0)
> +++ trunk/dports/aqua/mumble/Portfile-mumble	2009-01-31 21:16:01  
> UTC (rev 46211)
> @@ -0,0 +1,59 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t;  
> indent-tabs-mode: nil; c-basic-offset: 4 -*-  
> vim:fenc=utf-8:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +
> +name                mumble
> +version             1.1.7
> +categories          aqua audio
> +maintainers         nomaintainer
> +description         low-latency voice chat for gaming
> +long_description \
> +    Mumble is an open source, low-latency, high quality \
> +    voice chat software primarily intended for use while gaming.
> +homepage            http://mumble.sourceforge.net/
> +platforms           macosx
> +
> +master_sites        sourceforge:mumble
> +checksums           md5 5a382d5c065bb264abfe240ca6f03ddc
> +distname            mumble-${version}
> +
> +livecheck.check     regex
> +livecheck.url       ${homepage}
> +livecheck.regex     ">Latest version: (.*?)<"
> +
> +depends_lib \
> +    port:qt4-mac \
> +    port:openssl \
> +    port:portaudio
> +
> +depends_build \
> +    port:boost
> +
> +configure.cmd       qmake-mac
> +configure.pre_args  CONFIG+=\"
> +configure.post_args \" DEFINES+=NO_UPDATE_CHECK
> +configure.args      release no-dbus no-universal no-server
> +
> +variant dbus description {Build DBus support} {
> +    configure.args-delete no-dbus
> +}
> +
> +variant universal {
> +    configure.args-delete no-universal
> +}
> +
> +pre-build {
> +    system "sed -i '' -e 's,a.setLibraryPaths(QStringList 
> ());,a.setLibraryPaths(QStringList(\"${prefix}/libexec/qt4-mac/ 
> plugins\"));,' ${worksrcpath}/src/mumble/main.cpp"
> +}

Can you use reinplace instead?

> +build {
> +    system "cd ${worksrcpath} && make"
> +}

Can you use the standard build phase instead?

> +destroot {
> +    set appPath ${destroot}/Applications/MacPorts

Can you use ${applications_dir} instead of /Applications/MacPorts?

> +    file mkdir ${appPath}
> +    file copy ${worksrcpath}/release/Mumble.app ${appPath}/Mumble.app
> +    file copy ${worksrcpath}/release/plugins ${appPath}/Mumble.app/ 
> Contents/Plugins
> +}






More information about the macports-dev mailing list