source: trunk/dports/x11/xroot/Portfile

Last change on this file was 103313, checked in by jmr@…, 5 years ago

xroot: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 103313 2013-02-21 09:44:38Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xroot
6version             1.0
7revision            2
8categories          x11
9license             public-domain
10maintainers         nomaintainer
11description         A small X -root window
12long_description    Greg Parker wrote 'xroot tool', it creates a small X11 window \
13                    that routes input events to the X11 root window. In particular, \
14                    you can click on it to get window manager menus.\
15                    \
16                    To run:\
17                    ./xroot  -display :0  -geometry 100x100+0-0 -color blue\
18                    (100x100 in lower-left corner, colored blue)
19
20checksums           md5 a4a1f7f2cceea814380cd7e831b47c3b
21platforms           darwin
22homepage            http://sealiesoftware.com/
23master_sites        ${homepage}
24distfiles           xroot.c
25depends_lib \
26        port:xorg-libX11
27
28extract   {
29    file mkdir ${worksrcpath}
30    file copy ${distpath}/${distfiles} ${worksrcpath}
31}
32use_configure       no
33
34build       {
35    system "cd ${worksrcpath} && ${configure.cxx} ${configure.cxxflags} ${configure.cxx_archflags} ${distfiles} -Wall -L${prefix}/lib -I${prefix}/include -lX11 -o xroot"
36}
37destroot    {
38    xinstall -m 755 ${worksrcpath}/xroot ${destroot}${prefix}/bin/
39}
Note: See TracBrowser for help on using the repository browser.