aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-02-02 16:14:24 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-02-02 16:14:24 +0000
commit3479b2c38360af74fe9caffbaae1df42555e5a4b (patch)
treea680eb8f482e06c066dd3a52ae5f6d64acc8e96a /finance
parentcbc1e846aedb7df58df7577e252d3df2a2f56362 (diff)
downloadports-3479b2c38360af74fe9caffbaae1df42555e5a4b.tar.gz
ports-3479b2c38360af74fe9caffbaae1df42555e5a4b.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/Makefile1
-rw-r--r--finance/jgnash/Makefile35
-rw-r--r--finance/jgnash/distinfo3
-rw-r--r--finance/jgnash/files/jgnash2.desktop.in9
-rw-r--r--finance/jgnash/pkg-descr6
-rw-r--r--finance/jgnash/pkg-plist28
6 files changed, 82 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 1044b9677063..816866cb0fa0 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -16,6 +16,7 @@
SUBDIR += gnucash-docs
SUBDIR += grisbi
SUBDIR += homebank
+ SUBDIR += jgnash
SUBDIR += kexchange
SUBDIR += khacc
SUBDIR += kmymoney2
diff --git a/finance/jgnash/Makefile b/finance/jgnash/Makefile
new file mode 100644
index 000000000000..47321e4ed24a
--- /dev/null
+++ b/finance/jgnash/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: jgnash
+# Date created: 2009-12-27
+# Whom: Bernhard Froehlich <decke@bluelife.at>
+#
+# $FreeBSD$
+#
+
+PORTNAME= jGnash
+PORTVERSION= 2.3.3
+CATEGORIES= finance java
+MASTER_SITES= SF/jgnash/Active%20Stable%202.x/2.3.x%20Releases
+
+MAINTAINER= decke@bluelife.at
+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+
+
+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>
diff --git a/finance/jgnash/distinfo b/finance/jgnash/distinfo
new file mode 100644
index 000000000000..d8e63eaa61c9
--- /dev/null
+++ b/finance/jgnash/distinfo
@@ -0,0 +1,3 @@
+MD5 (jGnash-2.3.3.zip) = d1e5ddd09b83d04df9b6486aa84288ba
+SHA256 (jGnash-2.3.3.zip) = be655b5d51ed77e39ea541e2e82447046767902c5f9123730f6df4cb884af46d
+SIZE (jGnash-2.3.3.zip) = 12442101
diff --git a/finance/jgnash/files/jgnash2.desktop.in b/finance/jgnash/files/jgnash2.desktop.in
new file mode 100644
index 000000000000..75d14410b00b
--- /dev/null
+++ b/finance/jgnash/files/jgnash2.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=0.9.4
+Encoding=UTF-8
+Name=jGnash
+Comment=A free personal finance manager
+Exec=%%JAVA%% -jar %%DATADIR%%/jgnash2.jar
+Categories=Office;Finance;
+StartupNotify=false
diff --git a/finance/jgnash/pkg-descr b/finance/jgnash/pkg-descr
new file mode 100644
index 000000000000..1ab36a54272a
--- /dev/null
+++ b/finance/jgnash/pkg-descr
@@ -0,0 +1,6 @@
+jGnash is a free (no strings attached!) personal finance manager
+with many of the same features as commercially-available software.
+It was created in order to make tracking your personal finances easy,
+but also provides the functionality required by advanced users.
+
+WWW: http://sourceforge.net/apps/mediawiki/jgnash/index.php?title=Main_Page
diff --git a/finance/jgnash/pkg-plist b/finance/jgnash/pkg-plist
new file mode 100644
index 000000000000..e24ad597b727
--- /dev/null
+++ b/finance/jgnash/pkg-plist
@@ -0,0 +1,28 @@
+@comment $FreeBSD$
+%%DATADIR%%/jgnash2.jar
+%%DATADIR%%/lib/DynamicJasper-3.0.10.jar
+%%DATADIR%%/lib/args4j-2.0.8.jar
+%%DATADIR%%/lib/bloat-1.0.jar
+%%DATADIR%%/lib/commons-beanutils-1.7.jar
+%%DATADIR%%/lib/commons-collections-3.0.jar
+%%DATADIR%%/lib/commons-logging-1.0.2.jar
+%%DATADIR%%/lib/db4o-6.4.54.11278-java5.jar
+%%DATADIR%%/lib/db4o-6.4.54.11278-nqopt.jar
+%%DATADIR%%/lib/forms-1.2.1.jar
+%%DATADIR%%/lib/iText-2.1.4.jar
+%%DATADIR%%/lib/jGnashHelp.jar
+%%DATADIR%%/lib/jasperreports-3.5.1.jar
+%%DATADIR%%/lib/jcommon-1.0.15.jar
+%%DATADIR%%/lib/jdt-compiler-3.1.1.jar
+%%DATADIR%%/lib/jfreechart-1.0.12.jar
+%%DATADIR%%/lib/jh.jar
+%%DATADIR%%/lib/looks-2.3.0.jar
+%%DATADIR%%/lib/mina-core-1.1.7.jar
+%%DATADIR%%/lib/slf4j-api-1.4.3.jar
+%%DATADIR%%/lib/slf4j-jdk14-1.4.3.jar
+%%DATADIR%%/lib/swingx-1.6.jar
+%%DATADIR%%/lib/xstream-1.3.1.jar
+%%DESKTOPDIR%%/jgnash2.desktop
+@dirrm %%DATADIR%%/lib
+@dirrm %%DATADIR%%
+@dirrmtry %%DESKTOPDIR%%