1 | # $Id: Portfile,v 1.15 2003/09/20 16:48:21 fkr Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name xroot |
---|
5 | version 1.0 |
---|
6 | categories x11 |
---|
7 | maintainers charlie@rubberduck.com |
---|
8 | description A small X -root window |
---|
9 | long_description Greg Parker wrote 'xroot tool', it creates a small X11 window \ |
---|
10 | that routes input events to the X11 root window. In particular, \ |
---|
11 | you can click on it to get window manager menus.\ |
---|
12 | \ |
---|
13 | To run:\ |
---|
14 | ./xroot -display :0 -geometry 100x100+0-0 -color blue\ |
---|
15 | (100x100 in lower-left corner, colored blue) |
---|
16 | |
---|
17 | checksums md5 a4a1f7f2cceea814380cd7e831b47c3b |
---|
18 | platforms darwin |
---|
19 | master_sites http://sealiesoftware.com/ |
---|
20 | distfiles xroot.c |
---|
21 | depends_lib lib:libX11.6:XFree86 |
---|
22 | |
---|
23 | extract {} |
---|
24 | configure {} |
---|
25 | build { |
---|
26 | system "mkdir ${worksrcpath}" |
---|
27 | system "cp ${distpath}/${distfile} ${workpath}" |
---|
28 | cd ${workpath} |
---|
29 | system "c++ ${distfile} -Wall -L${x11prefix}/lib -I${x11prefix}/include -lX11 -o xroot" |
---|
30 | } |
---|
31 | destroot { |
---|
32 | cd ${workpath} |
---|
33 | system "install -o root -m 755 -c xroot ${destroot}${prefix}/bin" |
---|
34 | } |
---|