blob: fab3a3d95ea22cf20e0e3fbabe97e8ec2fe40857 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
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>
|