aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netsaint-plugins
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-12-21 04:55:12 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-12-21 04:55:12 +0000
commit8b2eeb4eb1d398a6b7aae3412ce32cf45f47f0aa (patch)
tree150b07b40f1d1857f0932bdaac5fc461886c371d /net-mgmt/netsaint-plugins
parent5fd437752f8387a1277f60d977b2eee9ca45bb4f (diff)
downloadports-8b2eeb4eb1d398a6b7aae3412ce32cf45f47f0aa.tar.gz
ports-8b2eeb4eb1d398a6b7aae3412ce32cf45f47f0aa.zip
Notes
Diffstat (limited to 'net-mgmt/netsaint-plugins')
-rw-r--r--net-mgmt/netsaint-plugins/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile
index ea07d85d0fd4..b915019c4150 100644
--- a/net-mgmt/netsaint-plugins/Makefile
+++ b/net-mgmt/netsaint-plugins/Makefile
@@ -7,7 +7,7 @@
PORTNAME= netsaint-plugins
PORTVERSION= 1.2.9.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netsaintplug
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Plugins for netsaint
USE_SUBMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sbindir=${PREFIX}/share/netsaint/sbin \
--libexecdir=${PREFIX}/libexec/netsaint \
@@ -36,6 +37,13 @@ pre-fetch:
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
+post-patch:
+ @${FIND} ${WRKSRC}/plugins-scripts/ -type f -perm -+x | ${XARGS} -n1 \
+ ${REINPLACE_CMD} -e "s,/bin/diff,/usr/bin/diff,g" \
+ -e "s,/bin/sed,/usr/bin/sed,g" \
+ -e "s,/bin/tail,/usr/bin/tail,g" \
+ -e "s,/bin/grep,/usr/bin/grep,g"
+
post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc