freebsd-ports/sysutils/swapusage/Makefile
Steve Wills f069ace4a1 sysutils/swapusage: create port
Very small utility that reports the percentage of swap space that is
used. Report can be piped to a Prometheus textfile without processing.

WWW: https://github.com/aduitsis/freebsd_swapusage

PR:		236979
Submitted by:	Athanasios Douitsis <aduitsis@douitsis.com>
2019-05-26 19:32:08 +00:00

23 lines
398 B
Makefile

# $FreeBSD$
PORTNAME= swapusage
PORTVERSION= 1.0.0
CATEGORIES= sysutils
MAINTAINER= aduitsis@douitsis.com
COMMENT= Get swap usage on a FreeBSD system
LICENSE= BSD2CLAUSE
GH_ACCOUNT= aduitsis
GH_PROJECT= freebsd_swapusage
USE_GITHUB= yes
INSTALL_TARGET= # empty
PLIST_FILES= bin/swapusage
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/swapusage ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>