diff --git a/misc/cbb/Makefile b/misc/cbb/Makefile new file mode 100644 index 00000000000..66addc4d419 --- /dev/null +++ b/misc/cbb/Makefile @@ -0,0 +1,29 @@ +# OpenBSD makefile for: cbb +# Version required: 0.73 +# Date created: May 20 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 07:27:47 angelos Exp $ +# + +DISTNAME= cbb-0.73 +CATEGORIES= misc tk80 +MASTER_SITES= ftp://ftp.me.umn.edu/pub/finance/ \ + ftp://ftp.fifi.org/pub/cbb/ + +MAINTAINER= angelos@openbsd.org + +# extern.conf could easily be patched to use `plan' over `ical' +RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80 \ + ical:${PORTSDIR}/misc/ical +LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80 + +NO_BUILD= yes +USE_PERL5= yes + +pre-configure: + ${MV} ${WRKSRC}/install.pl ${WRKSRC}/install.pl.in + ${SED} -e "s:/usr/local:${PREFIX}:" -e "s:lib/cbb:share/cbb:" \ + ${WRKSRC}/install.pl.in > ${WRKSRC}/install.pl + +.include diff --git a/misc/cbb/files/md5 b/misc/cbb/files/md5 new file mode 100644 index 00000000000..3fd51da29a7 --- /dev/null +++ b/misc/cbb/files/md5 @@ -0,0 +1 @@ +MD5 (cbb-0.73.tar.gz) = 44136bed0611b0d629d920fcfcc0e82c diff --git a/misc/cbb/patches/patch-01 b/misc/cbb/patches/patch-01 new file mode 100644 index 00000000000..5be7eb2833d --- /dev/null +++ b/misc/cbb/patches/patch-01 @@ -0,0 +1,20 @@ +--- Makefile.orig Thu Jun 12 14:57:50 1997 ++++ Makefile Fri Oct 10 20:52:22 1997 +@@ -26,14 +26,15 @@ + + CBB_ROOT = cbb-0.73 + TAR = tar +-PERL = perl ++PERL = /usr/bin/perl + + + all: + @echo "Nothing is needed to build in advance of 'make install'" + + install: +- $(PERL) install.pl ++ $(PERL) install.pl --prefix ${PREFIX} --libdir ${PREFIX}/share/cbb \ ++ --perlpath /usr/bin/perl --wishpath ${PREFIX}/bin/wish8.0 + + docs/cbb-man.dvi: docs/cbb-man.tex + (cd docs; \ diff --git a/misc/cbb/patches/patch-02 b/misc/cbb/patches/patch-02 new file mode 100644 index 00000000000..7d1a97dcdf8 --- /dev/null +++ b/misc/cbb/patches/patch-02 @@ -0,0 +1,21 @@ +--- install.pl.orig Tue May 6 18:17:45 1997 ++++ install.pl Fri Oct 10 21:05:30 1997 +@@ -500,12 +500,12 @@ + + print " Installing to $dest_bindir\n"; + print " Installing to $dest_libdir\n"; +-print " Installing to $dest_libdir" . "reports/\n"; +-print " Installing to $dest_libdir" . "graphs/\n"; +-print " Installing to $dest_libdir" . "images/\n"; +-print " Installing to $dest_libdir" . "contrib/\n"; +-print " Installing to $dest_libdir" . "docs/cbb-man/\n"; +-print " Installing to $dest_libdir" . "docs/cbb-man/icons/\n"; ++print " Installing to $dest_libdir" . "/reports/\n"; ++print " Installing to $dest_libdir" . "/graphs/\n"; ++print " Installing to $dest_libdir" . "/images/\n"; ++print " Installing to $dest_libdir" . "/contrib/\n"; ++print " Installing to $dest_libdir" . "/docs/cbb-man/\n"; ++print " Installing to $dest_libdir" . "/docs/cbb-man/icons/\n"; + print "\n"; + + diff --git a/misc/cbb/pkg/COMMENT b/misc/cbb/pkg/COMMENT new file mode 100644 index 00000000000..8ee1b295aa6 --- /dev/null +++ b/misc/cbb/pkg/COMMENT @@ -0,0 +1 @@ +Checkbook balancing tool diff --git a/misc/cbb/pkg/DESCR b/misc/cbb/pkg/DESCR new file mode 100644 index 00000000000..0ebcf22f0fe --- /dev/null +++ b/misc/cbb/pkg/DESCR @@ -0,0 +1,7 @@ +CBB is a personal check book balancing utility for Unix/X. + +CBB is intended to be an open, extensible program. It utilizes a +simple (tab delimited) data file format and is written entirely in +Tcl/Tk and Perl and contains no compiled code. It provides a simple +interface for users to add their own reports, graphs, and external +modules without having to modify any of the CBB source. diff --git a/misc/cbb/pkg/PLIST b/misc/cbb/pkg/PLIST new file mode 100644 index 00000000000..6b186dbc886 --- /dev/null +++ b/misc/cbb/pkg/PLIST @@ -0,0 +1,98 @@ +bin/cbb +share/cbb/wrapper.pl +share/cbb/categories.pl +share/cbb/common.pl +share/cbb/engine.pl +share/cbb/export.pl +share/cbb/file.pl +share/cbb/import.pl +share/cbb/log.pl +share/cbb/memorized.pl +share/cbb/reports.pl +share/cbb/default.cat +share/cbb/extern.conf +share/cbb/reports/reports.conf +share/cbb/reports/ave-by-cat.pl +share/cbb/reports/by-cat.pl +share/cbb/reports/miss-check.pl +share/cbb/reports/shrt-by-cat.pl +share/cbb/reports/txn-list.pl +share/cbb/graphs/graphs.conf +share/cbb/graphs/cat-col.pl +share/cbb/graphs/cat-pie.pl +share/cbb/graphs/cat2-col.pl +share/cbb/graphs/txn-list.pl +share/cbb/graphs/graphbal +share/cbb/graphs/graphcol +share/cbb/graphs/graphcolpos +share/cbb/graphs/graphpie +share/cbb/balloon.tcl +share/cbb/balance.tcl +share/cbb/bindings.tcl +share/cbb/categories.tcl +share/cbb/common.tcl +share/cbb/file.tcl +share/cbb/filebox.tcl +share/cbb/help.tcl +share/cbb/init.tcl +share/cbb/main.tcl +share/cbb/menu.tcl +share/cbb/prefs.tcl +share/cbb/reports.tcl +share/cbb/splits.tcl +share/cbb/undo.tcl +share/cbb/images/author.xbm +share/cbb/images/cbb.xbm +share/cbb/images/mini-cross.gif +share/cbb/images/mini-exclam.gif +share/cbb/images/splash-32.gif +share/cbb/contrib/fetch-latest.pl +share/cbb/contrib/importcat.README +share/cbb/contrib/importcat.pl +share/cbb/contrib/invest.pl +share/cbb/contrib/loan.gnuplot +share/cbb/contrib/loan.pl +share/cbb/contrib/recur.pl +share/cbb/contrib/term.pl +share/cbb/contrib/trimold.pl +share/cbb/contrib/txn.README +share/cbb/contrib/txn +share/cbb/contrib/upgrade-splits.pl +share/cbb/contrib/yearend.pl +share/cbb/docs/cbb-man.txt +share/cbb/docs/cbb-man/cbb-man.html +share/cbb/docs/cbb-man/index.html +share/cbb/docs/cbb-man/img1.gif +share/cbb/docs/cbb-man/img2.gif +share/cbb/docs/cbb-man/img3.gif +share/cbb/docs/cbb-man/img4.gif +share/cbb/docs/cbb-man/icons/00Contents +share/cbb/docs/cbb-man/icons/blank.pbm +share/cbb/docs/cbb-man/icons/change_begin.gif +share/cbb/docs/cbb-man/icons/change_delete.gif +share/cbb/docs/cbb-man/icons/change_end.gif +share/cbb/docs/cbb-man/icons/contents.xbm +share/cbb/docs/cbb-man/icons/contents_motif.gif +share/cbb/docs/cbb-man/icons/cross_ref_motif.gif +share/cbb/docs/cbb-man/icons/foot_motif.gif +share/cbb/docs/cbb-man/icons/icons.html +share/cbb/docs/cbb-man/icons/index_motif.gif +share/cbb/docs/cbb-man/icons/invis_anchor.xbm +share/cbb/docs/cbb-man/icons/next_group_motif.gif +share/cbb/docs/cbb-man/icons/next_group_motif_gr.gif +share/cbb/docs/cbb-man/icons/next_motif.gif +share/cbb/docs/cbb-man/icons/next_motif_gr.gif +share/cbb/docs/cbb-man/icons/previous_group_motif.gif +share/cbb/docs/cbb-man/icons/previous_group_motif_gr.gif +share/cbb/docs/cbb-man/icons/previous_motif.gif +share/cbb/docs/cbb-man/icons/previous_motif_gr.gif +share/cbb/docs/cbb-man/icons/up_motif.gif +share/cbb/docs/cbb-man/icons/up_motif_gr.gif +@dirrm share/cbb/contrib +@dirrm share/cbb/docs/cbb-man/icons +@dirrm share/cbb/docs/cbb-man +@dirrm share/cbb/docs +@dirrm share/cbb/graphs +@dirrm share/cbb/images +@dirrm share/cbb/reports +@dirrm share/cbb