- Don't silence warnings
- Add pkg-deinstall - Change pkg-message, remove deinstallation information
This commit is contained in:
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
|
@ -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;" ""
|
||||
|
|
18
games/sudoku-sensei/files/pkg-deinstall.in
Normal file
18
games/sudoku-sensei/files/pkg-deinstall.in
Normal 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
|
|
@ -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%%
|
||||
|
||||
===============================================================================
|
||||
|
|
Loading…
Reference in a new issue