- Don't silence warnings

- Add pkg-deinstall
- Change pkg-message, remove deinstallation information
This commit is contained in:
Rusmir Dusko 2014-03-11 16:36:27 +00:00
parent 5f4f793f4b
commit 33b885f534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347890
3 changed files with 19 additions and 8 deletions

View file

@ -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;" ""

View file

@ -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

View file

@ -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%%
===============================================================================