This commit is contained in:
angelos 1998-05-20 07:27:47 +00:00
parent 51c19f6330
commit 1c2fdcdd52
7 changed files with 177 additions and 0 deletions

29
misc/cbb/Makefile Normal file
View File

@ -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 <bsd.port.mk>

1
misc/cbb/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (cbb-0.73.tar.gz) = 44136bed0611b0d629d920fcfcc0e82c

20
misc/cbb/patches/patch-01 Normal file
View File

@ -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; \

21
misc/cbb/patches/patch-02 Normal file
View File

@ -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";

1
misc/cbb/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Checkbook balancing tool

7
misc/cbb/pkg/DESCR Normal file
View File

@ -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.

98
misc/cbb/pkg/PLIST Normal file
View File

@ -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