2000-08-31 14:09:43 -04:00
|
|
|
# New ports collection makefile for: Ruby-SNMP
|
|
|
|
# Date created: 1 Sep 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= snmp
|
|
|
|
PORTVERSION= 0.2.1
|
2001-09-17 13:54:27 -04:00
|
|
|
PORTREVISION= 1
|
2004-02-22 23:42:13 -05:00
|
|
|
CATEGORIES= net-mgmt ruby
|
2000-08-31 14:09:43 -04:00
|
|
|
MASTER_SITES= http://w3cic.riken.go.jp/~tsuruoka/
|
2000-09-07 10:39:47 -04:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-31 14:09:43 -04:00
|
|
|
DISTNAME= ruby${PORTNAME}-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2003-02-06 08:25:32 -05:00
|
|
|
MAINTAINER= seanc@FreeBSD.org
|
2003-03-07 01:14:21 -05:00
|
|
|
COMMENT= Ruby interface to UCD-SNMP library
|
2000-08-31 14:09:43 -04:00
|
|
|
|
2004-02-22 23:42:13 -05:00
|
|
|
LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
|
2000-09-07 10:39:47 -04:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
2000-08-31 14:09:43 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/SNMP
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
CONFIGURE_ARGS= --with-snmp-dir="${LOCALBASE}"
|
|
|
|
|
|
|
|
DOCS_EN= mib_view.html \
|
|
|
|
rubysnmp.html \
|
|
|
|
sampleout.html \
|
|
|
|
snmp_module.html \
|
|
|
|
snmp_session.html \
|
|
|
|
snmp_var.html
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 17:38:34 -04:00
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}
|
2000-08-31 14:09:43 -04:00
|
|
|
.for f in ${DOCS_EN}
|
2002-10-06 17:38:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2000-08-31 14:09:43 -04:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2000-09-26 04:02:17 -04:00
|
|
|
.include <bsd.port.mk>
|