Qhacc port, new `productivity' category, for those pesky tools

that don't quite fit elsewhere (organizers, home-accountants and whatnot)
This commit is contained in:
espie 2000-10-02 09:06:22 +00:00
parent 6c4a978b24
commit 4d84430d5b
8 changed files with 111 additions and 0 deletions

5
productivity/Makefile Normal file
View File

@ -0,0 +1,5 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/10/02 09:06:22 espie Exp $
SUBDIR += qhacc
.include <bsd.port.subdir.mk>

View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/10/02 09:06:23 espie Exp $
DISTNAME= qhacc-0.6.1a
CATEGORIES= productivity x11
NEED_VERSION= 1.302
HOMEPAGE= http://www.ostrich-emulators.cx/~ryan/qhacc/
MASTER_SITES= ${HOMEPAGE} \
ftp://ftp.ostrich-emulators.cx/qhacc/
MAINTAINER= Marc Espie <espie@openbsd.org>
LIB_DEPENDS= qt.2.::x11/qt2
QTDIR= ${LOCALBASE}/lib/qt2
QTLIBDIR= ${QTDIR}
QTINCDIR= ${LOCALBASE}/include/X11/qt2
MAKE_ENV= QTDIR=${QTDIR} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}
MAKE_FLAGS= QTLIBDIR=${QTLIBDIR} QTINCDIR=${QTINCDIR}
CONFIGURE_ENV= AWK=awk QTDIR=${QTDIR}
CONFIGURE_STYLE= GNU
# GPL
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
DOCDIR=${PREFIX}/share/doc/qhacc
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${DOCDIR}
cd ${WRKSRC} && ${INSTALL_DATA} FILE_FORMAT ${DOCDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (qhacc-0.6.1a.tar.gz) = b1fe659ab692d2814fbf0bd75a2ea9b1
RMD160 (qhacc-0.6.1a.tar.gz) = 065a815ff750d85b11c28598e74e56fa17077bd1
SHA1 (qhacc-0.6.1a.tar.gz) = dd093caae10d66096d5cb783d6cc82fb91da2341

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1.1.1 2000/10/02 09:06:23 espie Exp $
--- configure.orig Sun Sep 24 17:21:54 2000
+++ configure Sun Sep 24 17:22:56 2000
@@ -1181,7 +1181,7 @@ fi
-qtdirs="/usr/local/qt /usr/qt /opt/qt /usr/local/qt2"
+qtdirs="$QTDIR /usr/local/qt /usr/qt /opt/qt /usr/local/qt2"
@@ -1209,7 +1209,7 @@ fi
for dir in $with_qt
do
- if test -f $dir/lib/libqt.so.2
+ if test -f $dir/lib/libqt.so.2 -o \! -z "$dir/lib/libqt.so.2.*"
then
qthome=$dir
echo "found in $dir"

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2000/10/02 09:06:23 espie Exp $
--- src/Makefile.in.orig Sat Sep 16 19:49:48 2000
+++ src/Makefile.in Sun Sep 24 17:42:50 2000
@@ -64,6 +64,8 @@ MAKEINFO = @MAKEINFO@
MYFLAGS = @MYFLAGS@
PACKAGE = @PACKAGE@
QTDIR = @QTDIR@
+QTLIBDIR = $(QTDIR)/lib
+QTINCDIR = $(QTDIR)/include
VERSION = @VERSION@
incgraphs = @incgraphs@
@@ -80,8 +82,8 @@ BUILT_SOURCES = moc_qhacc.cpp moc_qhaccv
noinst_HEADERS = qhacc.h qhaccview.h accounts.h transaction.h qhaccvector.h qhaccrecwin.h qhacclineedits.h qhaccdialogs.h qhaccacctman.h qhaccacctchsr.h prefs.h globals.h qhaccloader.h qhaccgrapher.h
-INCLUDES = $(all_includes) -I$(QTDIR)/include
-qhacc_LDFLAGS = -L$(QTDIR)/lib
+INCLUDES = $(all_includes) -I$(QTINCDIR)
+qhacc_LDFLAGS = -L$(QTLIBDIR) -L$(X11BASE)/lib -L$(LOCALBASE)/lib
qhacc_LDADD = -lqt
MOC = $(QTDIR)/bin/moc

View File

@ -0,0 +1 @@
qt home accounting program

View File

@ -0,0 +1,12 @@
QHacc is a reasonably small, reasonably fast, reasonably featured home
accounting program for unix and unix-like systems.
Some features:
American or European date formats
Memorized transactions
Split transactions
Double- or Single- entry bookkeeping
Several account types
Type-ahead text boxes and easy date selection fields
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/10/02 09:06:23 espie Exp $
bin/qhacc
share/doc/qhacc/FILE_FORMAT
share/doc/qhacc/formats.html
share/doc/qhacc/index.html
share/doc/qhacc/intro.html
share/doc/qhacc/primer.html
share/doc/qhacc/using.html
@dirrm share/doc/qhacc