View | Details | Raw Unified | Return to bug 242748 | Differences between
and this patch

Collapse All | Expand All

(-)sysutils/inxi/Makefile (+94 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	inxi
4
DISTVERSION=	3.0.37-1
5
CATEGORIES=	sysutils
6
7
MAINTAINER=	vulcan@wired.sh
8
COMMENT=	Full featured CLI system information tool
9
10
LICENSE=	GPLv3
11
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
12
13
USES=		perl5 shebangfix
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	smxi
16
USE_PERL5=	run
17
SHEBANG_FILES=	${PORTNAME}
18
19
NO_BUILD=	yes
20
21
PLIST_FILES=	bin/${PORTNAME} \
22
		man/man1/${PORTNAME}.1.gz
23
PORTDOCS=	${PORTNAME}.changelog README.txt
24
25
OPTIONS_DEFINE=		DOCS
26
OPTIONS_DEFAULT=	BINDTOOLS DMIDECODE MESA P5-JSON P5-XML USBUTILS \
27
			XDPYINFO
28
29
OPTIONS_GROUP=		DISPLAY NETWORK P5 SYSTEM
30
OPTIONS_GROUP_DISPLAY=	MESA WMCTRL XDPYINFO XPROP XRANDR
31
OPTIONS_GROUP_NETWORK=	BINDTOOLS
32
OPTIONS_GROUP_P5=	P5-HTTP-TINY P5-JSON P5-JSON-LEGACY P5-SOCKET-SSL \
33
			P5-XML
34
OPTIONS_GROUP_SYSTEM=	DMIDECODE TREE USBUTILS
35
36
BINDTOOLS_DESC=		WLAN IP information support
37
DISPLAY_DESC=		Display
38
DMIDECODE_DESC=		Machine and battery information support
39
MESA_DESC=		Advanced graphics information support
40
NETWORK_DESC=		Network
41
P5-HTTP-TINY_DESC=	Alternative downloader option
42
P5-JSON-LEGACY_DESC=	Output information as JSON (legacy)
43
P5-JSON_DESC=		Output information as JSON (preferred)
44
P5-SOCKET-SSL_DESC=	Alternative downloader option
45
P5-XML_DESC=		Output information as XML
46
P5_DESC=		Perl modules
47
SYSTEM_DESC=		System
48
TREE_DESC=		Debug dataset for '/sys' and '/proc'
49
USBUTILS_DESC=		USB information support
50
WMCTRL_DESC=		Active window information support
51
XDPYINFO_DESC=		Resolution information support
52
XPROP_DESC=		Desktop data information support
53
XRANDR_DESC=		Single screen resolution support
54
55
BINDTOOLS_RUN_DEPENDS=		bind-tools>=0:dns/bind-tools
56
DMIDECODE_RUN_DEPENDS=		dmidecode:sysutils/dmidecode
57
MESA_RUN_DEPENDS=		mesa-demos>=0:graphics/mesa-demos
58
P5-HTTP-TINY_RUN_DEPENDS=	p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny
59
P5-JSON-LEGACY_RUN_DEPENDS=	p5-JSON-XS>=0:converters/p5-JSON-XS
60
P5-JSON_RUN_DEPENDS=		p5-Cpanel-JSON-XS>=0:converters/p5-Cpanel-JSON-XS
61
P5-SOCKET-SSL_RUN_DEPENDS=	p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
62
P5-XML_RUN_DEPENDS=		p5-XML-Dumper>=0:textproc/p5-XML-Dumper
63
TREE_RUN_DEPENDS=		tree:sysutils/tree
64
USBUTILS_RUN_DEPENDS=		usbutils>=0:sysutils/usbutils
65
WMCTRL_RUN_DEPENDS=		wmctrl:x11/wmctrl
66
XDPYINFO_RUN_DEPENDS=		xdpyinfo:x11/xdpyinfo
67
XPROP_RUN_DEPENDS=		xprop:x11/xprop
68
XRANDR_RUN_DEPENDS=		xrandr:x11/xrandr
69
70
.include <bsd.port.options.mk>
71
72
# Perl HTTP::Tiny is the default downloader tool if IO::Socket::SSL is present.
73
# Ensure that the corresponding Perl modules are included in for the downloader,
74
# if selected in the configuration phase.
75
76
.if ${PORT_OPTIONS:MP5-HTTP-TINY} && ! ${PORT_OPTIONS:MP5-SOCKET-SSL}
77
RUN_DEPENDS+=	p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
78
.endif
79
80
.if ${PORT_OPTIONS:MP5-SOCKET-SSL} && ! ${PORT_OPTIONS:MP5-HTTP-TINY}
81
RUN_DEPENDS+=	p5-HTTP-Tiny>=0:www/p5-HTTP-Tiny
82
.endif
83
84
.include <bsd.port.pre.mk>
85
86
do-install:
87
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
88
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
89
90
post-install-DOCS-on:
91
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
92
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
93
94
.include <bsd.port.post.mk>
(-)sysutils/inxi/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1576711851
2
SHA256 (smxi-inxi-3.0.37-1_GH0.tar.gz) = bc16d8b975a8ed064949bc8209e0c01c204c01c9046076f62709366e672bea40
3
SIZE (smxi-inxi-3.0.37-1_GH0.tar.gz) = 314226
(-)sysutils/inxi/pkg-descr (+8 lines)
Line 0 Link Here
1
inxi is a command line system information tool. It was forked
2
from the ancient and mindbendingly perverse yet ingenius
3
infobash, by locsmif.
4
5
The primary purpose of inxi is for support, and sys admin use.
6
inxi is used widely for forum and IRC support.
7
8
WWW: https://github.com/smxi/inxi

Return to bug 242748