blob: 3e7d4737037d1fa0588f3dec8fbf7655fa3d0855 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: OmegaT
# Date created: 11 May 2008
# Whom: Rodrigo OSORIO <rodrigo@bebik.net>
# $FreeBSD$
#
PORTNAME= omegaT
DISTVERSION= 2.3.0_02
PORTREVISION= 1
CATEGORIES= editors java x11
MASTER_SITES= SF/${PORTNAME:L}/OmegaT%20-%20Standard/OmegaT%202.3.0%20update%202/
DISTNAME= OmegaT_2.3.0_02_Source
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= rodrigo@bebik.net
COMMENT= A powerfull translation memory application written in Java
LICENSE= GPLv2
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
USE_ZIP= yes
USE_ANT= yes
USE_JAVA= yes
JAVA_VENDOR=openjdk
JAVA_VERSION= 1.7+
JAVA_BUILD= yes
JAVA_RUN= yes
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>
|