mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
misc/flag: Update to 1.0.6
No changelog provided by upstream Committers note: Patch adapted to use helpers PR: 266884 Reviewed by: cyberleo@cyberleo.net (maintainer)
This commit is contained in:
committed by
Brad Davis
parent
cb35ecc399
commit
23a061967c
+13
-9
@@ -1,21 +1,25 @@
|
||||
PORTNAME= flag
|
||||
PORTVERSION= 1.0.5
|
||||
DISTVERSION= 1.0.6
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://git.cyberleo.net/releases/${PORTNAME}/
|
||||
EXTRACT_SUFX= .tgz
|
||||
MASTER_SITES= https://git.cyberleo.net/releases/${PORTNAME}/
|
||||
|
||||
MAINTAINER= cyberleo@cyberleo.net
|
||||
COMMENT= Turn the hostname into a colourful and visually distinctive ansi flag
|
||||
WWW= https://git.cyberleo.net/CDN/flag.git
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/README.md
|
||||
|
||||
USES= tar:tgz
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS_DEFINE= BASH
|
||||
BASH_DESC= Install include for Bash prompt
|
||||
OPTIONS_DEFAULT=BASH
|
||||
|
||||
PLIST_FILES= bin/flag
|
||||
|
||||
OPTIONS_DEFINE= BASH
|
||||
OPTIONS_DEFAULT=BASH
|
||||
BASH_DESC= Install include for Bash prompt
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MBASH}
|
||||
@@ -27,9 +31,9 @@ post-extract:
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/flag ${STAGEDIR}${PREFIX}/bin/flag
|
||||
.if ${PORT_OPTIONS:MBASH}
|
||||
|
||||
do-install-BASH-on:
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/bash_prompt.sh ${STAGEDIR}${DATADIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
+3
-2
@@ -1,2 +1,3 @@
|
||||
SHA256 (flag-1.0.5.tgz) = 8db0d4a40a9c119689275cbf00508c4af96553c3a7e035e9836d533d22f8d98f
|
||||
SIZE (flag-1.0.5.tgz) = 5683
|
||||
TIMESTAMP = 1665136291
|
||||
SHA256 (flag-1.0.6.tgz) = 6eb9ad34fb4edc46a235de0bb066d859a7edecefd3fcfd81a0d8b17534af1e47
|
||||
SIZE (flag-1.0.6.tgz) = 5769
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
flag
|
||||
|
||||
Produces a cute little ansi colour 'flag' based off a hash of the machine's
|
||||
hostname (or settable via ~/.flag or /etc/flag) which can uniquely visually
|
||||
identify a machine, at a glance. Useful for placing into /etc/issue or your
|
||||
|
||||
Reference in New Issue
Block a user