summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-09-02 18:30:05 +0000
committerSteve Wills <swills@FreeBSD.org>2020-09-02 18:30:05 +0000
commit4dea9335a9e00fd655bdd87a090d09997d49bb4e (patch)
treebabcaaafc2c0487e602722288888fbb3a16f1119
parentClean up some things (diff)
sysutils/inxi: create port
inxi is a command line system information tool. It was forked from the ancient and mindbendingly perverse yet ingenius infobash, by locsmif. The primary purpose of inxi is for support, and sys admin use. inxi is used widely for forum and IRC support. WWW: https://github.com/smxi/inxi PR: 242748 Submitted by: Lewis Cook <vulcan@wired.sh>
Notes
Notes: svn path=/head/; revision=547373
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/inxi/Makefile50
-rw-r--r--sysutils/inxi/distinfo3
-rw-r--r--sysutils/inxi/pkg-descr8
4 files changed, 62 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index db368fc02340..6e2e4389d0f5 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -502,6 +502,7 @@
SUBDIR += intel-pcm
SUBDIR += intel-pcm-devel
SUBDIR += intel-undervolt
+ SUBDIR += inxi
SUBDIR += ioc
SUBDIR += iocage
SUBDIR += iocage-devel
diff --git a/sysutils/inxi/Makefile b/sysutils/inxi/Makefile
new file mode 100644
index 000000000000..3729df203aa3
--- /dev/null
+++ b/sysutils/inxi/Makefile
@@ -0,0 +1,50 @@
+# $FreeBSD$
+
+PORTNAME= inxi
+DISTVERSION= 3.1.06-1
+CATEGORIES= sysutils
+
+MAINTAINER= vulcan@wired.sh
+COMMENT= Full featured CLI system information tool
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= bind-tools>=0:dns/bind-tools \
+ dmidecode:sysutils/dmidecode \
+ mesa-demos>=0:graphics/mesa-demos \
+ p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS \
+ p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny \
+ p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \
+ p5-JSON-XS>=0:converters/p5-JSON-XS \
+ p5-XML-Dumper>=0:textproc/p5-XML-Dumper \
+ tree:sysutils/tree \
+ usbutils>=0:sysutils/usbutils \
+ wmctrl:x11/wmctrl \
+ xdpyinfo:x11/xdpyinfo \
+ xprop:x11/xprop \
+ xrandr:x11/xrandr
+
+USES= perl5 shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= smxi
+USE_PERL5= run
+SHEBANG_FILES= ${PORTNAME}
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME} \
+ man/man1/${PORTNAME}.1.gz
+PORTDOCS= ${PORTNAME}.changelog README.txt
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/sysutils/inxi/distinfo b/sysutils/inxi/distinfo
new file mode 100644
index 000000000000..4cf385545673
--- /dev/null
+++ b/sysutils/inxi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1599058993
+SHA256 (smxi-inxi-3.1.06-1_GH0.tar.gz) = e1fa3566353df7819134cb8edd8d5b8244991a0f66c51e52661c7b0594909813
+SIZE (smxi-inxi-3.1.06-1_GH0.tar.gz) = 357819
diff --git a/sysutils/inxi/pkg-descr b/sysutils/inxi/pkg-descr
new file mode 100644
index 000000000000..0841f7bdefc9
--- /dev/null
+++ b/sysutils/inxi/pkg-descr
@@ -0,0 +1,8 @@
+inxi is a command line system information tool. It was forked
+from the ancient and mindbendingly perverse yet ingenius
+infobash, by locsmif.
+
+The primary purpose of inxi is for support, and sys admin use.
+inxi is used widely for forum and IRC support.
+
+WWW: https://github.com/smxi/inxi