diff --git a/security/rats/Makefile b/security/rats/Makefile index 132e740bb6d5..9afe4a217cfb 100644 --- a/security/rats/Makefile +++ b/security/rats/Makefile @@ -1,33 +1,35 @@ 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 diff --git a/security/rats/pkg-plist b/security/rats/pkg-plist index 2904159f5e71..78f2ecdaff31 100644 --- a/security/rats/pkg-plist +++ b/security/rats/pkg-plist @@ -1,9 +1,9 @@ bin/rats -man/man1/rats.1.gz +share/man/man1/rats.1.gz %%DATADIR%%/rats-c.xml %%DATADIR%%/rats-openssl.xml %%DATADIR%%/rats-perl.xml %%DATADIR%%/rats-php.xml %%DATADIR%%/rats-python.xml %%DATADIR%%/rats-ruby.xml %%PORTDOCS%%%%DOCSDIR%%/README