1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add port net-mgmt/bsnmptools:

Snmp client-side tools

WWW:    http://wiki.freebsd.org/BsnmpTools
Author: Shteryana Shopova <soc-shteryana@freebsd.org>
This commit is contained in:
Andrew Pantyukhin 2006-08-27 19:31:55 +00:00
parent 35876007ac
commit da265a2756
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171475
4 changed files with 48 additions and 0 deletions

View File

@ -29,6 +29,7 @@
SUBDIR += braa
SUBDIR += bsd-airtools
SUBDIR += bsnmpd
SUBDIR += bsnmptools
SUBDIR += bwm-ng
SUBDIR += cdpd
SUBDIR += cdpr

View File

@ -0,0 +1,40 @@
# New ports collection makefile for: bsnmptools
# Date created: 28 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bsnmptools
PORTVERSION= 0.0.20060818
DISTVERSION= 20060818-01
CATEGORIES= net-mgmt
MASTER_SITES= http://www.ringlet.net/~shteryana/snmp/ CSME
EXTRACT_SUFX= .tar
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Snmp client tools
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ARGS= SHLIB_MAJOR=0 INCLUDEDIR=${PREFIX}/include LIBDIR=${PREFIX}/lib \
MANDIR=${MANPREFIX}/man/man NO_MANCOMPRESS=yes BINDIR=${PREFIX}/bin
CFLAGS= -I${WRKSRC}/lib -L${WRKSRC}/lib
#LDFLAGS= -L/lib -L${WRKSRC}/lib
PLIST_FILES= ${BIN_FILES:S,^,bin/,} include/${PORTNAME}.h include/bsnmptc.h \
lib/lib${PORTNAME}.a lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0
BIN_FILES= bsnmpget bsnmpset bsnmpwalk
MAN1= ${BIN_FILES:S/$/.1/}
MAN3= ${PORTNAME}.3
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
@${MV} ${WRKSRC}/lib/libbsnmptools/libbsnmptools ${WRKSRC}/tlib
@${MV} ${WRKSRC}/usr.sbin/bsnmpd/tools ${WRKSRC}/
@${RM} -rf ${WRKSRC}/lib ${WRKSRC}/usr.sbin ${WRKSRC}/tools/Makefile.inc
@${MV} ${WRKSRC}/tlib ${WRKSRC}/lib
post-patch:
@${REINPLACE_CMD} -e 's/usr.sbin/tools/' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (bsnmptools-20060818-01.tar) = 2970135f69b0b50a6f0a2cdb25fd92c6
SHA256 (bsnmptools-20060818-01.tar) = 0537938014c5af4eb33fe37ff4807f144cce1c3d60699e2eed477c4b8a506020
SIZE (bsnmptools-20060818-01.tar) = 40407

View File

@ -0,0 +1,4 @@
Snmp client-side tools
WWW: http://wiki.freebsd.org/BsnmpTools
Author: Shteryana Shopova <soc-shteryana@freebsd.org>