1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net-mgmt/netdisco-mibs/Makefile
2021-04-06 16:31:07 +02:00

26 lines
687 B
Makefile

# Created by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
PORTNAME= netdisco-mibs
DISTVERSION= 4.010
CATEGORIES= net-mgmt
MAINTAINER= dgeo@centrale-marseille.fr
COMMENT= MIBs for use with ports-mgmt/netdisco (and SNMP)
USE_GITHUB= yes
GH_ACCOUNT= netdisco
NO_BUILD= yes
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/netdisco/mibs|${LOCALBASE}/share/netdisko-mibs|g' ${WRKSRC}/EXTRAS/contrib/snmp.conf
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' ${WRKSRC}/EXTRAS/scripts/*/*
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${RM} ${STAGEDIR}${DATADIR}/robots.txt
.include <bsd.port.mk>