aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nat/Makefile
blob: ae5d7cf6863e8fa05abfdcf6cc5d629438972c68 (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
# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$

PORTNAME=   nat
PORTVERSION=    20
CATEGORIES= net-mgmt security
MASTER_SITES=   http://www.tux.org/pub/security/secnet/tools/nat20beta/ \
        http://apache.uasw.edu/pub/security/dfn-cert/tools/net/nat/
DISTNAME=   ${PORTNAME}${PORTVERSION}.freebsd

MAINTAINER= ports@FreeBSD.org
COMMENT=    NetBIOS auditing tool

LICENSE_FILE=   ${WRKSRC}/LICENSE

RESTRICTED= Redistribution prohibited by the license

IA32_BINARY_PORT=yes

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_FILES=    bin/nat %%DATADIR%%/passlist.txt %%DATADIR%%/userlist.txt man/man1/nat.1.gz
PLIST_DIRS= %%DATADIR%%

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/nat ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/nat.1 ${STAGEDIR}${MANPREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/passlist.txt ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/userlist.txt ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>