Changeset 142631 for trunk/dports/comms


Ignore:
Timestamp:
Nov 17, 2015, 10:31:56 PM (4 years ago)
Author:
devans@…
Message:

gnokii: reconfigure using upstream autogen.sh for intltool 0.51 compatibility, update dependencies, obfuscate maintainer email, add license, +bluetooth support only available on OS X 10.6 and earlier, increment revision to ensure building with latest libical (#34162, #42640, maintainer timeout).

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

Legend:

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

    r142120 r142631  
    66name                gnokii
    77version             0.6.31
     8revision            1
     9license             GPL-2+
    810categories          comms
    911platforms           darwin
    10 maintainers         mpal1+bugzilla@ieee.org
     12maintainers         ieee.org:mpal1+bugzilla
    1113description         Tools to manipulate Nokia and other mobile phones.
    1214long_description    gnokii provides tools and a user space driver for use \
     
    3133
    3234depends_build       port:intltool \
    33                     port:pkgconfig
     35                    port:pkgconfig \
     36                    port:autoconf \
     37                    port:automake \
     38                    port:libtool
     39
    3440depends_lib         port:gettext \
    3541                    port:iso-codes \
     
    3844                    port:readline
    3945
     46# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
     47
    4048post-patch {
     49    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
    4150    reinplace "s|/etc/gnokiirc|${prefix}/etc/gnokiirc|" ${worksrcpath}/common/cfgreader.c
    4251    reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Docs/sample/gnokiirc
    4352}
    4453
     54configure.cmd       ./autogen.sh
     55
    4556configure.ldflags-append \
    4657                    -lintl -lglib-2.0
     58
    4759configure.args      --enable-security \
    4860                    --disable-smsd \
     
    5870}
    5971
    60 # bluetooth does not work anymore on recent versions of Mac OS X, see #34162
    61 variant bluetooth description {Enable support for bluetooth (broken on Mac OS X >=10.7)} {
    62     configure.args-replace --disable-bluetooth --enable-bluetooth
    63     platform macosx {
    64         configure.ldflags-append -framework IOBluetooth
     72
     73platform macosx {
     74    configure.ldflags-append -framework CoreFoundation
     75   
     76    # bluetooth does not work anymore on Mac OS X version 10.7+, see #34162, #42640
     77
     78    if {${os.major} < 11} {
     79        variant bluetooth description {Enable support for bluetooth (broken on Mac OS X >=10.7)} {
     80            configure.args-replace --disable-bluetooth --enable-bluetooth
     81            configure.ldflags-append -framework IOBluetooth
     82        }
    6583    }
    6684}
     
    7290
    7391default_variants    +x11
    74 
    75 platform macosx {
    76     configure.ldflags-append -framework CoreFoundation
    77 }
Note: See TracChangeset for help on using the changeset viewer.