diff --git a/sysutils/Makefile b/sysutils/Makefile index 423db91416f5..89cdd71ce0b8 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1430,6 +1430,7 @@ SUBDIR += uefi-edk2-bhyve-csm SUBDIR += uefi-edk2-bhyve-devel SUBDIR += uefi-edk2-qemu + SUBDIR += ufetch SUBDIR += ufs_copy SUBDIR += uhidd SUBDIR += uif2iso diff --git a/sysutils/ufetch/Makefile b/sysutils/ufetch/Makefile new file mode 100644 index 000000000000..ec4323296c8f --- /dev/null +++ b/sysutils/ufetch/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= ufetch +DISTVERSION= 0.1-1 +CATEGORIES= sysutils + +MAINTAINER= vulcan@wired.sh +COMMENT= Tiny system info for Unix-like operating systems + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITLAB= yes + +GL_ACCOUNT= jschx +GL_COMMIT= 544c670443be515b07512afccb1adf22d9a3825f + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/ufetch + +post-patch: + ${REINPLACE_CMD} -e 's/-freebsd//g' ${WRKSRC}/ufetch-freebsd + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-freebsd \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include diff --git a/sysutils/ufetch/distinfo b/sysutils/ufetch/distinfo new file mode 100644 index 000000000000..c71346e62fa4 --- /dev/null +++ b/sysutils/ufetch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1565992737 +SHA256 (jschx-ufetch-544c670443be515b07512afccb1adf22d9a3825f_GL0.tar.gz) = 5193fb8ce8b3718a2251e5cfd4cf681448bc593086137f7c5d211d017f02a779 +SIZE (jschx-ufetch-544c670443be515b07512afccb1adf22d9a3825f_GL0.tar.gz) = 44243 diff --git a/sysutils/ufetch/pkg-descr b/sysutils/ufetch/pkg-descr new file mode 100644 index 000000000000..30cbab03c658 --- /dev/null +++ b/sysutils/ufetch/pkg-descr @@ -0,0 +1,4 @@ +Tiny system info for Unix-like operating systems. It's a command line tool +written in sh, it already supports more than thirty operating systems. + +WWW: https://gitlab.com/jschx/ufetch/