# $Id$ PortSystem 1.0 name fvwm2 conflicts fvwm version 2.6.5 revision 2 description Version 2.x of FVWM, an X11 window manager. long_description FVWM 2.x is an extremely powerful ICCCM-compliant multiple \ virtual desktop window manager for the X Window system. homepage http://www.fvwm.org/ maintainers nomaintainer categories x11 x11-wm license GPL-2+ platforms darwin master_sites ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://ftp.lyx.org/pub/X11/fvwm/version-2/ distname fvwm-${version} use_bzip2 yes checksums rmd160 cf4d1374f2912a12047b7e66908bdaaae8c599b7 \ sha256 21549995c53906be5533746a1cf61b1ecf8dd8ef6816a0b20615d45ff78b48cf depends_build port:pkgconfig \ port:libxslt depends_lib port:xorg-libsm \ port:xorg-libXinerama \ port:xorg-libXcursor \ port:xpm \ port:Xft2 \ port:libpng \ port:librsvg \ port:readline configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-gtk \ --without-gnome \ --disable-bidi \ --disable-nls \ --with-ncurses-library=yes \ --without-rplay-library \ --without-stroke-library # "configure is not able to compile programs with warnings. Please # remove all offending options like -Werror from the CFLAGS and # CPPFLAGS variables and run configure again." # clang uses -Wreturn-type by default, so disable it explicitly. configure.cflags-append -Wno-return-type # port:gtk1 is not universal if {[variant_isset gtk] || [variant_isset gnome]} { universal_variant no } variant gtk description {Enable support for outdated GTK+ 1.x} { configure.args-delete --disable-gtk configure.args-append --enable-gtk depends_lib-append port:gtk1 } variant gnome requires gtk description {Enable support for outdated GNOME 1.x} { configure.args-delete --without-gnome configure.args-append --with-gnome depends_lib-append port:gnome-libs } variant bidi description {Enable support for bidirection text handling} { configure.args-delete --disable-bidi depends_lib-append port:fribidi } livecheck.type regexm livecheck.url ${homepage} livecheck.regex {Latest Release:   \s+.*?([^<]*)}