2000-01-29 23:33:19 +01:00
|
|
|
# New ports collection makefile for: SAINT
|
|
|
|
# Date created: 27 Jan 2000
|
|
|
|
# Whom: Carl Johan Madestrand <calle.madestrand@norrgarden.se>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= saint
|
2003-06-01 02:32:01 +02:00
|
|
|
PORTVERSION= 3.5.8
|
2009-04-13 11:56:33 +02:00
|
|
|
PORTREVISION= 2
|
2000-01-29 23:33:19 +01:00
|
|
|
CATEGORIES= security
|
2006-10-31 03:22:04 +01:00
|
|
|
MASTER_SITES= ftp://147.102.222.211/pub/security/scanners/saint/
|
2000-01-29 23:33:19 +01:00
|
|
|
|
2002-05-06 00:17:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Security Administrator's Integrated Network Tool
|
2000-01-29 23:33:19 +01:00
|
|
|
|
2000-09-30 17:14:26 +02:00
|
|
|
BUILD_DEPENDS= nmap:${PORTSDIR}/security/nmap
|
2003-06-01 02:32:01 +02:00
|
|
|
.if defined(WITH_SAMBA)
|
2010-09-14 20:30:17 +02:00
|
|
|
BUILD_DEPENDS+= smbclient:${PORTSDIR}/${SAMBA_PORT}
|
2003-06-01 02:32:01 +02:00
|
|
|
.endif
|
2000-05-07 23:24:37 +02:00
|
|
|
|
2010-09-14 20:30:17 +02:00
|
|
|
SAMBA_PORT?= net/samba34
|
|
|
|
|
2000-01-29 23:33:19 +01:00
|
|
|
USE_PERL5= yes
|
2000-09-30 17:14:26 +02:00
|
|
|
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"
|
2000-01-29 23:33:19 +01:00
|
|
|
INSTALL_TARGET= all
|
2010-11-18 13:48:20 +01:00
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2000-01-29 23:33:19 +01:00
|
|
|
|
2002-12-20 14:04:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-04-18 22:41:59 +02:00
|
|
|
.if ${OSVERSION} >= 900000
|
|
|
|
BROKEN= leaves files after deinstallation
|
|
|
|
.endif
|
|
|
|
|
2000-09-30 17:14:26 +02:00
|
|
|
do-install:
|
2006-10-31 03:22:04 +01:00
|
|
|
@${MKDIR} ${PREFIX}/saint
|
2010-11-18 14:01:22 +01:00
|
|
|
${RM} ${WRKSRC}/reconfig.orig
|
2006-10-31 03:22:04 +01:00
|
|
|
${TAR} -C ${WRKSRC} -cf - -X ${FILESDIR}/excludefiles . | ${TAR} -C ${PREFIX}/saint -xf -
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
2000-01-29 23:33:19 +01:00
|
|
|
|
2001-04-20 17:45:26 +02:00
|
|
|
post-install:
|
2006-10-31 03:22:04 +01:00
|
|
|
@${RM} -rf ${PREFIX}/saint/include/ASM-i386
|
2001-04-20 17:45:26 +02:00
|
|
|
|
2002-12-20 14:04:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|