From owner-svn-ports-head@freebsd.org Fri Dec 1 11:14:05 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83599DFC61A; Fri, 1 Dec 2017 11:14:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 4E3577C44E; Fri, 1 Dec 2017 11:14:05 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB1BE4wO094936; Fri, 1 Dec 2017 11:14:04 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB1BE4c2094935; Fri, 1 Dec 2017 11:14:04 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201712011114.vB1BE4c2094935@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 1 Dec 2017 11:14:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455263 - head/net-mgmt/braa X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/net-mgmt/braa X-SVN-Commit-Revision: 455263 X-SVN-Commit-Repository: ports 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.25 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, 01 Dec 2017 11:14:05 -0000 Author: amdmi3 Date: Fri Dec 1 11:14:04 2017 New Revision: 455263 URL: https://svnweb.freebsd.org/changeset/ports/455263 Log: - Add LICENSE - Switch to options helpers - Simplify Makefile Modified: head/net-mgmt/braa/Makefile Modified: head/net-mgmt/braa/Makefile ============================================================================== --- head/net-mgmt/braa/Makefile Fri Dec 1 11:13:42 2017 (r455262) +++ head/net-mgmt/braa/Makefile Fri Dec 1 11:14:04 2017 (r455263) @@ -9,6 +9,9 @@ MASTER_SITES= http://s-tech.elsat.net.pl/braa/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool for making SNMP queries +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp USES= gmake @@ -21,15 +24,15 @@ PLIST_FILES= bin/braa OPTIONS_DEFINE= DOCS post-patch: -.for file in Makefile @${REINPLACE_CMD} -e \ 's|CFLAGS =|CFLAGS+=${CFLAGS}|g ; \ s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \ - s|strip $$(OUT)||g' ${WRKSRC}/${file} -.endfor + s|strip $$(OUT)||g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}