aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-11 16:36:27 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-11 16:36:27 +0000
commit33b885f53456740dfb3443667deefc9fc437f95a (patch)
tree770f4906deccae905e488dee5b3d3772ec11699a /games
parent5f4f793f4b44ef3fedbacafc93907fac372060b9 (diff)
downloadports-33b885f53456740dfb3443667deefc9fc437f95a.tar.gz
ports-33b885f53456740dfb3443667deefc9fc437f95a.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/sudoku-sensei/Makefile4
-rw-r--r--games/sudoku-sensei/files/pkg-deinstall.in18
-rw-r--r--games/sudoku-sensei/files/pkg-message.in5
3 files changed, 19 insertions, 8 deletions
diff --git a/games/sudoku-sensei/Makefile b/games/sudoku-sensei/Makefile
index 489feda5bf86..a1af00cc0d1e 100644
--- a/games/sudoku-sensei/Makefile
+++ b/games/sudoku-sensei/Makefile
@@ -19,10 +19,8 @@ WRKSRC= ${WRKDIR}/SudokuSenseiSources
USES= qmake
USE_QT4= moc_build uic_build corelib gui iconengines_run imageformats_run
-CFLAGS+= -w
-SUB_FILES= ${PORTNAME} \
- pkg-message
+SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message
DESKTOP_ENTRIES="Sudoku Sensei" "" "${PORTNAME}" \
"${PORTNAME}" "Game;LogicGame;" ""
diff --git a/games/sudoku-sensei/files/pkg-deinstall.in b/games/sudoku-sensei/files/pkg-deinstall.in
new file mode 100644
index 000000000000..4b297e3acd1f
--- /dev/null
+++ b/games/sudoku-sensei/files/pkg-deinstall.in
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+if [ "$2" = "POST-DEINSTALL" ]; then
+ echo ""
+ echo ""
+ echo "==============================================================================="
+ echo ""
+ echo "After deinstallation, some files may stay in %%DATADIR%%,"
+ echo "you can delete them with"
+ echo ""
+ echo " /bin/rm -fr %%DATADIR%%"
+ echo ""
+ echo "==============================================================================="
+ echo ""
+fi
diff --git a/games/sudoku-sensei/files/pkg-message.in b/games/sudoku-sensei/files/pkg-message.in
index dc9d18b26c6b..5c1f708013ba 100644
--- a/games/sudoku-sensei/files/pkg-message.in
+++ b/games/sudoku-sensei/files/pkg-message.in
@@ -4,9 +4,4 @@ Sudoku Sensei has been installed.
User settings and saves are in %%DATADIR%%
-After deinstallation, some files may stay in %%DATADIR%%,
-you can delete them with
-
- /bin/rm -fr %%DATADIR%%
-
===============================================================================