diff options
author | swills <swills@FreeBSD.org> | 2013-06-03 21:32:53 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2013-06-03 21:32:53 +0800 |
commit | 2c30bed7a61bbfe8860ceab03850d082ec19b17a (patch) | |
tree | 10a69aea04d138f61d7b74316ea68f95b4f741f6 /net-mgmt/devmon | |
parent | 80868b1f4176520fad3d65272010e3968f68a831 (diff) | |
download | freebsd-ports-gnome-2c30bed7a61bbfe8860ceab03850d082ec19b17a.tar.gz freebsd-ports-gnome-2c30bed7a61bbfe8860ceab03850d082ec19b17a.tar.zst freebsd-ports-gnome-2c30bed7a61bbfe8860ceab03850d082ec19b17a.zip |
- Fix pidfile issues
PR: ports/179145
Submitted by: Mark Felder <feld@feld.me> (maintainer)
Diffstat (limited to 'net-mgmt/devmon')
-rw-r--r-- | net-mgmt/devmon/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net-mgmt/devmon/Makefile b/net-mgmt/devmon/Makefile index bb53fec6aa76..6a3512a109bd 100644 --- a/net-mgmt/devmon/Makefile +++ b/net-mgmt/devmon/Makefile @@ -3,7 +3,7 @@ PORTNAME= devmon DISTVERSION= 0.3.1-beta1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} @@ -26,12 +26,17 @@ SUB_LIST= USERS=${USERS} \ OPTIONS_DEFINE= MYSQL +REINPLACE_ARGS= -i '' + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes .endif +post-patch: + @${REINPLACE_CMD} -e 's|/var/run/devmon.pid|/var/run/devmon/devmon.pid|g' ${WRKSRC}/devmon.cfg ${WRKSRC}/modules/dm_config.pm + pre-install: (cd ${WRKSRC} && ${MV} devmon.cfg devmon.cfg.dist) |