summaryrefslogtreecommitdiff
path: root/textproc/jdictionary/Makefile
blob: 8b562cb4ee07a8a754210aff2ecb3192aa85f3c5 (plain)
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
# Created by: janos.mohacsi@bsd.hu
# $FreeBSD$

PORTNAME=	jdictionary
PORTVERSION=	1.8
PORTREVISION=	4
CATEGORIES=	textproc java
MASTER_SITES=	SF/jdictionary/jDictionary/jDictionary%20version%20${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION:S,.,_,}

MAINTAINER=	jmohacsi@bsd.hu
COMMENT=	Platform independent, plugin based dictionary

RUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper

USE_JAVA=	yes
JAVA_VERSION=	1.6+

USE_ZIP=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

DATADIR=	${JAVASHAREDIR}/${PORTNAME}
SUB_FILES=	jdictionary.sh

do-install:
	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/jdictionary.jar ${DATADIR}/
	${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary

.include <bsd.port.mk>