summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-04-27 00:26:40 +0000
committerznerd <znerd@FreeBSD.org>2002-04-27 00:26:40 +0000
commit888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb (patch)
tree272b25712f0e2f4095d6d15ffd9d62e02ee5f2c8 /textproc
parent790a56974fde1b55b74f085722bbc9ecf1139c99 (diff)
downloadFreeBSD-ports-888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb.zip
FreeBSD-ports-888aa3181d545f8d87a2b9a08bdf74b2ae9c96bb.tar.gz
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 9e7e3e7..2f662a3 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 0000000..345630b
--- /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 0000000..ca99480
--- /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 0000000..c450e82
--- /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 0000000..acc8302
--- /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 0000000..6cbf9af
--- /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 0000000..2230943e
--- /dev/null
+++ b/textproc/jdictionary/pkg-plist
@@ -0,0 +1,3 @@
+bin/jdictionary
+share/java/classes/jdictionary/jdictionary.jar
+@dirrm share/java/classes/jdictionary
OpenPOWER on IntegriCloud