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
|
2000-01-29 23:33:19 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
|
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)
|
|
|
|
BUILD_DEPENDS+= smbclient:${PORTSDIR}/net/samba
|
|
|
|
.endif
|
2000-05-07 23:24:37 +02:00
|
|
|
|
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
|
|
|
|
|
2003-06-01 02:32:01 +02:00
|
|
|
DOWNLOAD_URL?= http://www.wwdsi.com/products/download.html
|
|
|
|
|
2002-12-20 14:04:06 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
2003-06-01 02:32:01 +02:00
|
|
|
IGNORE= You must manually fetch the source distribution (${DISTFILES}) \
|
|
|
|
from ${DOWNLOAD_URL}, choose SAINT - Free Trial, place it in \
|
|
|
|
${DISTDIR} and then run make again
|
2002-12-20 14:04:06 +01:00
|
|
|
.endif
|
2003-06-01 02:32:01 +02:00
|
|
|
NO_CDROM= yes
|
2002-12-20 14:04:06 +01:00
|
|
|
|
2000-01-29 23:33:19 +01:00
|
|
|
pre-install:
|
2000-04-20 02:53:43 +02:00
|
|
|
${MKDIR} ${PREFIX}/saint
|
2000-11-08 13:31:57 +01:00
|
|
|
${TAR} --directory ${WRKSRC} -cf - . --exclude src --exclude Makefile --exclude Makefile.in --exclude old --exclude config.cache --exclude config.log --exclude config.status --exclude configure --exclude configure.in --exclude install-sh --exclude saint.1 | \
|
2000-04-20 02:53:43 +02:00
|
|
|
${TAR} --directory ${PREFIX}/saint -xf -
|
2000-09-30 17:14:26 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
do-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/saint.1 ${PREFIX}/man/man1
|
|
|
|
.endif
|
2000-01-29 23:33:19 +01:00
|
|
|
|
2001-04-20 17:45:26 +02:00
|
|
|
post-install:
|
|
|
|
${RM} -rf ${PREFIX}/saint/include/ASM-i386
|
|
|
|
|
2002-12-20 14:04:06 +01:00
|
|
|
.include <bsd.port.post.mk>
|