2010-02-02 17:14:24 +01:00
|
|
|
# New ports collection makefile for: jgnash
|
|
|
|
# Date created: 2009-12-27
|
|
|
|
# Whom: Bernhard Froehlich <decke@bluelife.at>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2012-05-10 08:21:21 +02:00
|
|
|
PORTNAME= jgnash
|
2012-05-16 14:17:50 +02:00
|
|
|
PORTVERSION= 2.9.0
|
2010-02-02 17:14:24 +01:00
|
|
|
CATEGORIES= finance java
|
2012-05-16 14:17:50 +02:00
|
|
|
MASTER_SITES= SF/jgnash/Active%20Stable%202.x
|
|
|
|
DISTNAME= jgnash-${PORTVERSION}-bin
|
2010-02-02 17:14:24 +01:00
|
|
|
|
2010-04-01 14:45:37 +02:00
|
|
|
MAINTAINER= decke@FreeBSD.org
|
2010-02-02 17:14:24 +01:00
|
|
|
COMMENT= A free personal finance manager
|
|
|
|
|
2012-05-16 14:17:50 +02:00
|
|
|
WRKSRC= ${WRKDIR}/jgnash-${PORTVERSION}
|
2010-02-02 17:14:24 +01:00
|
|
|
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
|
2012-05-16 14:17:50 +02:00
|
|
|
SUB_FILES= jgnash.desktop
|
2010-02-02 17:14:24 +01:00
|
|
|
SUB_LIST= JAVA="${JAVA}"
|
|
|
|
PLIST_SUB+= DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.6+
|
2011-01-04 17:47:25 +01:00
|
|
|
JAVA_VENDOR= openjdk
|
2010-02-02 17:14:24 +01:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@${CP} ${WRKSRC}/jgnash2.jar ${DATADIR}
|
|
|
|
@${CP} -R ${WRKSRC}/lib ${DATADIR}
|
|
|
|
@${MKDIR} ${DESKTOPDIR}
|
2012-05-16 14:17:50 +02:00
|
|
|
@${CP} ${WRKDIR}/jgnash.desktop ${DESKTOPDIR}
|
2010-02-02 17:14:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|