1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/sysutils/lsop/Makefile
Tobias Kortkamp 754f0656a7 New port: sysutils/lsop
lsop is a FreeBSD utility to list all processes running with outdated
binaries or shared libraries (that is, binaries or shared libraries
that have been upgraded or simply deleted).

lsop does not currently work when started in a FreeBSD jail!

WWW: https://github.com/606u/lsop

PR:		213340
Submitted by:	606u@dir.bg
Approved by:	lme (mentor)
Differential Revision:	https://reviews.freebsd.org/D10083
2017-03-21 21:00:32 +00:00

29 lines
648 B
Makefile

# $FreeBSD$
PORTNAME= lsop
PORTVERSION= 0.1
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= 606u@dir.bg
COMMENT= List all processes running with outdated binaries or shared libraries
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>