Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 16:36:28 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347890 - in head/games/sudoku-sensei: . files
Message-ID:  <201403111636.s2BGaSfl074729@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Mar 11 16:36:27 2014
New Revision: 347890
URL: http://svnweb.freebsd.org/changeset/ports/347890
QAT: https://qat.redports.org/buildarchive/r347890/

Log:
  - Don't silence warnings
  - Add pkg-deinstall
  - Change pkg-message, remove deinstallation information

Added:
  head/games/sudoku-sensei/files/pkg-deinstall.in   (contents, props changed)
Modified:
  head/games/sudoku-sensei/Makefile
  head/games/sudoku-sensei/files/pkg-message.in

Modified: head/games/sudoku-sensei/Makefile
==============================================================================
--- head/games/sudoku-sensei/Makefile	Tue Mar 11 16:06:30 2014	(r347889)
+++ head/games/sudoku-sensei/Makefile	Tue Mar 11 16:36:27 2014	(r347890)
@@ -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;" ""

Added: head/games/sudoku-sensei/files/pkg-deinstall.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/sudoku-sensei/files/pkg-deinstall.in	Tue Mar 11 16:36:27 2014	(r347890)
@@ -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

Modified: head/games/sudoku-sensei/files/pkg-message.in
==============================================================================
--- head/games/sudoku-sensei/files/pkg-message.in	Tue Mar 11 16:06:30 2014	(r347889)
+++ head/games/sudoku-sensei/files/pkg-message.in	Tue Mar 11 16:36:27 2014	(r347890)
@@ -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%%
-
 ===============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403111636.s2BGaSfl074729>