openbsd-ports/devel/rats/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

2004-11-23 19:11:03 -05:00
# $OpenBSD: Makefile,v 1.13 2004/11/24 00:11:03 espie Exp $
COMMENT= "source code auditing tool"
2002-10-12 02:28:18 -04:00
DISTNAME= rats-2.1
CATEGORIES= devel security
2002-09-07 22:07:19 -04:00
HOMEPAGE= http://www.securesoftware.com/rats/
MAINTAINER= Jason Peel <jsyn@openbsd.org>
2002-05-20 15:30:39 -04:00
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-23 19:11:03 -05:00
WANTLIB= c
MASTER_SITES= http://www.securesoftware.com/rats/ \
${MASTER_SITE_PACKETSTORM:=UNIX/security/}
2002-09-07 22:07:19 -04:00
LIB_DEPENDS= expat.2::textproc/expat
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= --with-expat-lib=${LOCALBASE}/lib \
--with-expat-include=${LOCALBASE}/include \
2002-10-12 02:28:18 -04:00
--libdir=${WRKINST}${PREFIX}/share/rats \
--datadir=${WRKINST}${PREFIX}/share/rats
MAKE_FLAGS= CFLAGS='${CFLAGS} -I${LOCALBASE}/include \
-DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \
2002-10-12 02:28:18 -04:00
-DDATADIR=\"${LOCALBASE}/share/rats\"'
ALL_TARGET= rats
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
.include <bsd.port.mk>