aboutsummaryrefslogtreecommitdiffstats
path: root/net/nast/Makefile
blob: 0821c5a0ab5c6db0ce7d91eaa3c43d03c4c8af58 (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
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$

PORTNAME=   nast
PORTVERSION=    0.2.0
PORTREVISION=   5
CATEGORIES= net
MASTER_SITES=   BERLIOS

MAINTAINER= ports@FreeBSD.org
COMMENT=    Packet sniffer

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libnet.so:net/libnet

USES=       gmake
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/nast man/man8/nast.8.gz

post-patch:
    @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>