[39320] trunk/dports/net

Ryan Schmidt ryandesign at macports.org
Mon Aug 18 01:38:00 PDT 2008


You can't hardcode /opt/local into the patchfiles like that. MacPorts  
may be installed into a different prefix. You need to handle this  
with a reinplace, not patchfiles.

On Aug 18, 2008, at 03:05, rene at macports.org wrote:

> Revision: 39320
>           http://trac.macosforge.org/projects/macports/changeset/39320
> Author:   rene at macports.org
> Date:     2008-08-18 01:05:13 -0700 (Mon, 18 Aug 2008)
> Log Message:
> -----------
> net/gajim: New port. (0.11.4) A full featured Jabber client.
>
> Added Paths:
> -----------
>     trunk/dports/net/gajim/
>     trunk/dports/net/gajim/Portfile
>     trunk/dports/net/gajim/files/
>     trunk/dports/net/gajim/files/patch-scripts-gajim-remote.in.diff
>     trunk/dports/net/gajim/files/patch-scripts-gajim.in.diff
>     trunk/dports/net/gajim/files/patch-src-Makefile.in.diff
>
> Added: trunk/dports/net/gajim/Portfile
> ===================================================================
> --- trunk/dports/net/gajim/Portfile	                        (rev 0)
> +++ trunk/dports/net/gajim/Portfile	2008-08-18 08:05:13 UTC (rev  
> 39320)
> @@ -0,0 +1,80 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode:  
> nil; c-basic-off    set: 4 -*-  
> vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +
> +name                gajim
> +version             0.11.4
> +homepage            http://www.gajim.org/
> +categories          net chat x11
> +
> +description         A full featured and easy to use Jabber client.
> +long_description    The goal of Gajim is to provide a full  
> featured and \
> +                    easy to use Jabber client. Gajim works nicely  
> with \
> +                    GNOME, but does not require it to run.
> +
> +maintainers         rene
> +
> +platforms           darwin
> +
> +master_sites        http://www.gajim.org/downloads/
> +distname            ${name}-${version}
> +use_bzip2           yes
> +checksums           md5 53eb80b280674678f6615eae4a552374 \
> +                    sha1 66c3c2aba9cea8e0e48581e87e412b445040ac15 \
> +                    rmd160 77ddba3f06c1b4dc80c0c3efe1951cbb0fac07e0
> +
> +depends_lib         port:gettext \
> +                    port:gtk2 \
> +                    port:py25-gtk \
> +                    port:py25-gobject \
> +                    port:py25-docutils \
> +                    port:py25-socket-ssl \
> +                    port:dbus-python25
> +
> +patchfiles          patch-scripts-gajim.in.diff \
> +                    patch-scripts-gajim-remote.in.diff \
> +                    patch-src-Makefile.in.diff
> +
> +configure.args      --disable-trayicon \
> +                    --enable-idle \
> +                    --disable-gtkspell \
> +                    --enable-remote \
> +                    --enable-nls
> +
> +variant gnome description {Add GNOME support} {
> +    depends_lib-append      port:gnome-python-desktop
> +}
> +
> +variant zeroconf description {Add zeroconf (Bonjour) support} {
> +    depends_lib-append      port:dbus-glib \
> +                            port:avahi
> +}
> +
> +variant trayicon description {Add trayicon support} {
> +    configure.args-delete   --disable-trayicon
> +    configure.args-append   --enable-trayicon
> +}
> +
> +variant noidle description {Disable idle support} {
> +    configure.args-delete   --enable-idle
> +    configure.args-append   --disable-idle
> +}
> +
> +variant noremote description {Add remote support} {
> +    configure.args-delete   --disable-remote
> +    configure.args-append   --enable-remote
> +    depends_lib-append      port:dbus
> +}
> +
> +variant nonls description {Disable native language support} {
> +    configure.args-delete   --enable-nls
> +    configure.args-append   --disable-nls
> +}
> +
> +variant gtkspell description {Add gtkspell support} {
> +    configure.args-delete   --disable-gtkspell
> +    configure.args-append   --enable-gtkspell
> +    depends_lib-append      port:gtkspell2
> +}
> +
>
>
> Property changes on: trunk/dports/net/gajim/Portfile
> ___________________________________________________________________
> Name: svn:keywords
>    + Id
> Name: svn:eol-style
>    + native
>
> Added: trunk/dports/net/gajim/files/patch-scripts-gajim-remote.in.diff
> ===================================================================
> --- trunk/dports/net/gajim/files/patch-scripts-gajim- 
> remote.in.diff	                        (rev 0)
> +++ trunk/dports/net/gajim/files/patch-scripts-gajim-remote.in.diff	 
> 2008-08-18 08:05:13 UTC (rev 39320)
> @@ -0,0 +1,11 @@
> +--- scripts/gajim-remote.in.orig	2008-08-18 09:38:59.000000000 +0200
> ++++ scripts/gajim-remote.in	2008-08-18 09:38:05.000000000 +0200
> +@@ -29,7 +29,7 @@
> + fi
> +
> + datadir=@DATADIR@
> +-PYTHON_EXEC=@PYTHON@
> ++PYTHON_EXEC=/opt/local/bin/python2.5
> +
> + cd ${datadir}/gajim/src
> + export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
>
> Added: trunk/dports/net/gajim/files/patch-scripts-gajim.in.diff
> ===================================================================
> --- trunk/dports/net/gajim/files/patch-scripts- 
> gajim.in.diff	                        (rev 0)
> +++ trunk/dports/net/gajim/files/patch-scripts-gajim.in.diff	 
> 2008-08-18 08:05:13 UTC (rev 39320)
> @@ -0,0 +1,11 @@
> +--- scripts/gajim.in.orig	2008-08-17 18:10:06.000000000 +0200
> ++++ scripts/gajim.in	2008-08-17 18:10:26.000000000 +0200
> +@@ -28,7 +28,7 @@
> + fi
> +
> + datadir=@DATADIR@
> +-PYTHON_EXEC=@PYTHON@
> ++PYTHON_EXEC=/opt/local/bin/python2.5
> +
> + cd ${datadir}/gajim/src
> + export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
>
> Added: trunk/dports/net/gajim/files/patch-src-Makefile.in.diff
> ===================================================================
> --- trunk/dports/net/gajim/files/patch-src- 
> Makefile.in.diff	                        (rev 0)
> +++ trunk/dports/net/gajim/files/patch-src-Makefile.in.diff	 
> 2008-08-18 08:05:13 UTC (rev 39320)
> @@ -0,0 +1,11 @@
> +--- src/Makefile.in.orig	2008-08-18 08:57:14.000000000 +0200
> ++++ src/Makefile.in	2008-08-18 08:57:53.000000000 +0200
> +@@ -294,7 +294,7 @@
> + 	trayicon.c
> +
> + INCLUDES = \
> +-	$(PYTHON_INCLUDES)
> ++	-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/ 
> include/python2.5/
> +
> + @BUILD_GTKSPELL_TRUE at gtkspelllib_LTLIBRARIES = gtkspell.la
> + @BUILD_GTKSPELL_TRUE at gtkspelllibdir = $(libdir)/gajim
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes



More information about the macports-dev mailing list