source: trunk/dports/comms/gnokii/Portfile @ 45082

Last change on this file since 45082 was 45082, checked in by jmr@…, 10 years ago

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

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 45082 2009-01-08 10:23:57Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                    gnokii
6version                 0.6.27
7categories              comms
8platforms       darwin
9maintainers             mpal1+bugzilla@ieee.org
10description             Tools to manipulate Nokia and other mobile phones.
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.
17
18homepage                http://www.gnokii.org/
19
20use_bzip2       yes
21master_sites            http://gnokii.org/download/gnokii/ \
22                        http://gnokii.org/download/gnokii/0.6.x/ \
23                        ftp://ftp.gnokii.org/pub/gnokii/ \
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/
27
28checksums               md5 fd0ae7996a2e2a2c29e9f3c625df8f3d \
29                sha1 a7c6f9fa56bfe01e3c8e719bb8585a24469fe1e7
30
31depends_lib             port:gtk2 port:libical port:libusb port:iso-codes port:readline
32
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}
51
52variant no_x11 {
53  depends_lib-delete    port:gtk2
54  configure.args-append --without-x
55}
56
57platform macosx {
58  configure.ldflags-append    -framework IOBluetooth -framework CoreFoundation
59}
Note: See TracBrowser for help on using the repository browser.