summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2022-07-27 14:57:44 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2022-07-27 14:58:18 +0200
commit5b77ae013638f067fba35fcc5c7e5aa61d8c8188 (patch)
tree9cbc607c54a24cce6ce83b380740e849f0b7a55c /x11
parentwww/privatebin: use pkg-message to show message on remove (diff)
x11/gdm: use pkg-message to show message on remove
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm/Makefile2
-rw-r--r--x11/gdm/pkg-deinstall12
-rw-r--r--x11/gdm/pkg-message10
3 files changed, 11 insertions, 13 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 5bc084351f97..f0f034c75bd3 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gdm
PORTVERSION= 42.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
diff --git a/x11/gdm/pkg-deinstall b/x11/gdm/pkg-deinstall
deleted file mode 100644
index adf6a3e9df6c..000000000000
--- a/x11/gdm/pkg-deinstall
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-case $2 in
-DEINSTALL)
- echo ""
- echo "To really remove the gdm port, please remove the following"
- echo "directories manualy:"
- echo ""
- echo "/var/cache/gdm /var/gdm /var/log/gdm and /var/run/gdm"
- echo ""
- ;;
-esac
diff --git a/x11/gdm/pkg-message b/x11/gdm/pkg-message
index b6d1e4e91f7d..d9ddfb60e1d4 100644
--- a/x11/gdm/pkg-message
+++ b/x11/gdm/pkg-message
@@ -7,5 +7,15 @@ Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm
hanging or restarting constantly. Instead, add gdm_enable="YES" to
/etc/rc.conf. GDM will be started automatic on the next reboot.
EOM
+},
+{ type: remove
+ message: <<EOM
+
+To really remove the gdm port, please remove the following
+directories manualy:
+
+/var/cache/gdm /var/gdm /var/log/gdm and /var/run/gdm
+
+EOM
}
]