2011-12-19 17:35:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2011/12/19 22:35:34 sthen Exp $
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= source code auditing tool
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2011-12-19 17:28:59 -05:00
|
|
|
DISTNAME= rats-2.3
|
2011-12-19 17:35:34 -05:00
|
|
|
REVISION= 0
|
|
|
|
CATEGORIES= devel security
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2011-12-19 17:28:59 -05:00
|
|
|
HOMEPAGE= https://www.fortify.com/ssa-elements/threat-intelligence/rats.html
|
2001-06-01 05:12:30 -04:00
|
|
|
|
2011-12-19 17:35:34 -05:00
|
|
|
# GPLv2+
|
2001-06-01 05:12:30 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2011-12-19 17:35:34 -05:00
|
|
|
WANTLIB += c expat
|
2011-12-19 17:28:59 -05:00
|
|
|
|
2011-12-19 17:35:34 -05:00
|
|
|
MASTER_SITES= https://www.fortify.com/downloads2/public/
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
2008-01-06 12:13:04 -05:00
|
|
|
CONFIGURE_ARGS+= --libdir=${WRKINST}${PREFIX}/share/rats \
|
2002-10-12 02:28:18 -04:00
|
|
|
--datadir=${WRKINST}${PREFIX}/share/rats
|
2008-01-06 12:13:04 -05:00
|
|
|
MAKE_FLAGS= CFLAGS='${CFLAGS} \
|
2001-11-12 17:52:05 -05:00
|
|
|
-DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \
|
2002-10-12 02:28:18 -04:00
|
|
|
-DDATADIR=\"${LOCALBASE}/share/rats\"'
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
ALL_TARGET= rats
|
2001-11-12 17:52:05 -05:00
|
|
|
NO_REGRESS= Yes
|
2011-12-19 17:35:34 -05:00
|
|
|
USE_GMAKE= Yes
|
2001-06-01 05:12:30 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|