blob: 186f620367760d094c64e11c1aafee4e73cc5e1d (
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>
# $FreeBSD$
PORTNAME= jgnash
PORTVERSION= 2.13.0
CATEGORIES= finance java
MASTER_SITES= SF/jgnash/Active%20Stable%202.x
DISTNAME= jgnash-${PORTVERSION}-bin
MAINTAINER= decke@FreeBSD.org
COMMENT= A free personal finance manager
WRKSRC= ${WRKDIR}/jgnash-${PORTVERSION}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jgnash.desktop
SUB_LIST= JAVA="${JAVA}"
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}
USE_ZIP= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_VENDOR= openjdk
NO_BUILD= 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>
|