aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/jalingo/Makefile
blob: 686af03286489f520f7d4c50badbb9e720c641a4 (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
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jalingo
PORTVERSION=    0.6.0
PORTREVISION=   2
#PORTREVISION=  0
CATEGORIES= textproc java
MASTER_SITES=   SF/${PORTNAME}/JaLingo/${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Free OS independent dictionary application

LICENSE=    GPLv2

USES=       7z
USE_ANT=    yes
USE_JAVA=   yes
JAVA_VERSION=   1.6+

ALL_TARGET= dist

SUB_FILES=  ${PORTNAME}
SUB_LIST=   JALINGOJAR=${JALINGOJAR}
PLIST_SUB=  JALINGOJAR=${JALINGOJAR}

DATADIR=    ${JAVASHAREDIR}/${PORTNAME}

JALINGOJAR= ${PORTNAME}.jar

do-install:
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/dist/${JALINGOJAR} ${STAGEDIR}${DATADIR}/${JALINGOJAR}
    ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>