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

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

MAINTAINER= janos.mohacsi@bsd.hu

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>