1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/security/rats/Makefile
Muhammad Moinur Rahman 538731cf67
security/rats: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 14:19:53 +01:00

36 lines
948 B
Makefile

PORTNAME= rats
PORTVERSION= 2.4
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rough-auditing-tool-for-security/
MAINTAINER= ports@FreeBSD.org
COMMENT= Source code auditing tool
WWW= https://security.web.cern.ch/security/recommendations/en/codetools/rats.shtml
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USES= gmake tar:tgz
CONFIGURE_ARGS= --with-expat-lib=${LOCALBASE}/lib \
--with-expat-include=${LOCALBASE}/include/xml \
--datadir=${DATADIR}
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>