Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 09:03:42 +0100 (BST)
From:      Janos Mohacsi <janos.mohacsi@dante.org.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37406: New port: jdictionary 1.2 platform independent plugin based dictionary
Message-ID:  <200204240803.g3O83gh81405@budapest.dante.org.uk>

next in thread | raw e-mail | index | archive | help

>Number:         37406
>Category:       ports
>Synopsis:       New port: jdictionary 1.2 platform independent plugin based dictionary
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 24 01:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
DANTE
>Environment:
System: FreeBSD budapest.dante.org.uk 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Apr 22 13:55:49 BST 2002 janos@budapest.dante.org.uk:/usr/src/sys/compile/BUDAPEST i386  + jdk-1.3.1
>Description:

New port: jdictionary 1.2 - platform independent plugin based 
dictionary. Requires java VM 1.2. ported with jdk-1.3.1. Minor corrections to 
 pr=37398 to resolve plugin finding problem. Apply this port instead of 
ports/37398.
	
>How-To-Repeat:

Apply this shar.
	
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	jdictionary
#	jdictionary/pkg-plist
#	jdictionary/pkg-descr
#	jdictionary/pkg-comment
#	jdictionary/files
#	jdictionary/files/jdictionary.sh
#	jdictionary/Makefile
#	jdictionary/distinfo
#
echo c - jdictionary
mkdir -p jdictionary > /dev/null 2>&1
echo x - jdictionary/pkg-plist
sed 's/^X//' >jdictionary/pkg-plist << 'END-of-jdictionary/pkg-plist'
Xbin/jdictionary
Xshare/java/classes/jdictionary/jdictionary.jar
X@dirrm share/java/classes/jdictionary
END-of-jdictionary/pkg-plist
echo x - jdictionary/pkg-descr
sed 's/^X//' >jdictionary/pkg-descr << 'END-of-jdictionary/pkg-descr'
XJDictionary is a powerful multi platform dictionary software. 
XJDictionary is plugin based, and has an easy to use plugin managment system,
Xthat is able to download and install the desired plugins automagically from 
Xthe web. Installing or upgrading one or more plugins (even simultaneously) 
Xis just one click!
X
XWWW: http://jdictionary.info/
END-of-jdictionary/pkg-descr
echo x - jdictionary/pkg-comment
sed 's/^X//' >jdictionary/pkg-comment << 'END-of-jdictionary/pkg-comment'
XJDictionary - Platform independent, plugin based dictionary
END-of-jdictionary/pkg-comment
echo c - jdictionary/files
mkdir -p jdictionary/files > /dev/null 2>&1
echo x - jdictionary/files/jdictionary.sh
sed 's/^X//' >jdictionary/files/jdictionary.sh << 'END-of-jdictionary/files/jdictionary.sh'
X#!/bin/sh
Xcd %%PREFIX%%/share/java/classes/jdictionary
Xexec %%LOCALBASE%%/bin/javavm -jar %%PREFIX%%/share/java/classes/jdictionary/jdictionary.jar
END-of-jdictionary/files/jdictionary.sh
echo x - jdictionary/Makefile
sed 's/^X//' >jdictionary/Makefile << 'END-of-jdictionary/Makefile'
X# New ports collection makefile for:    jdictionary
X# Date created:         23.04.2002
X# Whom:                 janos.mohacsi@bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jdictionary
XPORTVERSION=    1.2
XCATEGORIES=	textproc
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=jdictionary
XDISTNAME=	jdictionary-1_21
X
XMAINTAINER=	janos.mohacsi@bsd.hu
X
XRUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper \
X		${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/jdictionary
XNO_BUILD=yes
X
Xdo-configure:
X	@${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
X		${FILESDIR}/jdictionary.sh > ${WRKDIR}/jdictionary.sh
X
Xdo-install:
X	@if [ ! -d ${PREFIX}/share/java/classes/jdictionary ]; then \
X		${MKDIR} ${PREFIX}/share/java/classes/jdictionary; fi
X	${CP} ${WRKSRC}/jdictionary.jar                                \
X		${PREFIX}/share/java/classes/jdictionary/
X	${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary
X
X.include <bsd.port.mk>
END-of-jdictionary/Makefile
echo x - jdictionary/distinfo
sed 's/^X//' >jdictionary/distinfo << 'END-of-jdictionary/distinfo'
XMD5 (jdictionary-1_21.zip) = a188bda0ed061ea11e05319684e54cc4
END-of-jdictionary/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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