mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
27 lines
691 B
Makefile
27 lines
691 B
Makefile
# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netdisco-mibs
|
|
PORTVERSION= 1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= SF/netdisco/netdisco-mibs/${PORTVERSION}
|
|
|
|
MAINTAINER= dgeo@centrale-marseille.fr
|
|
COMMENT= Mibs for use with ports-mgmt/netdisco (and snmp)
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_STAGE= yes
|
|
.include "bsd.port.netdisco.mk"
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
|
|
. for mibdir in ${MIBDIRS}
|
|
(cd ${DATADIR}/${mibdir} && ${GREP} 'DEFINITIONS ::= BEGIN' *.* | ${SED} 's/\(.*\..*\):[[:space:]]*\(.*\) DEFINITIONS.*$$/\2 \1/' > .index)
|
|
. endfor
|
|
(cd ${DATADIR} && ${SH} ./mkindex)
|
|
|
|
.include <bsd.port.mk>
|