d13dfa4521
Submitted by: QAT
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
# New ports collection makefile for: SAINT
|
|
# Date created: 27 Jan 2000
|
|
# Whom: 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/samba34
|
|
|
|
USE_PERL5= yes
|
|
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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 900000
|
|
BROKEN= leaves files after deinstallation
|
|
.endif
|
|
|
|
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>
|