Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2014 15:06:40 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348245 - in head/graphics/aoi: . files
Message-ID:  <201403141506.s2EF6eh9041035@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Fri Mar 14 15:06:40 2014
New Revision: 348245
URL: http://svnweb.freebsd.org/changeset/ports/348245
QAT: https://qat.redports.org/buildarchive/r348245/

Log:
  - Add dependency for graphics/jogl
  - Add pkg-deinstall
  - Change pkg-message, remove deinstallation information

Added:
  head/graphics/aoi/files/pkg-deinstall.in   (contents, props changed)
Modified:
  head/graphics/aoi/Makefile
  head/graphics/aoi/files/pkg-message.in

Modified: head/graphics/aoi/Makefile
==============================================================================
--- head/graphics/aoi/Makefile	Fri Mar 14 15:04:28 2014	(r348244)
+++ head/graphics/aoi/Makefile	Fri Mar 14 15:06:40 2014	(r348245)
@@ -14,6 +14,7 @@ COMMENT=	Open source Java written 3D mod
 
 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;" ""

Added: head/graphics/aoi/files/pkg-deinstall.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/aoi/files/pkg-deinstall.in	Fri Mar 14 15:06:40 2014	(r348245)
@@ -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

Modified: head/graphics/aoi/files/pkg-message.in
==============================================================================
--- head/graphics/aoi/files/pkg-message.in	Fri Mar 14 15:04:28 2014	(r348244)
+++ head/graphics/aoi/files/pkg-message.in	Fri Mar 14 15:06:40 2014	(r348245)
@@ -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%%
-
 ===============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403141506.s2EF6eh9041035>