pkgsrc/editors/OmegaT/Makefile
ryoon d93cc23bc8 Update to 2.5.2.02
Changelog:
----------------------------------------------------------------------
 OmegaT 2.5.2 update 2
----------------------------------------------------------------------
   1 Enhancement
   5 Bug fixes
   1 Localisation update
----------------------------------------------------------------------
2.5.2 update 2 vs. 2.5.2

  - The writeable glossary file can now have a .utf8 extension instead
of a .txt one, .txt being still the default

  Bug fixes:

  - When using Remove Tags, some non-OmegaT tags (e.g., %s, depending on
the kind of tags checked in Options > Tag Validation) and some
non-useful spaces could be copied at the end of the segment in the target
document

  - In some rare circumstances, the display of matches in the Fuzzy Matches
pane could be very slow

  - When the Fuzzy Matches pane was closed, the explanation text was
displayed in bold instead of the initial non-bold attribute

  - In TMXs, the end of line was hardcoded as LF, instead of using the
system line separator (e.g., CR+LF under Windows, LF under Linux)

  - In the Android filter, the "do not translate" mark has been corrected

  Localisation updates:

  - Dutch localisation updated to 2.5.2 (UI)

----------------------------------------------------------------------
 OmegaT 2.5.2 update 1
----------------------------------------------------------------------
   0 Enhancement
   1 Bug fix
   0 Localisation update
----------------------------------------------------------------------
2.5.2 update 1 vs. 2.5.2

  Bug fixes:

  - When the glossary folder wasn't in the default location, the
default writeable glossary file wasn't computed correctly. In addition,
the name of the glossary file was lost on saving when a manual correction
was done in project properties.

----------------------------------------------------------------------
 OmegaT 2.5.2
----------------------------------------------------------------------
   8 Enhancements
   2 Bug fixes
   5 Localisation updates
----------------------------------------------------------------------
2.5.2 vs. 2.5.1 update 1

  Implemented requests:

  - Show non-breakable space
  http://sourceforge.net/support/tracker.php?aid=3495779

  - Use search term as window title in Search window
  http://sourceforge.net/support/tracker.php?aid=2610094

  - Clarification of the Options > Spell Checking... dialog
  http://sourceforge.net/support/tracker.php?aid=3473630

  - Selectable location for the writeable glossary file
  http://sourceforge.net/support/tracker.php?aid=3503373

  - Second plugin location in <home>/plugins
  http://sourceforge.net/support/tracker.php?aid=3428485

  Other enhancements:

  - Add explanatory messages to windows as hints when no project is open

  - Segments containing a note can be marked with View >
Mark Segments with Notes. This marking has priority over Mark Translated
and Mark Untranslated.

  - Display of the corresponding colours in the View menu for "Mark"
menu entries

  Bug fixes:

  - In the PO filter, "path" was always displayed in the Comment pane,
even if it was empty

  - When using Insert Source Tags, a space was added before the first one

  Localisation updates:

  - Simplified Chinese localisation updated to 2.5.0 (UI, readme, documentation)
  - Italian localisation updated to 2.5.1 (UI)
  - Dutch localisation updated to 2.5.1 (UI)
  - Japanese localisation updated to 2.5.1 (UI)
  - Slovenian localisation updated to 2.5.2 (UI)
2012-04-08 19:29:46 +00:00

72 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2012/04/08 19:29:46 ryoon Exp $
#
DISTNAME= OmegaT_2.5.2_02_Beta_Source
PKGNAME= ${DISTNAME:S/OmegaT_/OmegaT-/:S/_Source//: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
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
USE_JAVA= run
USE_JAVA2= yes
BUILD_DEPENDS+= apache-ant-[0-9]*:../../devel/apache-ant
USE_TOOLS+= pax
FIND_PREFIX:= ANTDIR=apache-ant
.include "../../mk/find-prefix.mk"
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'
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-build:
cd ${WRKSRC} \
&& env ${MAKE_ENV} \
${ANTDIR}/bin/ant jar release
do-install:
${INSTALL_DATA} ${WRKSRC}/dist/*txt \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
${INSTALL_DATA} ${WRKSRC}/dist/*html \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
${INSTALL_DATA} ${WRKSRC}/dist/OmegaT.jar \
${DESTDIR}${PREFIX}/${OMEGATDIR}
cd ${WRKSRC}/dist/docs && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}
${INSTALL_DATA} ${WRKSRC}/dist/images/* \
${DESTDIR}${PREFIX}/${OMEGATDOCDIR}/images
${INSTALL_DATA} ${WRKSRC}/dist/lib/* \
${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"