# Ports collection makefile for:  rats
# Date created:			  22 August 2001
# Whom:				  Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD: ports/security/rats/Makefile,v 1.16 2008/08/12 21:06:15 lx Exp $
#

PORTNAME=	rats
PORTVERSION=	2.1
PORTREVISION=	2
CATEGORIES=	security devel
MASTER_SITES=	http://www.fortify.com/servlet/downloads/public/ \
		${MASTER_SITE_PACKETSTORM}
MASTER_SITE_SUBDIR=	UNIX/security

MAINTAINER=	lx@FreeBSD.org
COMMENT=	Source code auditing tool

LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-expat-lib=${LOCALBASE}/lib \
		--with-expat-include=${LOCALBASE}/include/xml

ALL_TARGET=	rats

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/rats
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
.endif
MAN1=		rats.1

.include <bsd.port.mk>
