aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/jdictionary/Makefile.plugin
blob: 1e08f254884fe9673c51618c643192c6861a1647 (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
# New ports collection makefile for:    jdictionary (plugins)
# Date created:             15.12.2004
# Whom:                 hq@FreeBSD.org
#
# $FreeBSD$
#

MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= jdictionary
EXTRACT_SUFX=   #

MAINTAINER?=    janos.mohacsi@bsd.hu
COMMENT?=   JDictionary plugin master port

RUN_DEPENDS+=   jdictionary:${PORTSDIR}/textproc/jdictionary

# WARNING: USE_JAVA is set to be able to use JAVASHAREDIR.
#          Please make sure that JAVA_VERSION here is the same as in Makefile.
USE_JAVA=   yes
JAVA_VERSION=   1.3+

EXTRACT_CMD=    ${CP}
EXTRACT_BEFORE_ARGS=    #
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD=   yes

DATADIR=    ${JAVASHAREDIR}/jdictionary/Plugins

PLIST=      ${MASTERDIR}/pkg-plist.plugin
MD5_FILE=   ${.CURDIR}/distinfo
DESCR=      ${.CURDIR}/pkg-descr
PLIST_SUB+= DISTNAME=${DISTNAME}

do-install:
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${DATADIR}/

.include <bsd.port.mk>