Changeset 54117


Ignore:
Timestamp:
Jul 21, 2009, 4:51:34 PM (10 years ago)
Author:
macsforever2000@…
Message:

Update to version 3.2.1. Remove unnecessary Qt4 variants. (#20204)

Location:
trunk/dports/multimedia/mimms
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/mimms/Portfile

    r44243 r54117  
    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.
     
    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     }
     26
     27configure {
     28    reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py
    3529}
    3630
    37 set qt_dir  ${prefix}/libexec/qt4-mac
    38 
    39 configure {
    40     reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/mimms.pro
    41 }
    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}
    47 
    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
Note: See TracChangeset for help on using the changeset viewer.