From 8b19616c3b3645f65f1b45148989d64ed47e9036 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Fri, 1 Dec 2017 11:14:04 +0000 Subject: - Add LICENSE - Switch to options helpers - Simplify Makefile --- net-mgmt/braa/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/braa/Makefile b/net-mgmt/braa/Makefile index 743c85be917b..fab3a3d95ea2 100644 --- a/net-mgmt/braa/Makefile +++ b/net-mgmt/braa/Makefile @@ -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} -- cgit