View | Details | Raw Unified | Return to bug 210494
Collapse All | Expand All

(-)b/sysutils/munin-node/Makefile (-2 / +7 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	munin
4
PORTNAME=	munin
5
PORTVERSION=	${MUNIN_VERSION}
5
PORTVERSION=	${MUNIN_VERSION}
6
PORTREVISION=	4
6
PORTREVISION=	5
7
CATEGORIES=	sysutils perl5
7
CATEGORIES=	sysutils perl5
8
MASTER_SITES=	${MUNIN_SITES}
8
MASTER_SITES=	${MUNIN_SITES}
9
PKGNAMESUFFIX=	-node
9
PKGNAMESUFFIX=	-node
Lines 69-74 post-patch: Link Here
69
		-e 's|^\(PYTHON[[:space:]]*:=\).*|\1 ${python_CMD}|' \
69
		-e 's|^\(PYTHON[[:space:]]*:=\).*|\1 ${python_CMD}|' \
70
		-e 's|^\(RUBY[[:space:]]*:=\).*|\1 ${ruby_CMD}|' \
70
		-e 's|^\(RUBY[[:space:]]*:=\).*|\1 ${ruby_CMD}|' \
71
		${WRKSRC}/Makefile.config
71
		${WRKSRC}/Makefile.config
72
# If there's more than one swap device, swapinfo adds the totals
73
# in the last line. Suppress the line to prevent value duplication.
74
# If there's only a single swap device, the totals are omitted for
75
# obvious reasons, therefore we can't simple grep for them.
76
	@${REINPLACE_CMD} -E -e 's@(swapinfo -k)@\1 | grep -v ^Total@' \
77
		${WRKSRC}/plugins/node.d.freebsd/memory.in
72
	@${FIND} ${WRKSRC}/node/sbin -type f -name "*.orig" -delete
78
	@${FIND} ${WRKSRC}/node/sbin -type f -name "*.orig" -delete
73
79
74
post-install:
80
post-install:
75
- 

Return to bug 210494