source: trunk/dports/net/hping2/Portfile @ 15985

Last change on this file since 15985 was 15985, checked in by olegb, 15 years ago

Bug: 6556
Submitted by:
Reviewed by:
Approved by:
Obtained from:
make hping2 build again

  • Property svn:eol-style set to native
File size: 759 bytes
Line 
1# $Id: Portfile,v 1.8 2006/01/23 17:06:37 olegb Exp $
2PortSystem 1.0
3name            hping2
4version         rc3
5revision        1
6categories      net
7maintainers     darwinports@opendarwin.org
8description     a network tool
9long_description        a network tool able to send custom packets.
10homepage        http://www.hping.org/
11platforms       darwin
12distfiles       ${name}.0.0-${version}.tar.gz
13master_sites    ${homepage}     
14checksums       md5 029bf240f2e0545b664b2f8b9118d9e8
15patchfiles      patch-Makefile.in patch-libpcap_stuff.c
16post-build {
17        system "cd ${worksrcpath} && make strip"
18        reinplace "s|INSTALL_PATH=|INSTALL_PATH=${destroot}${prefix}|g" Makefile
19        reinplace "s|INSTALL_MANPATH=|INSTALL_MANPATH=${destroot}${prefix}/share/man|g" Makefile
20}
21post-destroot {
22        file delete ${destroot}${prefix}/sbin/hping
23}
Note: See TracBrowser for help on using the repository browser.