# $Id$ PortSystem 1.0 name icewm version 1.2.32 categories x11 x11-wm maintainers saispo@macports.org platforms darwin description Lightweight window manager with a Windows or OS/2 look and feel long_description Nice and fast window manager with the look and feel \ from Windows (95, 98) or OS/2 (Warp 3, Warp 4). homepage http://www.icewm.org master_sites http://downloads.sourceforge.net/icewm checksums md5 49084971689c04b739766a3f5d576d83 patchfiles 01-fix_leopard_deprecated_in_stdlib.patch depends_lib \ lib:libICE.6:xorg-libice \ lib:libSM.6:xorg-libsm \ lib:libX11.6:xorg-libX11 \ lib:libXau.6:xorg-libXau \ lib:libXdmcp.6:xorg-libXdmcp \ lib:libXext.6:xorg-libXext \ lib:libXft.2:Xft2 \ lib:libXinerama.1:xorg-libXinerama \ lib:libXpm.4:xpm \ lib:libXrandr.2:xorg-libXrandr \ lib:libXrender.1:xrender \ port:fontconfig \ port:freetype configure.args --mandir=${prefix}/share/man \ --with-cfgdir=${prefix}/etc/icewm \ --with-xpm --without-icesound \ --disable-i18n --disable-nls \ --disable-debug destroot { system "cd ${worksrcpath} && make install-docs DESTDIR=${destroot}" system "cd ${worksrcpath} && make install-man DESTDIR=${destroot}" if {[variant_isset gnome1] || [variant_isset gnome2]} { system "cd ${worksrcpath} && make install-gnome DESTDIR=${destroot}" } system "cd ${worksrcpath} && make install DESTDIR=${destroot}" } post-destroot { ui_msg "" ui_msg "To start icewm put \"exec icewm-session\" in your \".xinitrc\" file." ui_msg "Don't forget to add the MacPorts Environment to the X Environment too!" ui_msg "" } variant lite description {Use the lightweight IceWM} { configure.args-append --enable-lite \ --disable-xinerama --disable-xrandr } variant imlib description {Use Imlib for images instead of libxpm (does not work yet)} { configure.args-delete --with-xpm configure.args-append --with-imlib depends_lib-append port:imlib } variant nls description {Use internationalized messages (does not work correct yet)} { configure.args-delete --disable-i18n --disable-nls # configure.args-append --enable-i18n --enable-nls depends_lib-append port:gettext port:libiconv } variant debug description {Use this option if you want to debug IceWM} { configure.args-delete --disable-debug configure.args-append --enable-debug } # not tested: can't install esound, help2man variant esound description {Use sound support (untested)} { configure.args-delete --without-icesound configure.args-append --with-icesound=esound --enable-guievents depends_lib-append port:audiofile port:esound } # not tested, can't install gnome variant gnome1 conflicts gnome2 description {Use the GNOME menus with IceWM} { configure.args-append --enable-menus-gnome1 } variant gnome2 conflicts gnome1 description {Use the KDE/GNOME2 menus with IceWM} { configure.args-append --enable-menus-gnome2 }