e71fd4ec3f
- Change MASTER_SITES to not break when a new release comes out [1] - Follow changed name from jgnash2 to jgnash Reported by: pointyhat (via pav) [1]
38 lines
827 B
Makefile
38 lines
827 B
Makefile
# New ports collection makefile for: jgnash
|
|
# Date created: 2009-12-27
|
|
# Whom: Bernhard Froehlich <decke@bluelife.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jgnash
|
|
PORTVERSION= 2.9.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} ${DATADIR}
|
|
@${CP} ${WRKSRC}/jgnash2.jar ${DATADIR}
|
|
@${CP} -R ${WRKSRC}/lib ${DATADIR}
|
|
@${MKDIR} ${DESKTOPDIR}
|
|
@${CP} ${WRKDIR}/jgnash.desktop ${DESKTOPDIR}
|
|
|
|
.include <bsd.port.mk>
|