Ticket #52689: attica_Portfile.diff

File attica_Portfile.diff, 1.3 KB (added by mkae (Marko Käning), 8 years ago)
  • Portfile

    old new  
    22# $Id: Portfile 140960 2015-10-06 20:13:45Z michaelld@macports.org $
    33
    44PortSystem          1.0
    5 PortGroup           kde4   1.1
    65
    76name                attica
    87version             0.4.2
    9 revision            1
     8revision            2
    109categories          kde kde4
    1110maintainers         nicos
    1211license             LGPL-2.1
     
    2019checksums           rmd160  fae94a0a9b9064b3e25a00a759e2ef450bffe7d8 \
    2120                    sha256  3b9c53770862c0b21b7af7ea15951c35831126022bb8d052760d9cf8bd7ee4f8
    2221
    23 platform darwin 8 {
    24     configure.ldflags-append    -lz -lssl -lcrypto
     22PortGroup           kde4 1.1
     23depends_lib-delete  port:phonon
     24
     25patchfiles-append   patch-includedir.diff
     26
     27post-patch {
     28    reinplace -W ${worksrcpath} "s|@IPREFIX@|/${kde4.include_prefix}|g" \
     29                lib/CMakeLists.txt lib/cmake/libattica.pc.cmake
    2530}
    2631
     32configure.args-append -DQT4_BUILD:BOOL=On
     33
    2734post-destroot {
    2835    ln -s libattica.0.4.dylib ${destroot}${prefix}/lib/libattica.0.dylib
    2936}
    3037
     38platform darwin 8 {
     39    configure.ldflags-append    -lz -lssl -lcrypto
     40}
     41
    3142livecheck.url       http://kde.mirrors.hoobly.com/stable/${name}
    3243livecheck.regex     attica-(\\d+\\.\\d+\\.\\d+)