blob: 3581f2833a90319d4e99ef3123f5ca45194a088f (
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
|
# Created by: Bernhard Froehlich <decke@bluelife.at>
# $FreeBSD$
PORTNAME= jgnash
PORTVERSION= 2.21.0
CATEGORIES= finance java
MASTER_SITES= SF/jgnash/Active%20Stable%202.x
DISTNAME= jgnash-${PORTVERSION}-bin
MAINTAINER= ports@FreeBSD.org
COMMENT= Free personal finance manager
LICENSE= GPLv3
WRKSRC= ${WRKDIR}/jgnash-${PORTVERSION}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jgnash.desktop
SUB_LIST= JAVA="${JAVA}"
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}
USES= zip
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VENDOR= openjdk
NO_BUILD= yes
NO_ARCH= yes
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@${CP} ${WRKSRC}/jgnash2.jar ${STAGEDIR}${DATADIR}
@${CP} -R ${WRKSRC}/lib ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
@${CP} ${WRKDIR}/jgnash.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
|