mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Fix pidfile issues
PR: ports/179145 Submitted by: Mark Felder <feld@feld.me> (maintainer)
This commit is contained in:
parent
9db6ec87e6
commit
8f3d176f7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319777
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user