From owner-svn-ports-head@FreeBSD.ORG Fri Jul 11 15:13:06 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F236E3; Fri, 11 Jul 2014 15:13:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B2AE238C; Fri, 11 Jul 2014 15:13:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6BFD6J0029019; Fri, 11 Jul 2014 15:13:06 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6BFD6LG029017; Fri, 11 Jul 2014 15:13:06 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407111513.s6BFD6LG029017@svn.freebsd.org> From: Pawel Pekala Date: Fri, 11 Jul 2014 15:13:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361546 - head/security/rats X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2014 15:13:06 -0000 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@FreeBSD.org +MAINTAINER= ports@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 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