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
|
2004-01-12 11:26:44 +01:00
|
|
|
PORTVERSION= 0.8
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
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/
|
|
|
|
|
2003-07-22 12:34:12 +02:00
|
|
|
MAINTAINER= krion@FreeBSD.org
|
2003-06-02 21:44:30 +02:00
|
|
|
COMMENT= Tool for making SNMP queries
|
2003-06-02 18:14:30 +02:00
|
|
|
|
2004-02-23 05:42:13 +01:00
|
|
|
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
|
2003-06-02 18:14:30 +02:00
|
|
|
|
2003-12-19 21:09:53 +01:00
|
|
|
USE_GMAKE= yes
|
2003-06-02 18:14:30 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-12-19 21:09:53 +01:00
|
|
|
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:
|
|
|
|
.for i in ${PORTNAME}
|
|
|
|
${STRIP_CMD} ${PREFIX}/bin/${i}
|
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|