summaryrefslogtreecommitdiff
path: root/finance/xfinans
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-12-11 13:53:25 +0000
committerwiz <wiz@pkgsrc.org>2000-12-11 13:53:25 +0000
commit6d5ed9569d114d6fccff4d49b3ddc1f9cfef146f (patch)
treef3e3f27ce227b4b22e4501e1918d8c0730db34c5 /finance/xfinans
parent6c06179a66948178d802b9e3249161df3a3dcc2b (diff)
downloadpkgsrc-6d5ed9569d114d6fccff4d49b3ddc1f9cfef146f.tar.gz
Moved misc/emma, misc/gnucash, misc/tclticker, misc/xfinans, misc/xinvest,
and x11/xquote to new finance category; only change is addition of 'finance' to CATEGORIES in the Makefiles.
Diffstat (limited to 'finance/xfinans')
-rw-r--r--finance/xfinans/Makefile35
-rw-r--r--finance/xfinans/files/md53
-rw-r--r--finance/xfinans/files/patch-sum3
-rw-r--r--finance/xfinans/patches/patch-aa23
-rw-r--r--finance/xfinans/pkg/COMMENT1
-rw-r--r--finance/xfinans/pkg/DESCR7
-rw-r--r--finance/xfinans/pkg/PLIST17
7 files changed, 89 insertions, 0 deletions
diff --git a/finance/xfinans/Makefile b/finance/xfinans/Makefile
new file mode 100644
index 00000000000..84c5eaf0832
--- /dev/null
+++ b/finance/xfinans/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $
+#
+
+DISTNAME= xfinans-5.9
+WRKSRC= ${WRKDIR}/Xfinans/Src
+CATEGORIES= finance x11
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=apps/financial/accounting/}
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.cs.auc.dk/~lupus/xfinans.html
+
+DEPENDS= gnuplot-3.7:../../graphics/gnuplot
+
+USE_IMAKE= yes
+
+post-patch:
+ ${TOUCH} ${WRKSRC}/xfinans.man
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/examples/Xfinans
+ ${MKDIR} ${PREFIX}/share/doc/Xfinans
+ ${CP} ${WRKSRC}/../XFinans.defaults ${PREFIX}/lib/X11/app-defaults/XFinans
+ ${CP} ${WRKSRC}/../*.acc ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../xfin.ps ${PREFIX}/share/doc/Xfinans
+ ${CP} ${WRKSRC}/../README ${PREFIX}/share/doc/Xfinans
+ ${CP} ${WRKSRC}/../INSTALL ${PREFIX}/share/doc/Xfinans
+ ${CP} ${WRKSRC}/../hyperhelp ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../hyperhelp.index ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../finans.bkd ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../variables ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../categories ${PREFIX}/share/examples/Xfinans
+ ${CP} ${WRKSRC}/../category_engine ${PREFIX}/share/examples/Xfinans
+ ${RM} ${PREFIX}/man/cat1/xfinans.0
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/finance/xfinans/files/md5 b/finance/xfinans/files/md5
new file mode 100644
index 00000000000..75762fc3777
--- /dev/null
+++ b/finance/xfinans/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $
+
+MD5 (xfinans-5.9.tar.gz) = 312a58598f0b2f1694ece161e3d9b77e
diff --git a/finance/xfinans/files/patch-sum b/finance/xfinans/files/patch-sum
new file mode 100644
index 00000000000..7d0994d66b2
--- /dev/null
+++ b/finance/xfinans/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $
+
+MD5 (patch-aa) = e44b08d0915b77557af8849441955f3f
diff --git a/finance/xfinans/patches/patch-aa b/finance/xfinans/patches/patch-aa
new file mode 100644
index 00000000000..ad2ea82e743
--- /dev/null
+++ b/finance/xfinans/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $
+--- date.c.orig Tue Jan 4 14:24:18 2000
++++ date.c Tue Jan 4 14:24:24 2000
+@@ -162,6 +162,8 @@
+ yr assumed w/in +/- 50 years from current time if < 100.
+ gives clean method for handling 2-digit year input.
+ */
++ if( yr > 99 && yr < MIN_YEAR) /* y2k */
++ yr -= 100;
+ if( yr < 100 ) {
+
+ if( yr <= this_year() - 50 )
+@@ -399,9 +401,8 @@
+ now /= 3600; /* convert to hours */
+ now /= 24; /* convert to days */
+ now /= 365.25; /* convert to years */
+- now /= 100; /* convert to centurys */
+-
+ now += 1970; /* from offset to absolute */
++/* now /= 100; /* convert to centurys */
+ century = now - (now % 100); /* round to nearest 100 */
+ }
+
diff --git a/finance/xfinans/pkg/COMMENT b/finance/xfinans/pkg/COMMENT
new file mode 100644
index 00000000000..535d7a65a80
--- /dev/null
+++ b/finance/xfinans/pkg/COMMENT
@@ -0,0 +1 @@
+Xfinans is a useful financial tracking, and account balancing tool
diff --git a/finance/xfinans/pkg/DESCR b/finance/xfinans/pkg/DESCR
new file mode 100644
index 00000000000..732d0fbafbe
--- /dev/null
+++ b/finance/xfinans/pkg/DESCR
@@ -0,0 +1,7 @@
+Xfinance allows you to set up multiple accounts and categories of
+transactions. It is ideal for keeping watch over checking, savings and
+401k type accounts. It's also good for keeping tabs on your credit card
+balances. It has graphing functions built in that allow it to generate
+graphs with gnuplot.
+
+port-by: Tim Rightnour
diff --git a/finance/xfinans/pkg/PLIST b/finance/xfinans/pkg/PLIST
new file mode 100644
index 00000000000..fe98b4d28c8
--- /dev/null
+++ b/finance/xfinans/pkg/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/11 13:53:25 wiz Exp $
+bin/xfinans
+share/examples/Xfinans/hyperhelp
+share/examples/Xfinans/hyperhelp.index
+share/examples/Xfinans/finans.bkd
+share/examples/Xfinans/variables
+share/examples/Xfinans/categories
+share/examples/Xfinans/category_engine
+share/examples/Xfinans/check.acc
+share/examples/Xfinans/giro.acc
+share/examples/Xfinans/savings.acc
+share/doc/Xfinans/xfin.ps
+share/doc/Xfinans/README
+share/doc/Xfinans/INSTALL
+lib/X11/app-defaults/XFinans
+@dirrm share/examples/Xfinans
+@dirrm share/doc/Xfinans