Ticket #1098: Portfile

File Portfile, 1.2 KB (added by charlie@…, 21 years ago)

portfile for xroot ...

Line 
1# $Id: Portfile,v 1.15 2003/09/20 16:48:21 fkr Exp $
2
3PortSystem          1.0
4name                xroot
5version             1.0
6categories          x11
7maintainers         charlie@rubberduck.com     
8description         A small X -root window
9long_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
17checksums           md5 a4a1f7f2cceea814380cd7e831b47c3b
18platforms           darwin
19master_sites        http://sealiesoftware.com/
20distfiles           xroot.c
21depends_lib         lib:libX11.6:XFree86
22
23extract   {}
24configure   {}
25build       {
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}
31destroot    {
32    cd ${workpath}
33    system "install -o root -m 755 -c xroot ${destroot}${prefix}/bin"
34}