aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGian-Simon Purkert <gspurki@gmail.com>2022-10-16 20:15:08 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2022-10-16 21:21:17 +0000
commit208b9e2f6a69ef3dc282cfe7179c824820ebd829 (patch)
tree4fdcbfd56d6b72f4aabf51bc4fbc8be7ccdc9a9a
parent48e37277f1db9d485f9b7e0ae2f759f869017a46 (diff)
downloadports-208b9e2f6a69ef3dc282cfe7179c824820ebd829.tar.gz
ports-208b9e2f6a69ef3dc282cfe7179c824820ebd829.zip
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)
-rw-r--r--misc/flag/Makefile20
-rw-r--r--misc/flag/distinfo5
-rw-r--r--misc/flag/pkg-descr2
3 files changed, 15 insertions, 12 deletions
diff --git a/misc/flag/Makefile b/misc/flag/Makefile
index 1e0b83cfc884..136003f441e0 100644
--- a/misc/flag/Makefile
+++ b/misc/flag/Makefile
@@ -1,20 +1,24 @@
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
+PLIST_FILES= bin/flag
+
OPTIONS_DEFINE= BASH
-BASH_DESC= Install include for Bash prompt
OPTIONS_DEFAULT=BASH
-
-PLIST_FILES= bin/flag
+BASH_DESC= Install include for Bash prompt
.include <bsd.port.options.mk>
@@ -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>
diff --git a/misc/flag/distinfo b/misc/flag/distinfo
index 0b12c8b68be2..4d8a63772b65 100644
--- a/misc/flag/distinfo
+++ b/misc/flag/distinfo
@@ -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
diff --git a/misc/flag/pkg-descr b/misc/flag/pkg-descr
index 2dc0ecefc469..5b2820d9c535 100644
--- a/misc/flag/pkg-descr
+++ b/misc/flag/pkg-descr
@@ -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