2008-07-08 15:04:27 +02:00
|
|
|
# New ports collection makefile for: OmegaT
|
|
|
|
# Date created: 11 May 2008
|
|
|
|
# Whom: Rodrigo OSORIO <rodrigo@bebik.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= omegaT
|
2008-11-10 08:37:37 +01:00
|
|
|
PORTVERSION= 1.7.3.4
|
2008-07-08 15:04:27 +02:00
|
|
|
CATEGORIES= editors java x11
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= omegat
|
2008-11-10 08:37:37 +01:00
|
|
|
DISTNAME= OmegaT_1.7.3_04_Source
|
2008-07-08 15:04:27 +02:00
|
|
|
|
|
|
|
MAINTAINER= rodrigo@bebik.net
|
|
|
|
COMMENT= A powerfull translation memory application written in Java
|
|
|
|
|
|
|
|
RUN_DEPENDS= java:${PORTSDIR}/java/javavmwrapper
|
|
|
|
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
USE_ANT= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.2+
|
2008-07-08 15:54:38 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2008-07-08 15:04:27 +02:00
|
|
|
|
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= omegaT.sh omegat.prefs
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegaT.sh ${PREFIX}/bin/${PORTNAME}
|
2008-07-08 15:54:38 +02:00
|
|
|
@cd ${WRKDIR}/${PORTNAME} && ${COPYTREE_SHARE} \* ${JAVASHAREDIR}/${PORTNAME}
|
2008-07-08 15:04:27 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/omegat.prefs ${JAVASHAREDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@cd ${WRKDIR} && ${MV} 'dist' ${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|