From janos@budapest.dante.org.uk  Wed Apr 24 01:03:45 2002
Return-Path: <janos@budapest.dante.org.uk>
Received: from budapest.dante.org.uk (budapest.dante.org.uk [193.63.211.72])
	by hub.freebsd.org (Postfix) with ESMTP id 32E5437B422
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Apr 2002 01:03:44 -0700 (PDT)
Received: (from janos@localhost)
	by budapest.dante.org.uk (8.11.6/8.11.6) id g3O83gh81405;
	Wed, 24 Apr 2002 09:03:42 +0100 (BST)
	(envelope-from janos)
Message-Id: <200204240803.g3O83gh81405@budapest.dante.org.uk>
Date: Wed, 24 Apr 2002 09:03:42 +0100 (BST)
From: Janos Mohacsi <janos.mohacsi@dante.org.uk>
Reply-To: Janos Mohacsi <janos.mohacsi@bsd.hu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: jdictionary 1.2 platform independent plugin based dictionary
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37406
>Category:       ports
>Synopsis:       New port: jdictionary 1.2 platform independent plugin based dictionary
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    znerd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 24 01:10:00 PDT 2002
>Closed-Date:    Tue Jul 02 12:48:23 PDT 2002
>Last-Modified:  Tue Jul 02 12:48:23 PDT 2002
>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:
Responsible-Changed-From-To: freebsd-ports->znerd 
Responsible-Changed-By: znerd 
Responsible-Changed-When: Wed Apr 24 11:46:04 PDT 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37406 
State-Changed-From-To: open->closed 
State-Changed-By: znerd 
State-Changed-When: Tue Jul 2 12:48:09 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37406 
>Unformatted:
