aboutsummaryrefslogtreecommitdiff
path: root/graphics/aoi
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-03-14 15:06:40 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-03-14 15:06:40 +0000
commitc375bf20030b8f57dcdbfa5fc6d89eb54939b467 (patch)
treeff4052f590e1e2c27ca63f41a0b22763e1d2168e /graphics/aoi
parent26ce683250a54b98c1a666348a12f43b0b578a25 (diff)
downloadports-c375bf20030b8f57dcdbfa5fc6d89eb54939b467.tar.gz
ports-c375bf20030b8f57dcdbfa5fc6d89eb54939b467.zip
- Add dependency for graphics/jogl
- Add pkg-deinstall - Change pkg-message, remove deinstallation information
Notes
Notes: svn path=/head/; revision=348245
Diffstat (limited to 'graphics/aoi')
-rw-r--r--graphics/aoi/Makefile4
-rw-r--r--graphics/aoi/files/pkg-deinstall.in18
-rw-r--r--graphics/aoi/files/pkg-message.in5
3 files changed, 20 insertions, 7 deletions
diff --git a/graphics/aoi/Makefile b/graphics/aoi/Makefile
index 42317c907ee7..41a14f00137a 100644
--- a/graphics/aoi/Makefile
+++ b/graphics/aoi/Makefile
@@ -14,6 +14,7 @@ COMMENT= Open source Java written 3D modelling and rendering studio
LICENSE= GPLv2
+LIB_DEPENDS= libjogl.so:${PORTSDIR}/graphics/jogl
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USES= zip:infozip
@@ -36,8 +37,7 @@ DOC_FILES2= *
OPTIONS_DEFINE= DOCS
-SUB_FILES= ${PORTNAME} \
- pkg-message
+SUB_FILES= ${PORTNAME} pkg-deinstall 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
new file mode 100644
index 000000000000..4b297e3acd1f
--- /dev/null
+++ b/graphics/aoi/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/graphics/aoi/files/pkg-message.in b/graphics/aoi/files/pkg-message.in
index 67b9060cf989..f0941cc4e3b7 100644
--- a/graphics/aoi/files/pkg-message.in
+++ b/graphics/aoi/files/pkg-message.in
@@ -18,9 +18,4 @@ and other Sites and put it in:
%%DATADIR%%/Plugins
%%DATADIR%%/Scripts/...
-After deinstallation, some files may stay in %%DATADIR%%,
-you can delete them with
-
- rm -fr %%DATADIR%%
-
===============================================================================