1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/tonicpoint-viewer/Makefile
Martin Wilke 2b21f7e160 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
2007-02-07 00:19:46 +00:00

44 lines
1000 B
Makefile

# 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>