1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/editors/omegaT/Makefile
Jung-uk Kim 5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00

51 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= omegaT
DISTVERSION= 3.6.0
PORTREVISION= 1
CATEGORIES= editors java x11
MASTER_SITES= SF/${PORTNAME:tl}/OmegaT%20-%20Standard/OmegaT%20${DISTVERSION}%20update%204/
DISTNAME= OmegaT_${DISTVERSION}_04_Source
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Powerful translation memory application written in Java
BROKEN= unfetchable
LICENSE= GPLv2
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
USE_ANT= yes
USE_JAVA= yes
JAVA_VENDOR= openjdk
JAVA_BUILD= yes
JAVA_RUN= yes
NO_WRKSUBDIR= yes
USE_LDCONFIG= ${DATADIR}/native
ALL_TARGET= release
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= omegaT.sh omegat.prefs
DESKTOP_ENTRIES="OmegaT" "Translation memory application" \
"${DATADIR}/images/OmegaT.png" \
"omegaT" "Office;WordProcessor;Java;" \
false
post-build:
@cd ${WRKSRC} && ${MV} 'dist' ${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
@cd ${WRKSRC} && ${COPYTREE_BIN} ${PORTNAME} ${STAGEDIR}${JAVASHAREDIR}
${INSTALL_SCRIPT} ${WRKDIR}/omegat.prefs ${STAGEDIR}${JAVASHAREDIR}/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/omegaT.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>