source: trunk/dports/x11/xping/Portfile

Last change on this file was 71533, checked in by ryandesign@…, 8 years ago

In the interest that all portfiles exemplify correct portfile writing techniques, remove slash before ${prefix} which is not needed because ${prefix} already begins with a slash

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 613 bytes
1# $Id: Portfile 71533 2010-09-15 20:26:12Z $
2PortSystem 1.0
4name            xping
5version         1.9
6revision        2
7categories      x11
8platforms       darwin
9maintainers     nomaintainer
10description     'ping' an Xserver
11long_description        A simple tool to determine if an X11 server is running.
12distfiles       xping.c
13universal_variant no
14depends_lib \
15        port:xorg-libX11
17fetch           {}
18extract         { file mkdir ${worksrcpath}
19                  file copy ${filespath}/${distfiles} ${worksrcpath} }
20use_configure   no
22build           { system "cd ${worksrcpath} && cc ${distfiles} -Wall -I${prefix}/include -L${prefix}/lib -lX11 -o xping" }
24destroot        { system "install -m 755 ${worksrcpath}/xping ${destroot}${prefix}/bin/" }
Note: See TracBrowser for help on using the repository browser.