summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/Makefile1
-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
5 files changed, 55 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 38a6794..c07fe25 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -673,6 +673,7 @@
SUBDIR += tintfu
SUBDIR += tkpng
SUBDIR += togl
+ SUBDIR += tonicpoint-viewer
SUBDIR += truevision
SUBDIR += tulip
SUBDIR += uDrawGraph
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