aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}