aboutsummaryrefslogtreecommitdiffstats
path: root/security/saint/Makefile
blob: 2c13bc0325bd1a2e294b8f96d2ded9b7f322529b (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
41
42
# Created by: Carl Johan Madestrand <calle.madestrand@norrgarden.se>
# $FreeBSD$

PORTNAME=   saint
PORTVERSION=    3.5.8
PORTREVISION=   2
CATEGORIES= security
MASTER_SITES=   ftp://147.102.222.211/pub/security/scanners/saint/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Security Administrator's Integrated Network Tool

BUILD_DEPENDS=  nmap:${PORTSDIR}/security/nmap
.if defined(WITH_SAMBA)
BUILD_DEPENDS+= smbclient:${PORTSDIR}/${SAMBA_PORT}
.endif

SAMBA_PORT?=    net/samba36

DEPRECATED= Unmaintained since 2002
EXPIRATION_DATE=    2014-04-17
USES=       perl5
MANCOMPRESSED=  no
MAN1=       saint.1
GNU_CONFIGURE=  yes
MAKE_ENV=   "LIBS=-lrpcsvc" "XFLAGS=-g -O2   -DSTDC_HEADERS=1 -DGETGROUPS_T=gid_t -DSYS_ERRLIST_DECLARED=1 " "RPCGEN=/usr/bin/rpcgen"
INSTALL_TARGET= all
MAKE_JOBS_UNSAFE=yes

NO_STAGE=   yes
.include <bsd.port.pre.mk>

do-install:
    @${MKDIR} ${PREFIX}/saint
    ${RM} ${WRKSRC}/reconfig.orig
    ${TAR} -C ${WRKSRC} -cf - -X ${FILESDIR}/excludefiles . | ${TAR} -C ${PREFIX}/saint -xf -
    ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1

post-install:
    @${RM} -rf ${PREFIX}/saint/include/ASM-i386

.include <bsd.port.post.mk>