svn commit: r361546 - head/security/rats
Pawel Pekala
pawel at FreeBSD.org
Fri Jul 11 15:13:06 UTC 2014
Author: pawel
Date: Fri Jul 11 15:13:05 2014
New Revision: 361546
URL: http://svnweb.freebsd.org/changeset/ports/361546
QAT: https://qat.redports.org/buildarchive/r361546/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format, options framework
Modified:
head/security/rats/Makefile
head/security/rats/pkg-plist
Modified: head/security/rats/Makefile
==============================================================================
--- head/security/rats/Makefile Fri Jul 11 15:05:39 2014 (r361545)
+++ head/security/rats/Makefile Fri Jul 11 15:13:05 2014 (r361546)
@@ -5,12 +5,12 @@ PORTNAME= rats
PORTVERSION= 2.3
CATEGORIES= security devel
MASTER_SITES= https://www.fortify.com/downloads2/public/ \
- http://redundancy.redundancy.org/mirror/
+ http://redundancy.redundancy.org/mirror/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Source code auditing tool
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
USES= gmake
@@ -20,12 +20,14 @@ CONFIGURE_ARGS+=--with-expat-lib=${LOCAL
ALL_TARGET= ${PORTNAME}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
+post-patch:
+ @${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \
+ ${WRKSRC}/Makefile.in
+
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
-MAN1= rats.1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/security/rats/pkg-plist
==============================================================================
--- head/security/rats/pkg-plist Fri Jul 11 15:05:39 2014 (r361545)
+++ head/security/rats/pkg-plist Fri Jul 11 15:13:05 2014 (r361546)
@@ -1,4 +1,5 @@
bin/rats
+man/man1/rats.1.gz
%%DATADIR%%/rats-c.xml
%%DATADIR%%/rats-openssl.xml
%%DATADIR%%/rats-perl.xml
More information about the svn-ports-all
mailing list