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) |
---|
-
multimedia/mimms/Portfile
1 1 # $Id: Portfile 44243 2008-12-23 21:57:26Z mcalhoun@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup python25 1.0 4 5 5 6 name mimms 6 version 2.0.1 7 revision 1 7 version 3.2.1 8 8 categories multimedia 9 maintainers boeyms openmaintainer9 maintainers boeyms gmail.com:cedric.luthi openmaintainer 10 10 description MiMMS isn't an MMS Message Sender, it's an MMS \ 11 11 (e.g. mms://) stream downloader. 12 12 long_description \ … … 18 18 homepage http://savannah.nongnu.org/projects/mimms/ 19 19 platforms darwin 20 20 master_sites http://download.savannah.gnu.org/releases/mimms/ 21 checksums md5 3e44f5b182892c4adfa8c08ddf8ccc17\22 sha1 197f4c89c74d40a7aec382d20160a746946ce795\23 rmd160 a23430022371c530e91b7991f52275e545f61e3d21 checksums md5 ec629d8899551b4789ba15c17402c36f \ 22 sha1 279eee76dd4032cd2c1dddf1d49292a952c57b80 \ 23 rmd160 669d5d80ae9bd318bf98c032197fa6980622182e 24 24 use_bzip2 yes 25 patchfiles patch-mimms.cpp.diff patch-mimms.pro.diff26 25 depends_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_mac32 # variants are selected. Please choose one of these variants to build.33 ###########################################################"34 }35 }36 37 set qt_dir ${prefix}/libexec/qt4-mac38 26 39 27 configure { 40 reinplace "s| @prefix@|${prefix}|g" ${worksrcpath}/mimms.pro28 reinplace "s|libmms.so.0|${prefix}/lib/libmms.0.dylib|g" ${worksrcpath}/libmimms/libmms.py 41 29 } 42 build.env CPPFLAGS="-I${prefix}/include -I${prefix}/include/libmms" \43 CFLAGS=-O2 \44 LDFLAGS=-L${prefix}/lib45 build.args-append PREFIX=${prefix} QMAKE=${qt_dir}/bin/qmake46 destroot.destdir-append PREFIX=${prefix}47 30 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 } 31 livecheck.check regex 32 livecheck.url ${homepage} 33 livecheck.regex mimms (\\d+(\\.\\d+)*) released