aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/braa
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-01 11:14:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-12-01 11:14:04 +0000
commitcd518bf8ad7b257e5f7e9ceb092ae81f08e6bf11 (patch)
treed13158e6fccb2da052453351a430c6a8699a83dc /net-mgmt/braa
parent0f11c6a47bbf048b23a081ee61a758d972587429 (diff)
downloadports-cd518bf8ad7b257e5f7e9ceb092ae81f08e6bf11.tar.gz
ports-cd518bf8ad7b257e5f7e9ceb092ae81f08e6bf11.zip
Notes
Diffstat (limited to 'net-mgmt/braa')
-rw-r--r--net-mgmt/braa/Makefile9
1 files changed, 6 insertions, 3 deletions
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}