aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2022-07-27 12:09:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2022-07-27 12:12:12 +0000
commitad9099a50a4d1d32b71226014622be2402491620 (patch)
tree62188fca964a2e90e8b059960a37ec73ffa31029
parent5434cdc4a41b6445579ef025f7e895d94c7c865c (diff)
downloadports-ad9099a50a4d1d32b71226014622be2402491620.tar.gz
ports-ad9099a50a4d1d32b71226014622be2402491620.zip
devel/flyspray: replace a deinstall script with a regular message
-rw-r--r--devel/flyspray/Makefile2
-rw-r--r--devel/flyspray/files/pkg-message.in18
-rw-r--r--devel/flyspray/pkg-deinstall19
3 files changed, 19 insertions, 20 deletions
diff --git a/devel/flyspray/Makefile b/devel/flyspray/Makefile
index 8421f2954ff7..dcc61a842717 100644
--- a/devel/flyspray/Makefile
+++ b/devel/flyspray/Makefile
@@ -1,6 +1,6 @@
PORTNAME= flyspray
PORTVERSION= 0.9.9.7
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= devel www
MASTER_SITES= http://flyspray.org/packed/
diff --git a/devel/flyspray/files/pkg-message.in b/devel/flyspray/files/pkg-message.in
index d814150ab343..056143029e6e 100644
--- a/devel/flyspray/files/pkg-message.in
+++ b/devel/flyspray/files/pkg-message.in
@@ -5,5 +5,23 @@ Please read the installation instructions in:
%%DOCSDIR%%/README.FreeBSD
EOM
+},
+{ type: remove
+ message: <<EOM
+The Flyspray program has been deleted but the bug tracking database has
+not been touched. To delete all the bug tracking information, execute the
+following commands:
+
+ # rm -rf /var/db/flyspray
+ # mysqladmin -u root -p drop flyspray
+
+or
+
+ # dropdb -U pgsql flyspray
+
+if you are using PostgreSQL backend
+
+Thanks for using Flyspray!
+EOM
}
]
diff --git a/devel/flyspray/pkg-deinstall b/devel/flyspray/pkg-deinstall
deleted file mode 100644
index 1559940ec8f7..000000000000
--- a/devel/flyspray/pkg-deinstall
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-case $2 in
-DEINSTALL)
- echo "--"
- echo "The Flyspray program has been deleted but the bug tracking database has"
- echo "not been touched. To delete all the bug tracking information, execute the"
- echo "following commands:"
- echo ""
- echo "# rm -rf /var/db/flyspray"
- echo "# mysqladmin -u root -p drop flyspray"
- echo "or"
- echo "# dropdb -U pgsql flyspray"
- echo "if you are using PostgreSQL backend"
- echo ""
- echo "Thanks for using Flyspray!"
- echo "--"
-;;
-esac