source: trunk/dports/net/arping/Portfile @ 28489

Last change on this file since 28489 was 28489, checked in by raimue@…, 10 years ago

net/arping:
Update to version 2.05

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 28489 2007-09-01 22:55:30Z raimue@macports.org $
2
3PortSystem 1.0
4
5name                    arping
6version                 2.05
7categories              net
8platforms               darwin
9maintainers             nomaintainer@macports.org
10description             utility to find out if a MAC address is already taken on a LAN
11long_description        Arping is a util to find out if a specific IP address on \
12                                        the LAN is 'taken' and what MAC address owns it.
13
14homepage                http://www.habets.pp.se/synscan/programs.php?prog=arping
15master_sites    ftp://ftp.habets.pp.se/pub/synscan/
16checksums               md5 96e7c2ce8ae09046e264a314eeaac4dd
17patchfiles              patch-arping.c
18
19depends_lib             port:libnet11 \
20                                lib:libpcap.DP:libpcap
21
22use_configure   no
23
24build.cmd               gcc arping-2/arping.c -I${prefix}/include/libnet \
25                                        -I${prefix}/include -L${prefix}/lib -lnet -lpcap
26build.target    -o arping
27
28destroot        {
29        xinstall -m 755 -s ${worksrcpath}/arping ${destroot}${prefix}/bin
30        xinstall -m 755 ${worksrcpath}/arping-scan-net.sh \
31                ${destroot}${prefix}/bin/arping-scan-net
32        xinstall -m 644 ${worksrcpath}/arping.8 ${destroot}${prefix}/share/man/man8/
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
34        xinstall -m 644 -W ${worksrcpath} LICENSE README \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.