freebsd-ports/editors/omegaT/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Rodrigo OSORIO <rodrigo@FreeBSD.org>
# $FreeBSD$
PORTNAME= omegaT
DISTVERSION= 2.6.3_01
PORTREVISION= 1
CATEGORIES= editors java x11
MASTER_SITES= SF/${PORTNAME:tl}/OmegaT%20-%20Standard/OmegaT%202.6.3%20update%201/
DISTNAME= OmegaT_2.6.3_01_Source
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= rodrigo@FreeBSD.org
COMMENT= Powerful translation memory application written in Java
LICENSE= GPLv2
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USES= zip
USE_ANT= yes
USE_JAVA= yes
JAVA_VENDOR=openjdk
JAVA_VERSION= 1.7+
JAVA_BUILD= yes
JAVA_RUN= yes
NO_WRKSUBDIR= yes
USE_LDCONFIG= ${DATADIR}/native
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= omegaT.sh omegat.prefs
DESKTOP_ENTRIES="OmegaT" "Translation memory application" \
"${DATADIR}/images/OmegaT.png" \
"omegaT" "Office;WordProcessor;Java;" \
false
NO_STAGE= yes
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>