Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2014 12:02:34 +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: r347872 - in head/games/opensurge: . files
Message-ID:  <201403111202.s2BC2YtJ062975@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Mar 11 12:02:33 2014
New Revision: 347872
URL: http://svnweb.freebsd.org/changeset/ports/347872
QAT: https://qat.redports.org/buildarchive/r347872/

Log:
  - Add pkg-deinstall, to user see how to deinstall full
  - Change pkg-message, remove for deinstallation
  - Fix typo, not needed linie in pkg-plist
  
  Reported by:	jgh@

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

Modified: head/games/opensurge/Makefile
==============================================================================
--- head/games/opensurge/Makefile	Tue Mar 11 10:27:06 2014	(r347871)
+++ head/games/opensurge/Makefile	Tue Mar 11 12:02:33 2014	(r347872)
@@ -37,7 +37,7 @@ PORTDOCS=	readme.html
 
 OPTIONS_DEFINE=	DOCS
 
-SUB_FILES=	${PORTNAME} pkg-message
+SUB_FILES=	${PORTNAME} pkg-deinstall pkg-message
 
 INSTALLS_ICONS=	yes
 ICON_SIZES=	16x16 32x32 48x48 64x64 72x72 96x96 128x128 256x256

Added: head/games/opensurge/files/pkg-deinstall.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/opensurge/files/pkg-deinstall.in	Tue Mar 11 12:02:33 2014	(r347872)
@@ -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/opensurge/files/pkg-message.in
==============================================================================
--- head/games/opensurge/files/pkg-message.in	Tue Mar 11 10:27:06 2014	(r347871)
+++ head/games/opensurge/files/pkg-message.in	Tue Mar 11 12:02:33 2014	(r347872)
@@ -2,19 +2,11 @@
 
 Open Surge has been installed.
 
-
 When you have problems to build Source please reinstall
 
 audio/alure
 x11-fonts/alfont
 
-
-After deinstallation, some files may stay in %%DATADIR%%,
-you can delete them with
-
-    /bin/rm -fr %%DATADIR%%
-
-
 Have fun!
 
 ===============================================================================

Modified: head/games/opensurge/pkg-plist
==============================================================================
--- head/games/opensurge/pkg-plist	Tue Mar 11 10:27:06 2014	(r347871)
+++ head/games/opensurge/pkg-plist	Tue Mar 11 12:02:33 2014	(r347872)
@@ -8,4 +8,3 @@ share/icons/hicolor/64x64/apps/opensurge
 share/icons/hicolor/72x72/apps/opensurge.png
 share/icons/hicolor/96x96/apps/opensurge.png
 share/pixmaps/opensurge.png
-



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