aboutsummaryrefslogtreecommitdiff
path: root/textproc/jdictionary
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-04-27 00:26:40 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-04-27 00:26:40 +0000
commit7c59e5ac149fbb9939f11857b18546c8876e5f86 (patch)
tree1ca7d2eaed6c74cea2c4618229fd1ada84bee5f2 /textproc/jdictionary
parentf1fbaf5a19d4ceab951838e6cdcdf70fffceaeca (diff)
downloadports-7c59e5ac149fbb9939f11857b18546c8876e5f86.tar.gz
ports-7c59e5ac149fbb9939f11857b18546c8876e5f86.zip
New port: textproc/jdictionary.
PR: 37398 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes: svn path=/head/; revision=58203
Diffstat (limited to 'textproc/jdictionary')
-rw-r--r--textproc/jdictionary/Makefile35
-rw-r--r--textproc/jdictionary/distinfo1
-rw-r--r--textproc/jdictionary/files/jdictionary.sh3
-rw-r--r--textproc/jdictionary/pkg-comment1
-rw-r--r--textproc/jdictionary/pkg-descr7
-rw-r--r--textproc/jdictionary/pkg-plist3
6 files changed, 50 insertions, 0 deletions
diff --git a/textproc/jdictionary/Makefile b/textproc/jdictionary/Makefile
new file mode 100644
index 000000000000..345630bf726e
--- /dev/null
+++ b/textproc/jdictionary/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: jdictionary
+# Date created: 23.04.2002
+# Whom: janos.mohacsi@bsd.hu
+#
+# $FreeBSD$
+#
+
+PORTNAME= jdictionary
+PORTVERSION= 1.2
+CATEGORIES= textproc java
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=jdictionary
+DISTNAME= jdictionary-1_21
+
+MAINTAINER= janos.mohacsi@bsd.hu
+
+RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper \
+ ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13
+
+USE_ZIP= yes
+WRKSRC= ${WRKDIR}/jdictionary
+NO_BUILD=yes
+
+do-configure:
+ @${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${FILESDIR}/jdictionary.sh > ${WRKDIR}/jdictionary.sh
+
+do-install:
+ @if [ ! -d ${PREFIX}/share/java/classes/jdictionary ]; then \
+ ${MKDIR} ${PREFIX}/share/java/classes/jdictionary; fi
+ ${CP} ${WRKSRC}/jdictionary.jar \
+ ${PREFIX}/share/java/classes/jdictionary/
+ ${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary
+
+.include <bsd.port.mk>
diff --git a/textproc/jdictionary/distinfo b/textproc/jdictionary/distinfo
new file mode 100644
index 000000000000..ca994808913f
--- /dev/null
+++ b/textproc/jdictionary/distinfo
@@ -0,0 +1 @@
+MD5 (jdictionary-1_21.zip) = a188bda0ed061ea11e05319684e54cc4
diff --git a/textproc/jdictionary/files/jdictionary.sh b/textproc/jdictionary/files/jdictionary.sh
new file mode 100644
index 000000000000..c450e82176b2
--- /dev/null
+++ b/textproc/jdictionary/files/jdictionary.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec %%LOCALBASE%%/bin/javavm -jar %%PREFIX%%/share/java/classes/jdictionary/jdictionary.jar
diff --git a/textproc/jdictionary/pkg-comment b/textproc/jdictionary/pkg-comment
new file mode 100644
index 000000000000..acc83025459b
--- /dev/null
+++ b/textproc/jdictionary/pkg-comment
@@ -0,0 +1 @@
+JDictionary - Platform independent, plugin based dictionary
diff --git a/textproc/jdictionary/pkg-descr b/textproc/jdictionary/pkg-descr
new file mode 100644
index 000000000000..6cbf9afd524f
--- /dev/null
+++ b/textproc/jdictionary/pkg-descr
@@ -0,0 +1,7 @@
+JDictionary is a powerful multi platform dictionary software.
+JDictionary is plugin based, and has an easy to use plugin managment system,
+that is able to download and install the desired plugins automagically from
+the web. Installing or upgrading one or more plugins (even simultaneously)
+is just one click!
+
+WWW: http://jdictionary.info/
diff --git a/textproc/jdictionary/pkg-plist b/textproc/jdictionary/pkg-plist
new file mode 100644
index 000000000000..2230943e244c
--- /dev/null
+++ b/textproc/jdictionary/pkg-plist
@@ -0,0 +1,3 @@
+bin/jdictionary
+share/java/classes/jdictionary/jdictionary.jar
+@dirrm share/java/classes/jdictionary