pkgsrc/editors/OmegaT/Makefile
ryoon 29ecddb392 OmegaT: Update to 5.2.0
Changelog:
OmegaT 5.2.0 brings 3 enhancements, 6 bug fixes, and 7 localization updates vs 5.1.0.

The TMX 'tuid' attribute is now supported as a segment ID for matching purposes. It is also included in the exported level-2 TMX.

Matching accuracy for tags in level-2 TMXs is improved.

Bugs in the following features were fixed:

    Saving LanguageTool settings
    The Moodle PHP filter
    MyMemory machine translation

The Brazilian Portuguese, Dutch, French, Italian, Simplified Chinese, and Turkmen localizations were updated. A new Finnish localization was added.

The OmegaT Project always welcomes developers, localizers and users to contribute their experience, knowledge and insights to the software we release.


OmegaT 5.1.0 brings the Mac and Windows packaging fixes from 4.3.1, plus 2 enhancements.

The Mac distribution has fixes for macOS 10.15 "Catalina". The Windows version has fixes for the installer. See here for details:
https://sourceforge.net/p/omegat/news/2019/11/omegat-standard-version-431-released/

You can now specify the server to connect to in the Apertium MT connector.

In the Glossary pane, tooltips on glossary entries reveal the files they originated from.

The Belarusian, Czech, Dutch, Italian, Russian, Turkish, and Ukranian localisations were updated.
2020-04-17 11:05:44 +00:00

64 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2020/04/17 11:05:44 ryoon Exp $
#
DISTNAME= OmegaT_5.2.0_Beta_Without_JRE
PKGNAME= ${DISTNAME:S/OmegaT_/OmegaT-/:S/_Without_JRE//:S/_Beta//:S/_/./g}
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=omegat/}
EXTRACT_SUFX= .zip
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.omegat.org/
COMMENT= The translation memory (TM) application written in Java
LICENSE= gnu-gpl-v2
USE_LANGUAGES= # none
USE_JAVA= yes
USE_JAVA2= 8
NO_BUILD= yes
USE_TOOLS+= pax
SUBST_CLASSES+= fix-omegat
SUBST_STAGE.fix-omegat= pre-configure
SUBST_MESSAGE.fix-omegat= fixing pathes
SUBST_FILES.fix-omegat= OmegaT
SUBST_SED.fix-omegat= -e 's,@OMEGATDIR@,${PREFIX}/${OMEGATDIR},g'
SUBST_SED.fix-omegat+= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME},g'
REPLACE_SH= OmegaT
OMEGATDIR= share/OmegaT
OMEGATDOCDIR= share/doc/OmegaT
INSTALLATION_DIRS= bin \
${OMEGATDIR} \
${OMEGATDIR}/lib \
${OMEGATDOCDIR} \
${OMEGATDOCDIR}/images
pre-patch:
${INSTALL_DATA} ${FILESDIR}/OmegaT.in ${WRKSRC}/OmegaT
do-install:
${INSTALL_DATA} ${WRKSRC}/*txt \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
${INSTALL_DATA} ${WRKSRC}/*html \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
${INSTALL_DATA} ${WRKSRC}/OmegaT.jar \
${DESTDIR}${PREFIX}/${OMEGATDIR}
cd ${WRKSRC}/docs && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
cd ${WRKSRC}/images && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}/images
${INSTALL_DATA} ${WRKSRC}/lib/*.txt \
${DESTDIR}${PREFIX}/${OMEGATDIR}/lib
${INSTALL_DATA} ${WRKSRC}/lib/*.jar \
${DESTDIR}${PREFIX}/${OMEGATDIR}/lib
${INSTALL_DATA} ${FILESDIR}/omegat.prefs \
${DESTDIR}${PREFIX}/${OMEGATDIR}
${INSTALL_SCRIPT} ${WRKSRC}/OmegaT ${DESTDIR}${PREFIX}/bin
.include "../../mk/java-env.mk"
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"