aboutsummaryrefslogtreecommitdiffstats
path: root/net/sniffit/Makefile
blob: 84c9ea624461235fdb7fdba51e804fbb681ca57d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: bsdx
# $FreeBSD$

PORTNAME=   sniffit
PORTVERSION=    0.3.7b
PORTREVISION=   4
CATEGORIES= net security
MASTER_SITES=   http://www.mavetju.org/download/adopted/
DISTNAME=   sniffit.0.3.7.beta

PATCH_SITES=    ${MASTER_SITE_DEBIAN_POOL} \
        http://www.mavetju.org/download/adopted/:patches
PATCHFILES= sniffit_0.3.7.beta-10.diff.gz:patches
PATCH_DIST_STRIP=   -p1

MAINTAINER= edwin@mavetju.org
COMMENT=    Packet sniffer program. For educational use

GNU_CONFIGURE=  yes
ALL_TARGET=

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${STAGEDIR}${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${STAGEDIR}${MANPREFIX}/man/man5
    ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${STAGEDIR}${MANPREFIX}/man/man8
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/sniffit
    ${INSTALL_MAN} ${WRKSRC}/README.FIRST \
        ${STAGEDIR}${PREFIX}/share/doc/sniffit

.include <bsd.port.mk>