4fd55763e1
- Support staging. PR: 191435 PR: 191436 Submitted by: dgeo@centrale-marseille.fr (maintainer)
24 lines
735 B
Makefile
24 lines
735 B
Makefile
# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= netdisco-mibs
|
|
PORTVERSION= 1.5
|
|
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
|
|
|
|
.include "bsd.port.netdisco.mk"
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR})
|
|
. for mibdir in ${MIBDIRS}
|
|
(cd ${STAGEDIR}${DATADIR}/${mibdir} && ${GREP} 'DEFINITIONS ::= BEGIN' *.* | ${SED} 's/\(.*\..*\):[[:space:]]*\(.*\) DEFINITIONS.*$$/\2 \1/' > .index)
|
|
. endfor
|
|
(cd ${STAGEDIR}${DATADIR} && ${CHMOD} 644 mib_index.txt && ${SH} ./mkindex)
|
|
|
|
.include <bsd.port.mk>
|