2311980f29
- correct GPL version number - drop maintainer, Antti discussed this with jsyn@ some time ago - no need for groff - mention Ruby in DESCR, reformat
37 lines
876 B
Makefile
37 lines
876 B
Makefile
# $OpenBSD: Makefile,v 1.21 2011/12/19 22:35:34 sthen Exp $
|
|
|
|
COMMENT= source code auditing tool
|
|
|
|
DISTNAME= rats-2.3
|
|
REVISION= 0
|
|
CATEGORIES= devel security
|
|
|
|
HOMEPAGE= https://www.fortify.com/ssa-elements/threat-intelligence/rats.html
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c expat
|
|
|
|
MASTER_SITES= https://www.fortify.com/downloads2/public/
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
CONFIGURE_ARGS+= --libdir=${WRKINST}${PREFIX}/share/rats \
|
|
--datadir=${WRKINST}${PREFIX}/share/rats
|
|
MAKE_FLAGS= CFLAGS='${CFLAGS} \
|
|
-DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \
|
|
-DDATADIR=\"${LOCALBASE}/share/rats\"'
|
|
|
|
ALL_TARGET= rats
|
|
NO_REGRESS= Yes
|
|
USE_GMAKE= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/rats
|
|
|
|
.include <bsd.port.mk>
|