42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# 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>
|