aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-04-27 08:26:40 +0800
committerznerd <znerd@FreeBSD.org>2002-04-27 08:26:40 +0800
commit888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb (patch)
tree272b25712f0e2f4095d6d15ffd9d62e02ee5f2c8 /textproc
parent790a56974fde1b55b74f085722bbc9ecf1139c99 (diff)
downloadfreebsd-ports-gnome-888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb.tar.gz
freebsd-ports-gnome-888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb.tar.zst
freebsd-ports-gnome-888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb.zip
New port: textproc/jdictionary.
PR: 37398 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-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
7 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9e7e3e7e5bf6..2f662a32ca89 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -86,6 +86,7 @@
SUBDIR += ispell
SUBDIR += jade
SUBDIR += java2html
+ SUBDIR += jdictionary
SUBDIR += jing
SUBDIR += jrefentry
SUBDIR += kbedic
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