2003-06-02 18:14:30 +02:00
|
|
|
# New ports collection makefile for: braa
|
|
|
|
# Date created: 31.05.2003
|
|
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= braa
|
2011-11-05 15:23:28 +01:00
|
|
|
PORTVERSION= 0.82
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2003-06-02 18:14:30 +02:00
|
|
|
MASTER_SITES= http://s-tech.elsat.net.pl/braa/
|
|
|
|
|
2011-10-24 05:33:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-06-02 21:44:30 +02:00
|
|
|
COMMENT= Tool for making SNMP queries
|
2003-06-02 18:14:30 +02:00
|
|
|
|
2011-07-28 14:43:22 +02:00
|
|
|
LIB_DEPENDS= netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp
|
2003-06-02 18:14:30 +02:00
|
|
|
|
2003-12-19 21:09:53 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
LDFLAGS+= -lcompat
|
2003-06-02 18:14:30 +02:00
|
|
|
|
2004-03-20 19:28:17 +01:00
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/braa
|
|
|
|
|
2003-06-02 18:14:30 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in Makefile
|
|
|
|
@${REINPLACE_CMD} -e \
|
2004-01-12 11:26:44 +01:00
|
|
|
's|CFLAGS =|CFLAGS+=${CFLAGS}|g ; \
|
2003-06-02 18:14:30 +02:00
|
|
|
s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \
|
|
|
|
s|strip $$(OUT)||g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
2003-12-19 21:09:53 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2003-06-02 18:14:30 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2006-09-10 22:53:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2003-06-02 18:14:30 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|