Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Submitted by: charlie@rubberduck.com Reviewed by: mww@opendarwin.org new port, xroot git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3856 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Markus W. Weißmann
committed
Oct 30, 2003
1 parent
6e1bd16
commit ef8f05f
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# $Id: # | ||
|
||
PortSystem 1.0 | ||
name xroot | ||
version 1.0 | ||
categories x11 | ||
maintainers charlie@rubberduck.com | ||
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 | ||
master_sites http://sealiesoftware.com/ | ||
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/" | ||
} |