diff --git a/sysutils/Makefile b/sysutils/Makefile index c36247154c71..a87fb6e9a45e 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -610,6 +610,7 @@ SUBDIR += logwatch SUBDIR += lookat SUBDIR += lr + SUBDIR += lsblk SUBDIR += lscpu SUBDIR += lsof SUBDIR += lsop diff --git a/sysutils/lsblk/Makefile b/sysutils/lsblk/Makefile new file mode 100644 index 000000000000..58dad087a640 --- /dev/null +++ b/sysutils/lsblk/Makefile @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= lsblk +PORTVERSION= 1.0 +#PORTREVISION= 0 +CATEGORIES= sysutils +MASTER_SITES= https://github.com/vermaden/scripts/raw/master/release/ + +MAINTAINER= vermaden@interia.pl +COMMENT= Lists information about block devices in the system + +LICENSE= BSD2CLAUSE + +NO_BUILD= YES +NO_ARCH= YES + +PLIST_FILES= sbin/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/lsblk.sh \ + ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + +.include diff --git a/sysutils/lsblk/distinfo b/sysutils/lsblk/distinfo new file mode 100644 index 000000000000..e4ead572b718 --- /dev/null +++ b/sysutils/lsblk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1570494909 +SHA256 (lsblk-1.0.tar.gz) = ec6335ec27fd7ec1c56b2700d073c659c1704b816aa08c0f4d831d417dd2affb +SIZE (lsblk-1.0.tar.gz) = 4338 diff --git a/sysutils/lsblk/pkg-descr b/sysutils/lsblk/pkg-descr new file mode 100644 index 000000000000..f53f8f0b7299 --- /dev/null +++ b/sysutils/lsblk/pkg-descr @@ -0,0 +1,4 @@ +Lists information about block devices in the system in a similar way +that util-linux's lsblk(8) does. + +WWW: https://github.com/vermaden/scripts/blob/master/lsblk.sh