aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/jdictionary/Makefile
blob: 9b8e1fbea71bc9b903a15402542ee638004225e5 (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
# New ports collection makefile for:    jdictionary
# Date created:         23.04.2002
# Whom:                 janos.mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=   jdictionary
PORTVERSION=    1.8
PORTREVISION=   1
CATEGORIES= textproc java
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=jdictionary
DISTNAME=   jdictionary-1_8

MAINTAINER= janos.mohacsi@bsd.hu
COMMENT=    JDictionary - Platform independent, plugin based dictionary

RUN_DEPENDS=    javavm:${PORTSDIR}/java/javavmwrapper \
        ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jdk13

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

do-configure:
    @${SED} "s|%%PREFIX%%|${PREFIX}|g ; s|%%LOCALBASE%%|${LOCALBASE}|g" \
        ${FILESDIR}/jdictionary.sh > ${WRKDIR}/jdictionary.sh

do-install:
    @if [ ! -d ${PREFIX}/share/java/classes/jdictionary ]; then \
        ${MKDIR} ${PREFIX}/share/java/classes/jdictionary; fi
    ${CP} ${WRKSRC}/jdictionary.jar                                \
        ${PREFIX}/share/java/classes/jdictionary/
    ${INSTALL_SCRIPT} ${WRKDIR}/jdictionary.sh ${PREFIX}/bin/jdictionary

.include <bsd.port.mk>