# $Id: Portfile 44922 2009-01-04 20:47:09Z jeremyhu@macports.org $ PortSystem 1.0 name xorg-libXvMC version 1.0.4 categories x11 devel maintainers jeremyhu openmaintainer description X.org libXvMC homepage http://www.x.org platforms darwin macosx long_description Xvideo extension library with Motion Compression master_sites ${homepage}/pub/individual/lib/ distname libXvMC-${version} checksums md5 b54600573daf9d1a29b952e8d35b389e \ sha1 e035cabb8ca61bc665746b02bf97549c253b4557 \ rmd160 ccb5bcb022e9596dea17213419d56e7e123c043b use_bzip2 yes use_parallel_build yes depends_build port:pkgconfig \ port:xorg-videoproto \ port:xorg-xextproto depends_lib port:xorg-libXv livecheck.check regex livecheck.url [lindex ${master_sites} 0]?C=M&O=D livecheck.regex libXvMC-(\\d+(?:\\.\\d+)*) variant system_x11 description {Install a stub package to use the system X11 libraries rather than Macports} { if { [file exists ${x11prefix}/lib/libXvMC.dylib] && ! [string equal ${prefix} ${x11prefix}] } { fetch { } checksum { } build { } destroot { xinstall -d ${destroot}${prefix}/share/doc/${name} system "echo ${long_description} > ${destroot}${prefix}/share/doc/${name}/README.txt" } use_configure no } }