mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
ed62b74be6
was added to mtree (Templates/BSD.local.dist) in r331266 2.5 years ago, and fix some minor bogosities nearby.
36 lines
800 B
Makefile
36 lines
800 B
Makefile
# 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}
|
|
@${CP} ${WRKDIR}/jgnash.desktop ${STAGEDIR}${DESKTOPDIR}
|
|
|
|
.include <bsd.port.mk>
|