1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net-mgmt/braa/Makefile
2021-04-06 16:31:07 +02:00

39 lines
785 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
PORTNAME= braa
PORTVERSION= 0.82
CATEGORIES= net-mgmt
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
LDFLAGS+= -lcompat
PORTDOCS= README
PLIST_FILES= bin/braa
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|CFLAGS =|CFLAGS+=${CFLAGS}|g ; \
s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \
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}
.include <bsd.port.mk>