aboutsummaryrefslogtreecommitdiffstats
path: root/net/sniffit/Makefile
blob: 632cc07f28685cfbd67dff5c5e967cb15e2e9ada (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
33
34
35
36
37
38
39
40
# ex:ts=8
# Ports collection makefile for:  sniffit
# Date created:           28 Mar 1998
# Whom:               bsdx
#
# $FreeBSD$
#

PORTNAME=   sniffit
PORTVERSION=    0.3.7b
PORTREVISION=   1
CATEGORIES= net security
MASTER_SITES=   http://reptile.rug.ac.be/~coder/sniffit/files/  \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
DISTNAME=   sniffit.0.3.7.beta

PATCH_SITES=    ${MASTER_SITE_DEBIAN}
PATCH_SITE_SUBDIR=  pool/main/s/sniffit
PATCHFILES= sniffit_0.3.7.beta-6.1.diff.gz
PATCH_DIST_STRIP=   -p1

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

GNU_CONFIGURE=  yes
ALL_TARGET=
MAN5=       sniffit.5
MAN8=       sniffit.8

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sniffit ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/sniffit.5 ${PREFIX}/man/man5
    ${INSTALL_MAN} ${WRKSRC}/sniffit.8 ${PREFIX}/man/man8
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/sniffit
    ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/sniffit
.endif

.include <bsd.port.mk>