diff options
Diffstat (limited to 'net-mgmt')
-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) |