# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 github.setup window-maker wmaker 0.95.9 wmaker- name windowmaker github.tarball_from releases revision 1 categories x11 x11-wm platforms darwin freebsd license GPL-2+ maintainers nomaintainer description Window Maker is a X11 window manager supporting GNUstep long_description Window Maker is an X11 window manager originally designed to provide \ integration support for the GNUstep Desktop Environment. \ In every way possible, it reproduces the elegant look and feel \ of the NEXTSTEP\[tm\] user interface. \ It is fast, feature rich, easy to configure, and easy to use. \ It is also free software, with contributions being made \ by programmers from around the world. homepage https://windowmaker.org/ distname WindowMaker-${version} checksums rmd160 3c78acef4e535f4b2230e0e8cf5155c54359a61e \ sha256 f22358ff60301670e1e2b502faad0f2da7ff8976632d538f95fe4638e9c6b714 \ size 3397167 universal_variant no depends_build-append \ port:pkgconfig depends_lib-append port:gettext \ port:giflib \ port:libexif \ port:libpng \ port:tiff \ port:xorg-libXmu \ port:xpm \ port:Xft2 # https://groups.google.com/g/wmaker-dev/c/EAvrkMRpla0 patchfiles osdep_darwin.fix.diff post-patch { set fl [glob -directory ${worksrcpath} WindowMaker/*menu*] lappend fl ${worksrcpath}/WindowMaker/Defaults/WindowMaker.in \ ${worksrcpath}/WPrefs.app/Menu.c ${worksrcpath}/WPrefs.app/Paths.c foreach i $fl { reinplace "s|/usr/X11R6/share|${prefix}/share|g" $i reinplace "s|/usr/share|${prefix}/share|g" $i reinplace "s|/usr/local/share|${prefix}/share|g" $i reinplace "s|/opt/share|${prefix}/share|g" $i reinplace "s|/opt/kde2/share|${prefix}/share|g" $i } } configure.env-append \ "LINGUAS=be bg bs ca cs da de el es et fi fr fy gl hr hu hy it ja ko ms nl no pl pt ro ru sk sv tr uk zh_CN zh_TW" \ "LIBS=-L${prefix}/lib -lintl -lX11" ##configure.args --mandir=${prefix}/share/man \ ## --with-nlsdir=${prefix}/share/locale \ configure.args-append \ --disable-silent-rules \ --with-gnustepdir=${prefix}/GNUstep/Local \ --disable-magick variant debug description "Build with debugging flags set" { # To keep .c/.o/.dSYM files around, set portautoclean no in macports.conf # or use port -k to “keep” files around. configure.args-append --enable-debug configure.optflags -O0 configure.cflags-append -g2 } variant candy description "Enable various eye-candy options" { post-configure { reinplace "s|undef OPTIMIZE_SHAPE|define OPTIMIZE_SHAPE|" \ ${worksrcpath}/src/wconfig.h reinplace "s|undef ICON_KABOOM_EXTRA|define ICON_KABOOM_EXTRA|" \ ${worksrcpath}/src/wconfig.h reinplace "s|undef WINDOW_BIRTH_ZOOM2|define WINDOW_BIRTH_ZOOM2|" \ ${worksrcpath}/src/wconfig.h } }