2008-07-08 13:04:27 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= omegaT
|
2017-01-29 16:17:56 +00:00
|
|
|
DISTVERSION= 3.6.0
|
2008-07-08 13:04:27 +00:00
|
|
|
CATEGORIES= editors java x11
|
2016-02-19 20:46:30 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME:tl}/OmegaT%20-%20Standard/OmegaT%20${DISTVERSION}%20update%204/
|
|
|
|
DISTNAME= OmegaT_${DISTVERSION}_04_Source
|
2010-09-04 09:49:40 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2008-07-08 13:04:27 +00:00
|
|
|
|
2014-01-29 09:17:41 +00:00
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
2012-07-25 11:24:09 +00:00
|
|
|
COMMENT= Powerful translation memory application written in Java
|
2008-07-08 13:04:27 +00:00
|
|
|
|
2011-10-23 18:20:40 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2015-09-04 14:32:29 +00:00
|
|
|
USES= shebangfix zip
|
|
|
|
SHEBANG_FILES= release/linux-specific/OmegaT \
|
|
|
|
release/linux-specific/OmegaT-JRE \
|
|
|
|
release/linux-specific/omegat.kaptn
|
|
|
|
SHEBANG_LANG= kaptain
|
|
|
|
kaptain_OLD_CMD=/usr/bin/kaptain
|
|
|
|
kaptain_CMD= ${LOCALBASE}/bin/kaptain
|
2008-07-08 13:04:27 +00:00
|
|
|
USE_ANT= yes
|
|
|
|
USE_JAVA= yes
|
2014-05-27 15:02:49 +00:00
|
|
|
JAVA_VENDOR= openjdk
|
2011-11-17 20:16:27 +00:00
|
|
|
JAVA_VERSION= 1.7+
|
|
|
|
JAVA_BUILD= yes
|
|
|
|
JAVA_RUN= yes
|
2010-09-04 09:49:40 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
2012-08-08 14:13:17 +00:00
|
|
|
USE_LDCONFIG= ${DATADIR}/native
|
2014-12-21 09:31:55 +00:00
|
|
|
ALL_TARGET= release
|
2008-07-08 13:04:27 +00:00
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= omegaT.sh omegat.prefs
|
|
|
|
|
2009-07-24 19:02:56 +00:00
|
|
|
DESKTOP_ENTRIES="OmegaT" "Translation memory application" \
|
|
|
|
"${DATADIR}/images/OmegaT.png" \
|
2013-01-22 23:12:20 +00:00
|
|
|
"omegaT" "Office;WordProcessor;Java;" \
|
|
|
|
false
|
2010-09-04 09:49:40 +00:00
|
|
|
post-build:
|
2015-11-05 12:36:25 +00:00
|
|
|
@cd ${WRKSRC} && ${MV} 'dist' ${PORTNAME}
|
2010-09-04 09:49:40 +00:00
|
|
|
|
2008-07-08 13:04:27 +00:00
|
|
|
do-install:
|
2014-05-27 15:02:49 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
|
2015-11-05 12:36:25 +00:00
|
|
|
@cd ${WRKSRC} && ${COPYTREE_BIN} ${PORTNAME} ${STAGEDIR}${JAVASHAREDIR}
|
2014-05-27 15:02:49 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegat.prefs ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
|
2014-12-21 09:31:55 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegaT.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
2008-07-08 13:04:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|