blob: e442d379a2cb3759efd0d6a5df1dc6100e29ec90 (
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
|
# Created by: Bernhard Froehlich <decke@bluelife.at>
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_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}
@${CP} ${WRKDIR}/jgnash.desktop ${STAGEDIR}${DESKTOPDIR}
.include <bsd.port.mk>
|