aboutsummaryrefslogtreecommitdiffstats
path: root/security/saint/Makefile
blob: 67fa409292c0e45919e5ed064a0e5b9d9c2d50eb (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
43
# New ports collection makefile for:    SAINT
# Date created:     27 Jan 2000
# Whom:         Carl Johan Madestrand <calle.madestrand@norrgarden.se>
#
# $FreeBSD$
#

PORTNAME=   saint
PORTVERSION=    3.4.11
CATEGORIES= security
MASTER_SITES=   ftp://ftp.wwdsi.com/pub/saint/          \
        http://www.wwdsi.com/saint/downloads/

MAINTAINER= ports@FreeBSD.org

BUILD_DEPENDS=  nmap:${PORTSDIR}/security/nmap

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

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE=     The source (${DISTFILES}is not available anymore. If you still have a copy, copy it to ${DISTDIR} and run make again. See http://www.wwdsi.com/products/download.html for more details regarding the next versions of Saint.
.endif

pre-install:
        ${MKDIR} ${PREFIX}/saint
        ${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 | \
            ${TAR} --directory ${PREFIX}/saint -xf -
.if !defined(NOPORTDOCS)
do-install:
        ${INSTALL_MAN} ${WRKSRC}/saint.1 ${PREFIX}/man/man1
.endif

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

.include <bsd.port.post.mk>