git: 1c290acab936 - main - graphics/aoi: use pkg-message to show message on remove
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 14:27:27 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c290acab936422796b5874c2cc4c8b3df8de4b6 commit 1c290acab936422796b5874c2cc4c8b3df8de4b6 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-07-27 14:23:31 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-07-27 14:27:13 +0000 graphics/aoi: use pkg-message to show message on remove --- graphics/aoi/Makefile | 4 ++-- graphics/aoi/files/pkg-deinstall.in | 15 --------------- graphics/aoi/files/pkg-message.in | 12 ++++++++++++ 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/graphics/aoi/Makefile b/graphics/aoi/Makefile index 73280c3ffffe..d0925702365f 100644 --- a/graphics/aoi/Makefile +++ b/graphics/aoi/Makefile @@ -1,6 +1,6 @@ PORTNAME= aoi PORTVERSION= 3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics java MASTER_SITES= SF/${PORTNAME}/ArtOfIllusion/${PORTVERSION} \ SF/${PORTNAME}/ArtOfIllusion-manual/${PORTVERSION}:docs @@ -25,7 +25,7 @@ DATADIR= ${JAVASHAREDIR}/${PORTNAME} PORTDOCS= * -SUB_FILES= ${PORTNAME} pkg-deinstall pkg-message +SUB_FILES= ${PORTNAME} pkg-message DESKTOP_ENTRIES="Art of Illusion" "3D modelling and rendering studio" \ "${PORTNAME}" "${PORTNAME}" "Graphics;3DGraphics;" "" diff --git a/graphics/aoi/files/pkg-deinstall.in b/graphics/aoi/files/pkg-deinstall.in deleted file mode 100644 index a3c5ddb86cd6..000000000000 --- a/graphics/aoi/files/pkg-deinstall.in +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -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/graphics/aoi/files/pkg-message.in b/graphics/aoi/files/pkg-message.in index f7c41e5efb9e..ad537399f030 100644 --- a/graphics/aoi/files/pkg-message.in +++ b/graphics/aoi/files/pkg-message.in @@ -19,5 +19,17 @@ and other Sites and put it in: %%DATADIR%%/Plugins %%DATADIR%%/Scripts/... EOM +}, +{ type: remove + message: <<EOM +=============================================================================== + +After deinstallation, some files may stay in %%DATADIR%%, +you can delete them with + + /bin/rm -fr %%DATADIR%% + +=============================================================================== +EOM } ]