JaLingo is a free OS independent dictionary application.

It understands 4 dictionary formats:

    * DSL
    * Mova
    * PtkDict/phpMyLingvo MySQL dumps
    * Sdictionary (249)

WWW:	http://jalingo.sourceforge.net/
This commit is contained in:
Nicola Vitale 2007-03-21 20:40:44 +00:00
parent f1c64ff7d5
commit 865494d31d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187933
6 changed files with 68 additions and 0 deletions

View File

@ -227,6 +227,7 @@
SUBDIR += jade
SUBDIR += jakarta-commons-digester
SUBDIR += jakarta-poi
SUBDIR += jalingo
SUBDIR += java2html
SUBDIR += javacc
SUBDIR += jaxup

46
textproc/jalingo/Makefile Normal file
View File

@ -0,0 +1,46 @@
# New ports collection makefile for: jalingo
# Date created: 2007-03-17
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jalingo
PORTVERSION= 0.6.0
#PORTREVISION= 0
CATEGORIES= textproc java
MASTER_SITES= SFE
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
EXTRACT_SUFX= .7z
MAINTAINER= nivit@FreeBSD.org
COMMENT= A free OS indipendent dictionary application
EXTRACT_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
USE_ANT= yes
USE_JAVA= yes
JAVA_VERSION= 1.5+
ALL_TARGET= dist
P7ZIP_CMD= ${LOCALBASE}/bin/7z
P7ZIP_ARGS= x -o${WRKDIR}
SUB_FILES= ${PORTNAME}
SUB_LIST= JALINGOJAR=${JALINGOJAR}
PLIST_SUB= JALINGOJAR=${JALINGOJAR}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
JALINGOJAR= ${PORTNAME}.jar
do-extract:
@${MKDIR} ${WRKDIR} && ${P7ZIP_CMD} ${P7ZIP_ARGS} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dist/${JALINGOJAR} ${DATADIR}/${JALINGOJAR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (jalingo-0.6.0-src.7z) = ef0142d43353bd0b4b6ba56210c07670
SHA256 (jalingo-0.6.0-src.7z) = 58f02c271ed18fe4d89cb53a9f92df989dff312effdfb0287142c53b9ec35a8f
SIZE (jalingo-0.6.0-src.7z) = 1255680

View File

@ -0,0 +1,4 @@
#!/bin/sh
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" \
exec "%%LOCALBASE%%/bin/java" -jar %%DATADIR%%/%%JALINGOJAR%% "$@"

View File

@ -0,0 +1,10 @@
JaLingo is a free OS independent dictionary application.
It understands 4 dictionary formats:
* DSL
* Mova
* PtkDict/phpMyLingvo MySQL dumps
* Sdictionary (249)
WWW: http://jalingo.sourceforge.net/

View File

@ -0,0 +1,4 @@
@comment $FreeBSD$
bin/jalingo
%%DATADIR%%/%%JALINGOJAR%%
@dirrm %%DATADIR%%