source: trunk/dports/net/hping2/Portfile

Last change on this file was 112365, checked in by jmr@…, 4 years ago

hping2: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 804 bytes
Line 
1# $Id: Portfile 112365 2013-10-21 09:33:08Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            hping2
6version         rc3
7revision        2
8categories      net
9license         GPL-2
10maintainers     nomaintainer
11description     a network tool
12long_description        a network tool able to send custom packets.
13homepage        http://www.hping.org/
14platforms       darwin
15distfiles       ${name}.0.0-${version}.tar.gz
16master_sites    ${homepage}
17checksums       md5 029bf240f2e0545b664b2f8b9118d9e8
18patchfiles      patch-Makefile.in patch-libpcap_stuff.c patch-ars.c patch-sendip.c patch-bytesex.h
19post-build {
20        system "cd ${worksrcpath} && make strip"
21}
22post-configure {
23        reinplace "s|INSTALL_PATH=|INSTALL_PATH=${destroot}${prefix}|g" ${worksrcpath}/Makefile
24        reinplace "s|INSTALL_MANPATH=|INSTALL_MANPATH=${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
25}
26post-destroot {
27        file delete ${destroot}${prefix}/sbin/hping
28}
Note: See TracBrowser for help on using the repository browser.