06e6677793
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# New ports collection makefile for: OmegaT
|
|
# Date created: 11 May 2008
|
|
# Whom: Rodrigo OSORIO <rodrigo@bebik.net>
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= omegaT
|
|
DISTVERSION= 2.0.5_04
|
|
CATEGORIES= editors java x11
|
|
MASTER_SITES= SF/${PORTNAME:L}/OmegaT%202.0%20%28Current%29/OmegaT%202.0.5%20update%204
|
|
DISTNAME= OmegaT_2.0.5_04_Source
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= rodrigo@bebik.net
|
|
COMMENT= A powerfull translation memory application written in Java
|
|
|
|
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
USE_ZIP= yes
|
|
USE_ANT= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.5+
|
|
NO_WRKSUBDIR= yes
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
SUB_FILES= omegaT.sh omegat.prefs
|
|
|
|
DESKTOP_ENTRIES="OmegaT" "Translation memory application" \
|
|
"${DATADIR}/images/OmegaT.png" \
|
|
"omegaT" "Application;Office;WordProcessor;" \
|
|
false
|
|
|
|
post-build:
|
|
@cd ${WRKDIR} && ${MV} 'dist' ${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegaT.sh ${PREFIX}/bin/${PORTNAME}
|
|
@cd ${WRKDIR} && ${COPYTREE_BIN} ${PORTNAME} ${JAVASHAREDIR}/
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegat.prefs ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|