Changeset 45082


Ignore:
Timestamp:
Jan 8, 2009, 10:23:57 AM (12 years ago)
Author:
jmr@…
Message:

gnokii: update to 0.6.27 (fixes #17827, maintainer timeout)

Location:
trunk/dports/comms/gnokii
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/gnokii/Portfile

    r45074 r45082  
    11# $Id$
     2
    23PortSystem 1.0
     4
    35name                    gnokii
    4 version                 0.6.8
     6version                 0.6.27
    57categories              comms
     8platforms       darwin
    69maintainers             mpal1+bugzilla@ieee.org
    710description             Tools to manipulate Nokia and other mobile phones.
    8 long_description        gnokii provides tools and a user space driver for use with mobile phones under Linux, various unices and Win32. With gnokii you can do such things as make data calls, update your address book, change calendar entires, send and receive SMS messages and load ring tones depending on the phone you have.
     11long_description        gnokii provides tools and a user space driver for use \
     12                    with mobile phones under Linux, various unices and \
     13                    Win32. With gnokii you can do such things as make data \
     14                    calls, update your address book, change calendar \
     15                    entires, send and receive SMS messages and load ring \
     16                    tones depending on the phone you have.
    917
    1018homepage                http://www.gnokii.org/
    1119
     20use_bzip2       yes
    1221master_sites            http://gnokii.org/download/gnokii/ \
    1322                        http://gnokii.org/download/gnokii/0.6.x/ \
    1423                        ftp://ftp.gnokii.org/pub/gnokii/ \
    15                         ftp://ftp.gnokii.org/pub/gnokii/0.6.x/
     24                        ftp://ftp.gnokii.org/pub/gnokii/0.6.x/ \
     25                        http://ftp.slackware.pl/pub/gnokii/gnokii/ \
     26                        http://ftp.slackware.pl/pub/gnokii/gnokii/0.6.x/
    1627
    17 checksums               md5 fd1cc8e95e112d7414a8420518b881d6
     28checksums               md5 fd0ae7996a2e2a2c29e9f3c625df8f3d \
     29                sha1 a7c6f9fa56bfe01e3c8e719bb8585a24469fe1e7
    1830
    19 depends_lib             lib:gtk.1:gtk1 \
    20                         port:libtool
     31depends_lib             port:gtk2 port:libical port:libusb port:iso-codes port:readline
    2132
    22 configure.args          --disable-shared --disable-nls -enable-security
     33patchfiles      fink-fixes.diff
     34patch.args      -p1
     35post-patch {
     36    reinplace "s|/etc/gnokiirc|${prefix}/etc/gnokiirc|" ${worksrcpath}/common/cfgreader.c
     37    reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Docs/sample/gnokiirc
     38}
     39
     40configure.ldflags-append -lintl -lglib-2.0
     41configure.args          --enable-security \
     42                    --disable-smsd \
     43                    --with-libiconv-prefix=${prefix} \
     44                    --with-readline=${prefix}
     45
     46post-activate {
     47    if {![file exists ${prefix}/etc/gnokiirc]} {
     48        copy ${prefix}/share/doc/gnokii/sample/gnokiirc ${prefix}/etc/gnokiirc
     49    }
     50}
    2351
    2452variant no_x11 {
    25   depends_lib-delete    lib:gtk.1:gtk1
     53  depends_lib-delete    port:gtk2
    2654  configure.args-append --without-x
    2755}
    2856
    29 # the ltmain.sh supplied with gnokii and OSX 10.4 both have problems
    30 platform darwin {
    31   post-extract {
    32     if {[file exists ${prefix}/share/libtool/config/ltmain.sh]} {
    33       file copy         -force ${prefix}/share/libtool/config/ltmain.sh ${worksrcpath}/config
    34     } else {
    35       file copy         -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/config
    36     }
    37   }
     57platform macosx {
     58  configure.ldflags-append    -framework IOBluetooth -framework CoreFoundation
    3859}
Note: See TracChangeset for help on using the changeset viewer.