Ticket #20204: mimms-3.2.1.patch

File mimms-3.2.1.patch, 2.5 KB (added by 0xced (Cédric Luthi), 15 years ago)

mimms-3.2.1 Portfile update

  • multimedia/mimms/Portfile

     
    11# $Id: Portfile 44243 2008-12-23 21:57:26Z mcalhoun@macports.org $
    22
    33PortSystem 1.0
     4PortGroup python25 1.0
    45
    56name            mimms
    6 version         2.0.1
    7 revision        1
     7version         3.2.1
    88categories      multimedia
    9 maintainers     boeyms openmaintainer
     9maintainers     boeyms gmail.com:cedric.luthi openmaintainer
    1010description     MiMMS isn't an MMS Message Sender, it's an MMS \
    1111                (e.g. mms://) stream downloader.
    1212long_description \
     
    1818homepage        http://savannah.nongnu.org/projects/mimms/
    1919platforms       darwin
    2020master_sites    http://download.savannah.gnu.org/releases/mimms/
    21 checksums       md5     3e44f5b182892c4adfa8c08ddf8ccc17 \
    22                 sha1    197f4c89c74d40a7aec382d20160a746946ce795 \
    23                 rmd160  a23430022371c530e91b7991f52275e545f61e3d
     21checksums       md5     ec629d8899551b4789ba15c17402c36f \
     22                sha1    279eee76dd4032cd2c1dddf1d49292a952c57b80 \
     23                rmd160  669d5d80ae9bd318bf98c032197fa6980622182e
    2424use_bzip2       yes
    25 patchfiles      patch-mimms.cpp.diff patch-mimms.pro.diff
    2625depends_lib     port:libmms
    27 pre-fetch {
    28     if {![variant_isset qt4] && ![variant_isset qt4_mac]} {
    29         return -code error "
    30 ###########################################################
    31 # mimms will not compile unless one of the +qt4 or +qt4_mac
    32 # variants are selected.  Please choose one of these variants to build.
    33 ###########################################################"
    34     }
    35 }
    36 
    37 set qt_dir  ${prefix}/libexec/qt4-mac
    3826
    3927configure {
    40     reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/mimms.pro
     28    reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py
    4129}
    42 build.env       CPPFLAGS="-I${prefix}/include -I${prefix}/include/libmms" \
    43                 CFLAGS=-O2 \
    44                 LDFLAGS=-L${prefix}/lib
    45 build.args-append   PREFIX=${prefix} QMAKE=${qt_dir}/bin/qmake
    46 destroot.destdir-append   PREFIX=${prefix}
    4730
    48 variant qt4 conflicts qt4_mac description {Links MiMMS against the qt4 port} {
    49     patchfiles-append   patch-Makefile.qt4.diff
    50     depends_lib-append  port:qt4
    51 }
    52 
    53 variant qt4_mac conflicts qt4 description {Links MiMMS against the qt4-mac port} {
    54     patchfiles-append   patch-Makefile.qt4-mac.diff
    55     depends_lib-append  port:qt4-mac
    56 }
     31livecheck.check regex
     32livecheck.url   ${homepage}
     33livecheck.regex mimms (\\d+(\\.\\d+)*) released