editors/omegaT: resurrect and upgrade to 6.0.0.

Resurect and upgrade omegaT, a free translation memory tool

PR:		272644
Reported by:	thierry
2024Q1
Rodrigo Osorio 2023-11-02 14:06:09 +01:00
parent b2ca9d3f6b
commit 3bbcc9393b
6 changed files with 1678 additions and 1 deletions

1
MOVED
View File

@ -4122,7 +4122,6 @@ dns/autotrust||2020-05-05|Has expired: Broken for more than 6 months
dns/gdnsd||2020-05-05|Has expired: Broken for more than 6 months
dns/p5-Stanford-DNSserver||2020-05-05|Has expired: Broken for more than 6 months
dns/zonecheck||2020-05-05|Has expired: Broken for more than 6 months
editors/omegaT||2020-05-05|Has expired: Broken for more than 6 months
finance/cbb||2020-05-05|Has expired: Broken for more than 6 months
ftp/llnlxdir||2020-05-05|Has expired: Broken for more than 6 months
ftp/llnlxftp||2020-05-05|Has expired: Broken for more than 6 months

View File

@ -223,6 +223,7 @@
SUBDIR += novelwriter
SUBDIR += nvi-m17n
SUBDIR += nvi2
SUBDIR += omegaT
SUBDIR += openoffice-4
SUBDIR += openoffice-devel
SUBDIR += orbiton

48
editors/omegaT/Makefile Normal file
View File

@ -0,0 +1,48 @@
PORTNAME= omegaT
DISTVERSION= 6.0.0
CATEGORIES= editors java x11
MASTER_SITES= SF/${PORTNAME:tl}/OmegaT%20-%20Standard/OmegaT%20${DISTVERSION}/
DISTNAME= OmegaT_${DISTVERSION}_Without_JRE
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Powerful translation memory application written in Java
WWW= https://omegat.org/
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
USES= desktop-file-utils shebangfix zip
USE_JAVA= yes
JAVA_VERSION= 11
JAVA_VENDOR= openjdk
JAVA_RUN= yes
SHEBANG_FILES= linux-install.sh OmegaT omegat.kaptn
SHEBANG_LANG= kaptain
kaptain_OLD_CMD= /usr/bin/kaptain
kaptain_CMD= ${LOCALBASE}/bin/kaptain # removed on 2019-03-16
NO_ARCH= yes
NO_BUILD= yes
ICON_SIZES= 32 128 256 512
pre-configure:
${REINPLACE_CMD} -e 's|"java"|${JAVA}|' ${WRKSRC}/OmegaT
do-install:
${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DESKTOPDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
${CHMOD} a+x ${STAGEDIR}${DATADIR}/OmegaT
${RLN} ${STAGEDIR}${DATADIR}/OmegaT ${STAGEDIR}${PREFIX}/bin/omegat
#${RLN} ${STAGEDIR}${DATADIR}/omegat.kaptn ${STAGEDIR}${PREFIX}/bin
${MV} ${STAGEDIR}${DATADIR}/omegat.desktop ${STAGEDIR}${DESKTOPDIR}
.for sz in ${ICON_SIZES}
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps
${CP} -p ${STAGEDIR}${DATADIR}/images/OmegaT.iconset/icon_${sz}x${sz}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${sz}x${sz}/apps/omegat.png
.endfor
.include <bsd.port.mk>

3
editors/omegaT/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1689943308
SHA256 (omegaT/OmegaT_6.0.0_Without_JRE.zip) = 76c6d3e62b9906e7542f82b0e2b76f8b8cbdf2672f9d8363f6346f0b9c09a182
SIZE (omegaT/OmegaT_6.0.0_Without_JRE.zip) = 184475618

5
editors/omegaT/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
OmegaT is a free translation memory application written in Java.
It does not translate for you, but help you during the translation process.
This tool is intended for professional translators.
See also: https://github.com/omegat-org/omegat

1621
editors/omegaT/pkg-plist Normal file

File diff suppressed because it is too large Load Diff