Skip to content
Browse files


Submitted by:
Reviewed by:

new port, xroot

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 30, 2003
1 parent 6e1bd16 commit ef8f05f4c5f8ee8db1f613a8a9055644be9acb1b
Showing with 36 additions and 0 deletions.
  1. +36 −0 x11/xroot/Portfile
@@ -0,0 +1,36 @@
# $Id: #

PortSystem 1.0
name xroot
version 1.0
categories x11
description A small X -root window
long_description Greg Parker wrote 'xroot tool', it creates a small X11 window \
that routes input events to the X11 root window. In particular, \
you can click on it to get window manager menus.\
To run:\
./xroot -display :0 -geometry 100x100+0-0 -color blue\
(100x100 in lower-left corner, colored blue)

checksums md5 a4a1f7f2cceea814380cd7e831b47c3b
platforms darwin
distfiles xroot.c
depends_lib lib:libX11.6:XFree86

extract {}
use_configure no

pre-build {
file mkdir ${worksrcpath}
build {
file copy ${distpath}/${distfile} ${worksrcpath}
cd ${worksrcpath}
system "c++ ${distfile} -Wall -L${x11prefix}/lib -I${x11prefix}/include -lX11 -o xroot"
destroot {
system "install -m 755 ${worksrcpath}/xroot ${destroot}${prefix}/bin/"

0 comments on commit ef8f05f

Please sign in to comment.
You can’t perform that action at this time.