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

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

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
freeing up some time

  • Property svn:eol-style set to native
File size: 737 bytes
Line 
1# $Id: Portfile,v 1.7 2005/09/13 06:57:50 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
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.