# $Id$ PortSystem 1.0 name wine version 1.0.1 revision 1 categories x11 maintainers ryandesign jwa openmaintainer homepage http://www.winehq.com/ platforms darwin use_bzip2 yes build.target depend all use_parallel_build yes universal_variant no description \ Wine Is Not an Emulator long_description \ Wine is an implementation of the Windows APIs on top of X11. master_sites \ sourceforge:wine \ http://ibiblio.org/pub/linux/system/emulators/wine/ checksums \ md5 b49540f4ed194c7e8da4cdc4b5bd3404 \ sha1 0550b03bf7b314514a87b6abb2198da96ef83b22 \ rmd160 fecd2bf970c51c80fc02ca39631034f066da145e depends_lib \ lib:libX11.6:XFree86 \ port:expat \ port:fontconfig \ port:fontforge \ port:freetype \ port:jpeg \ port:libiconv \ port:libxml2 \ port:libxslt \ port:ncurses \ port:openssl \ port:xrender \ port:zlib depends_build \ port:pkgconfig configure.ldflags-append \ -framework CoreServices \ -lz configure.args \ --x-includes=${x11prefix}/include \ --x-libraries=${x11prefix}/lib pre-fetch { if { [string compare ${os.endian} "little"] != 0 } { return -code error "${name} only runs on little-endian computers, such as an Intel Mac." } } post-destroot { xinstall -d ${destroot}${prefix}/libexec/wine file rename ${destroot}${prefix}/bin/wine ${destroot}${prefix}/libexec/wine/wine xinstall -m 755 ${filespath}/wine.in ${destroot}${prefix}/bin/wine reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine reinplace s|@X11PREFIX@|${x11prefix}|g ${destroot}${prefix}/bin/wine } livecheck.check sourceforge livecheck.regex "Source Packages (\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*) released.*"