svn commit: r411327 - head/security/rats

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Mar 18 03:10:19 UTC 2016


Author: amdmi3
Date: Fri Mar 18 03:10:18 2016
New Revision: 411327
URL: https://svnweb.freebsd.org/changeset/ports/411327

Log:
  - Add LICENSE
  - Switch to options helpers

Modified:
  head/security/rats/Makefile

Modified: head/security/rats/Makefile
==============================================================================
--- head/security/rats/Makefile	Fri Mar 18 02:57:41 2016	(r411326)
+++ head/security/rats/Makefile	Fri Mar 18 03:10:18 2016	(r411327)
@@ -10,11 +10,14 @@ MASTER_SITES=	https://www.fortify.com/do
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Source code auditing tool
 
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
 GNU_CONFIGURE=	yes
 USES=		gmake
-CONFIGURE_ARGS+=--with-expat-lib=${LOCALBASE}/lib \
+CONFIGURE_ARGS=	--with-expat-lib=${LOCALBASE}/lib \
 		--with-expat-include=${LOCALBASE}/include/xml \
 		--datadir=${DATADIR}
 
@@ -26,7 +29,7 @@ post-patch:
 	@${REINPLACE_CMD} -E '/^CFLAGS/! s,(BIN|LIB|MAN|SHARE)DIR),DESTDIR)$$(&,g' \
 		${WRKSRC}/Makefile.in
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 


More information about the svn-ports-all mailing list