# Ports collection makefile for:  rats
# Date created:			  22 August 2001
# Whom:				  Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD: ports/security/rats/Makefile,v 1.10 2003/03/07 06:10:48 ade Exp $
#

PORTNAME=	rats
PORTVERSION=	2.1
CATEGORIES=	security devel
MASTER_SITES=	${MASTER_SITE_PACKETSTORM} \
		http://www.securesoftware.com/rats/
MASTER_SITE_SUBDIR=	UNIX/security

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

LIB_DEPENDS=	expat.4:${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>
