1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/finance/jgnash/Makefile
Bernhard Froehlich 1b3472eddf - Update to 2.5.1
- Switch to OpenJDK as it does not work with diablo anymore
- Remove MD5 checksum
2011-01-04 16:47:25 +00:00

37 lines
800 B
Makefile

# New ports collection makefile for: jgnash
# Date created: 2009-12-27
# Whom: Bernhard Froehlich <decke@bluelife.at>
#
# $FreeBSD$
#
PORTNAME= jGnash
PORTVERSION= 2.5.1
CATEGORIES= finance java
MASTER_SITES= SF/jgnash/Active%20Stable%202.x/2.5.x%20Releases
MAINTAINER= decke@FreeBSD.org
COMMENT= A free personal finance manager
WRKSRC= ${WRKDIR}/${PORTNAME}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= jgnash2.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} ${DATADIR}
@${CP} ${WRKSRC}/jgnash2.jar ${DATADIR}
@${CP} -R ${WRKSRC}/lib ${DATADIR}
@${MKDIR} ${DESKTOPDIR}
@${CP} ${WRKDIR}/jgnash2.desktop ${DESKTOPDIR}
.include <bsd.port.mk>