diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-27 19:31:55 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-08-27 19:31:55 +0000 |
commit | da265a27567af9a0f0968c0379684658aabb8b32 (patch) | |
tree | 0fc79b369ca51a39b297cf76018c6e2e8126e0e7 /net-mgmt/bsnmptools | |
parent | 35876007ac1ddb0e54f12ccde2499721b3401e91 (diff) | |
download | ports-da265a27567af9a0f0968c0379684658aabb8b32.tar.gz ports-da265a27567af9a0f0968c0379684658aabb8b32.zip |
Notes
Diffstat (limited to 'net-mgmt/bsnmptools')
-rw-r--r-- | net-mgmt/bsnmptools/Makefile | 40 | ||||
-rw-r--r-- | net-mgmt/bsnmptools/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/bsnmptools/pkg-descr | 4 |
3 files changed, 47 insertions, 0 deletions
diff --git a/net-mgmt/bsnmptools/Makefile b/net-mgmt/bsnmptools/Makefile new file mode 100644 index 000000000000..da5358d8674b --- /dev/null +++ b/net-mgmt/bsnmptools/Makefile @@ -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> diff --git a/net-mgmt/bsnmptools/distinfo b/net-mgmt/bsnmptools/distinfo new file mode 100644 index 000000000000..b78d9eb6fb30 --- /dev/null +++ b/net-mgmt/bsnmptools/distinfo @@ -0,0 +1,3 @@ +MD5 (bsnmptools-20060818-01.tar) = 2970135f69b0b50a6f0a2cdb25fd92c6 +SHA256 (bsnmptools-20060818-01.tar) = 0537938014c5af4eb33fe37ff4807f144cce1c3d60699e2eed477c4b8a506020 +SIZE (bsnmptools-20060818-01.tar) = 40407 diff --git a/net-mgmt/bsnmptools/pkg-descr b/net-mgmt/bsnmptools/pkg-descr new file mode 100644 index 000000000000..d23639465a24 --- /dev/null +++ b/net-mgmt/bsnmptools/pkg-descr @@ -0,0 +1,4 @@ +Snmp client-side tools + +WWW: http://wiki.freebsd.org/BsnmpTools +Author: Shteryana Shopova <soc-shteryana@freebsd.org> |