diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-07-27 16:23:31 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2022-07-27 16:27:13 +0200 |
commit | 1c290acab936422796b5874c2cc4c8b3df8de4b6 (patch) | |
tree | 6e0949d4fdcafb9756d8778695a704ac0e008886 /graphics | |
parent | net-im/prosody: use pkg-message to show message on remove (diff) |
graphics/aoi: use pkg-message to show message on remove
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/aoi/Makefile | 4 | ||||
-rw-r--r-- | graphics/aoi/files/pkg-deinstall.in | 15 | ||||
-rw-r--r-- | 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 } ] |