# $Id$ PortSystem 1.0 name wine-devel set my_name wine version 1.1.10 categories x11 maintainers ryandesign jwa openmaintainer homepage http://www.winehq.com/ platforms darwin distname ${my_name}-${version} dist_subdir ${my_name} 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 939ddfacb80678a99b3c960edb3a30f5 \ sha1 21712c3c6195779304cd72f5175ea1528b2a26a0 \ rmd160 a03ebd900622a95a3232abf1827664bbcd2861d0 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 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.name ${my_name} livecheck.check sourceforge livecheck.regex "Source Packages (\[0-9\]+\\.\[0-9\]*\[13579\](\\.\[0-9\]+)*) released.*"