diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-03-11 20:02:33 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-03-11 20:02:33 +0800 |
commit | 6d944a01c028c226dcfef23c8fec489fb9a4a227 (patch) | |
tree | fc66b67bece349865fa20646484461a7d5952c75 /games | |
parent | df912bf95fe21cbcef6f8298fe8304b91bbcfe50 (diff) | |
download | freebsd-ports-gnome-6d944a01c028c226dcfef23c8fec489fb9a4a227.tar.gz freebsd-ports-gnome-6d944a01c028c226dcfef23c8fec489fb9a4a227.tar.zst freebsd-ports-gnome-6d944a01c028c226dcfef23c8fec489fb9a4a227.zip |
- 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@
Diffstat (limited to 'games')
-rw-r--r-- | games/opensurge/Makefile | 2 | ||||
-rw-r--r-- | games/opensurge/files/pkg-deinstall.in | 18 | ||||
-rw-r--r-- | games/opensurge/files/pkg-message.in | 8 | ||||
-rw-r--r-- | games/opensurge/pkg-plist | 1 |
4 files changed, 19 insertions, 10 deletions
diff --git a/games/opensurge/Makefile b/games/opensurge/Makefile index 530985ff489b..c40e09fc879c 100644 --- a/games/opensurge/Makefile +++ b/games/opensurge/Makefile @@ -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 diff --git a/games/opensurge/files/pkg-deinstall.in b/games/opensurge/files/pkg-deinstall.in new file mode 100644 index 000000000000..4b297e3acd1f --- /dev/null +++ b/games/opensurge/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/opensurge/files/pkg-message.in b/games/opensurge/files/pkg-message.in index aa176ab1e825..dfabd7a033ea 100644 --- a/games/opensurge/files/pkg-message.in +++ b/games/opensurge/files/pkg-message.in @@ -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! =============================================================================== diff --git a/games/opensurge/pkg-plist b/games/opensurge/pkg-plist index 930f029bd9d5..b720dd57d706 100644 --- a/games/opensurge/pkg-plist +++ b/games/opensurge/pkg-plist @@ -8,4 +8,3 @@ share/icons/hicolor/64x64/apps/opensurge.png share/icons/hicolor/72x72/apps/opensurge.png share/icons/hicolor/96x96/apps/opensurge.png share/pixmaps/opensurge.png - |