aboutsummaryrefslogtreecommitdiff
path: root/textproc/jdictionary/Makefile.plugin
blob: c2d412c4b13b5e79d6ade2de12d7fb11e3a6fcaf (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
# Created by: hq@FreeBSD.org
# $FreeBSD$

EXTRACT_SUFX=	#

MAINTAINER?=	jmohacsi@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.6+

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

DATADIR=	${JAVASHAREDIR}/jdictionary/Plugins

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

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

.include <bsd.port.mk>