# -*- 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 # $Id$ PortSystem 1.0 name xmove version 2.0beta2 categories x11 license X11 platforms darwin maintainers nomaintainer description An X11 pseudoserver for moving windows between displays long_description xmove lets you change which display an X Window System \ program renders to - this could be a different monitor or \ even a different machine. homepage http://en.wikipedia.org/wiki/Xmove master_sites freebsd checksums md5 d70107f7835b755bd4f57b47a8ac7b38 \ sha1 a34292d88c72db2e1839fe27ddd18456ef069429 \ rmd160 9ae8a107c50ff971f15aa2027da9e581ba7f06b8 depends_build port:imake depends_lib port:xorg-libX11 distname ${name}.${version} worksrcdir ${name} patchfiles patch-XMOVELib.c \ patch-externs.h \ patch-main.c \ patch-move_window.c \ patch-print11.c \ patch-put_image.c \ patch-server.c \ patch-xmovectrl.h configure { system "cd ${worksrcpath}/xmove && xmkmf" system "cd ${worksrcpath}/xmovectrl && xmkmf" } build { system "cd ${worksrcpath}/xmove && make xmove" system "cd ${worksrcpath}/xmovectrl && make xmovectrl" } destroot { set mandir ${destroot}${prefix}/share/man/man1 xinstall -d -m 755 ${destroot}${prefix}/bin ${mandir} xinstall -m 755 -W ${worksrcpath} xmove/xmove xmovectrl/xmovectrl \ ${destroot}${prefix}/bin xinstall -m 644 -W ${worksrcpath}/man/man1 xmove.1 xmovectrl.1 ${mandir} }