blob: f570f9f0639c6e5d92d1bbb8e654c3fafbe18f66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= lsop
PORTVERSION= 0.2
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= 606u@dir.bg
COMMENT= List all processes running with outdated binaries or shared libraries
WWW= https://github.com/606u/lsop
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= 606u
PLIST_FILES= sbin/lsop \
libexec/nagios/check_restart
post-patch:
@${REINPLACE_CMD} -e 's|lsop|${PREFIX}/sbin/lsop|' ${WRKSRC}/check_restart
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lsop ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_restart ${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>
|