summaryrefslogtreecommitdiffstats
path: root/graphics/tonicpoint-viewer
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-02-07 00:19:46 +0000
committermiwi <miwi@FreeBSD.org>2007-02-07 00:19:46 +0000
commite9af350b4b970786092704bafa54bc9feb238381 (patch)
tree40ed2b78c1baed1da08de1346425bab316e764cc /graphics/tonicpoint-viewer
parent31910caa28a35b9cb4a47d7af5c37dfc01c62081 (diff)
downloadFreeBSD-ports-e9af350b4b970786092704bafa54bc9feb238381.zip
FreeBSD-ports-e9af350b4b970786092704bafa54bc9feb238381.tar.gz
The TonicPoint Viewer is a standalone Java application that allows you to open
and view PowerPoint presentations on any platform. The Viewer supports the standard PowerPoint file format that is used by PowerPoint 97, 2000, XP, 2003, etc. WWW: http://tonicsystems.com/products/viewer/ PR: ports/108825 Submitted by: ports at c0decafe.net
Diffstat (limited to 'graphics/tonicpoint-viewer')
-rw-r--r--graphics/tonicpoint-viewer/Makefile43
-rw-r--r--graphics/tonicpoint-viewer/distinfo3
-rw-r--r--graphics/tonicpoint-viewer/files/tonicpoint2
-rw-r--r--graphics/tonicpoint-viewer/pkg-descr6
4 files changed, 54 insertions, 0 deletions
diff --git a/graphics/tonicpoint-viewer/Makefile b/graphics/tonicpoint-viewer/Makefile
new file mode 100644
index 0000000..7824cb2
--- /dev/null
+++ b/graphics/tonicpoint-viewer/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: tonicpoint-viewer
+# Date created: 2007-02-06
+# Whom: ports@c0decafe.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= viewer
+PORTVERSION= 1.4
+CATEGORIES= graphics java
+MASTER_SITES= http://downloads.tonicsystems.com/viewer/
+PKGNAMEPREFIX= tonicpoint-
+DISTNAME= tonicpoint-${PORTVERSION}
+EXTRACT_SUFX= .jar
+EXTRACT_ONLY=
+
+MAINTAINER= ports@c0decafe.net
+COMMENT= PowerPoint presentations viewer
+
+NO_CDROM= free for non-commercial use
+
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+BINNAME= tonicpoint
+JARFILE= ${BINNAME}.jar
+PLIST_FILES= %%JAVAJARDIR%%/${JARFILE} bin/${BINNAME}
+
+do-configure:
+ @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|;'\
+ -e 's|%%JAVAJARDIR%%|${JAVAJARDIR}|;'\
+ -e 's|%%JARFILE%%|${JARFILE}|;' \
+ ${FILESDIR}/${BINNAME} > ${WRKSRC}/${BINNAME}
+
+do-install:
+ @${MKDIR} ${JAVAJARDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.jar ${JAVAJARDIR}/${JARFILE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${BINNAME} ${PREFIX}/bin/${BINNAME}
+
+.include <bsd.port.mk>
diff --git a/graphics/tonicpoint-viewer/distinfo b/graphics/tonicpoint-viewer/distinfo
new file mode 100644
index 0000000..24a8688
--- /dev/null
+++ b/graphics/tonicpoint-viewer/distinfo
@@ -0,0 +1,3 @@
+MD5 (tonicpoint-1.4.jar) = 91c4c5bbe081b0c90acc49b54046ca95
+SHA256 (tonicpoint-1.4.jar) = 7c005324c6d803c2b3e5967c6a66f9c71fa3375b1cd5410de4cda0ca600e80f3
+SIZE (tonicpoint-1.4.jar) = 870837
diff --git a/graphics/tonicpoint-viewer/files/tonicpoint b/graphics/tonicpoint-viewer/files/tonicpoint
new file mode 100644
index 0000000..c81aee4
--- /dev/null
+++ b/graphics/tonicpoint-viewer/files/tonicpoint
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec %%LOCALBASE%%/bin/java -jar %%JAVAJARDIR%%/%%JARFILE%% "$@"
diff --git a/graphics/tonicpoint-viewer/pkg-descr b/graphics/tonicpoint-viewer/pkg-descr
new file mode 100644
index 0000000..49915a0f
--- /dev/null
+++ b/graphics/tonicpoint-viewer/pkg-descr
@@ -0,0 +1,6 @@
+The TonicPoint Viewer is a standalone Java application that allows you to open
+and view PowerPoint presentations on any platform.
+The Viewer supports the standard PowerPoint file format that is used
+by PowerPoint 97, 2000, XP, 2003, etc.
+
+WWW: http://tonicsystems.com/products/viewer/
OpenPOWER on IntegriCloud