# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name gnokii version 0.6.27 categories comms platforms darwin maintainers mpal1+ieee.org:bugzilla description Tools to manipulate Nokia and other mobile phones. 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. homepage http://www.gnokii.org/ use_bzip2 yes master_sites http://gnokii.org/download/gnokii/ \ http://gnokii.org/download/gnokii/0.6.x/ \ ftp://ftp.gnokii.org/pub/gnokii/ \ ftp://ftp.gnokii.org/pub/gnokii/0.6.x/ \ http://ftp.slackware.pl/pub/gnokii/gnokii/ \ http://ftp.slackware.pl/pub/gnokii/gnokii/0.6.x/ checksums md5 fd0ae7996a2e2a2c29e9f3c625df8f3d \ sha1 a7c6f9fa56bfe01e3c8e719bb8585a24469fe1e7 depends_lib port:gtk2 port:libical port:libusb port:iso-codes port:readline patchfiles fink-fixes.diff patch.args -p1 post-patch { reinplace "s|/etc/gnokiirc|${prefix}/etc/gnokiirc|" ${worksrcpath}/common/cfgreader.c reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Docs/sample/gnokiirc } configure.ldflags-append -lintl -lglib-2.0 configure.args --enable-security \ --disable-smsd \ --with-libiconv-prefix=${prefix} \ --with-readline=${prefix} post-activate { if {![file exists ${prefix}/etc/gnokiirc]} { copy ${prefix}/share/doc/gnokii/sample/gnokiirc ${prefix}/etc/gnokiirc } } variant no_x11 { depends_lib-delete port:gtk2 configure.args-append --without-x } platform macosx { configure.ldflags-append -framework IOBluetooth -framework CoreFoundation }