1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Initial import of qhacc-0.2.6.

Simple QT2-based financial manager.

PR:		16524
Submitted by:	Will Andrews <andrews@technologist.com>
This commit is contained in:
R. Imura 2000-02-13 04:09:42 +00:00
parent 7f031ba6eb
commit 3e28ff871c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25737
15 changed files with 205 additions and 0 deletions

28
finance/qhacc/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: qhacc
# Version required: 0.2.6
# Date created: 28 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= qhacc-0.2.6
CATEGORIES= misc
MASTER_SITES= http://people.FreeBSD.org/~cpiazza/distfiles/
MAINTAINER= andrews@technologist.com
USE_X_PREFIX= yes
USE_QT2= yes
MAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}"
WRKSRC= ${WRKDIR}/qhacc
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/qhacc ${PREFIX}/bin/qhacc.exec
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/qhacc.sh \
> ${PREFIX}/bin/qhacc
@${CHMOD} 755 ${PREFIX}/bin/qhacc
@${MKDIR} ${PREFIX}/share/qhacc
@${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/qhacc/config.sample
.include <bsd.port.mk>

1
finance/qhacc/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (qhacc-0.2.6.tar.gz) = 2b18d9a6f1046f78e86f3b447068136f

View File

@ -0,0 +1,6 @@
ALTCOLOR=173 216 230
LINESPERTRANS=1
NUMACCTS=0
NUMSHOWS=0
SHOWINDEX=-1
ACCTFILES=

View File

@ -0,0 +1,54 @@
--- Makefile Sun Jan 2 20:30:54 2000
+++ Makefile.new Thu Feb 3 00:52:21 2000
@@ -3,11 +3,11 @@
SYSCONF_CC = gcc
# Compiling with support libraries
-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include
+SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include/qt2
# Linking with support libraries
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
-SYSCONF_LIBS_QT = -lqt
+SYSCONF_LIBS_QT = -lqt2
# Linking applications
SYSCONF_LINK = g++
@@ -15,7 +15,7 @@
SYSCONF_LIBS =
# Meta-object compiler
-SYSCONF_MOC = $(QTDIR)/bin/moc
+SYSCONF_MOC = $(QTDIR)/bin/moc2
# Compiling application source
#SYSCONF_CXXFLAGS = -pipe -DNO_DEBUG -O2
@@ -26,12 +26,13 @@
####### Compiler, tools and options
-CXX = $(SYSCONF_CXX)
-CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
-CC = $(SYSCONF_CC)
-CFLAGS = $(SYSCONF_CFLAGS)
-INCPATH =
-LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_LFLAGS_X11) $(SYSCONF_LFLAGS)
+QTDIR ?= /usr/X11R6
+CXX ?= c++
+CXXFLAGS?= -O -pipe
+CC ?= cc
+CFLAGS ?= -O -pipe
+INCPATH = $(SYSCONF_CXXFLAGS_QT)
+LFLAGS = $(CXXFLAGS) $(SYSCONF_LFLAGS_QT) $(SYSCONF_LIBS_QT)
LIBS = $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS)
MOC = $(SYSCONF_MOC)
@@ -80,7 +81,7 @@
all: $(DESTDIR)$(TARGET)
$(DESTDIR)$(TARGET): $(OBJECTS) $(OBJMOC)
- $(SYSCONF_LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
+ $(CXX) $(LFLAGS) $(INCPATH) -o $(TARGET) $(OBJECTS) $(OBJMOC)
moc: $(SRCMOC)

View File

@ -0,0 +1 @@
Simple QT2-based financial manager

8
finance/qhacc/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
QHacc is a QT2-based financial management program.
Don't expect a Quicken replacement, however - it only
does simple transaction management.
WWW: http://www.ostrich-emulators.cx/~ryan/qhacc/
Author: Ryan F. Bobko <ryan@ostrich-emulators.cx>
--Will <andrews@technologist.com>

4
finance/qhacc/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/qhacc
bin/qhacc.exec
share/qhacc/config.sample
@dirrm share/qhacc

View File

@ -93,6 +93,7 @@
SUBDIR += pinfo
SUBDIR += proxyper
SUBDIR += qclock
SUBDIR += qhacc
SUBDIR += quotes
SUBDIR += rfc
SUBDIR += rpm

28
misc/qhacc/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: qhacc
# Version required: 0.2.6
# Date created: 28 Dec 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
DISTNAME= qhacc-0.2.6
CATEGORIES= misc
MASTER_SITES= http://people.FreeBSD.org/~cpiazza/distfiles/
MAINTAINER= andrews@technologist.com
USE_X_PREFIX= yes
USE_QT2= yes
MAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}"
WRKSRC= ${WRKDIR}/qhacc
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/qhacc ${PREFIX}/bin/qhacc.exec
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/qhacc.sh \
> ${PREFIX}/bin/qhacc
@${CHMOD} 755 ${PREFIX}/bin/qhacc
@${MKDIR} ${PREFIX}/share/qhacc
@${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/qhacc/config.sample
.include <bsd.port.mk>

1
misc/qhacc/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (qhacc-0.2.6.tar.gz) = 2b18d9a6f1046f78e86f3b447068136f

6
misc/qhacc/files/config Normal file
View File

@ -0,0 +1,6 @@
ALTCOLOR=173 216 230
LINESPERTRANS=1
NUMACCTS=0
NUMSHOWS=0
SHOWINDEX=-1
ACCTFILES=

54
misc/qhacc/files/patch-aa Normal file
View File

@ -0,0 +1,54 @@
--- Makefile Sun Jan 2 20:30:54 2000
+++ Makefile.new Thu Feb 3 00:52:21 2000
@@ -3,11 +3,11 @@
SYSCONF_CC = gcc
# Compiling with support libraries
-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include
+SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include/qt2
# Linking with support libraries
SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
-SYSCONF_LIBS_QT = -lqt
+SYSCONF_LIBS_QT = -lqt2
# Linking applications
SYSCONF_LINK = g++
@@ -15,7 +15,7 @@
SYSCONF_LIBS =
# Meta-object compiler
-SYSCONF_MOC = $(QTDIR)/bin/moc
+SYSCONF_MOC = $(QTDIR)/bin/moc2
# Compiling application source
#SYSCONF_CXXFLAGS = -pipe -DNO_DEBUG -O2
@@ -26,12 +26,13 @@
####### Compiler, tools and options
-CXX = $(SYSCONF_CXX)
-CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS)
-CC = $(SYSCONF_CC)
-CFLAGS = $(SYSCONF_CFLAGS)
-INCPATH =
-LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_LFLAGS_X11) $(SYSCONF_LFLAGS)
+QTDIR ?= /usr/X11R6
+CXX ?= c++
+CXXFLAGS?= -O -pipe
+CC ?= cc
+CFLAGS ?= -O -pipe
+INCPATH = $(SYSCONF_CXXFLAGS_QT)
+LFLAGS = $(CXXFLAGS) $(SYSCONF_LFLAGS_QT) $(SYSCONF_LIBS_QT)
LIBS = $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS)
MOC = $(SYSCONF_MOC)
@@ -80,7 +81,7 @@
all: $(DESTDIR)$(TARGET)
$(DESTDIR)$(TARGET): $(OBJECTS) $(OBJMOC)
- $(SYSCONF_LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS)
+ $(CXX) $(LFLAGS) $(INCPATH) -o $(TARGET) $(OBJECTS) $(OBJMOC)
moc: $(SRCMOC)

1
misc/qhacc/pkg-comment Normal file
View File

@ -0,0 +1 @@
Simple QT2-based financial manager

8
misc/qhacc/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
QHacc is a QT2-based financial management program.
Don't expect a Quicken replacement, however - it only
does simple transaction management.
WWW: http://www.ostrich-emulators.cx/~ryan/qhacc/
Author: Ryan F. Bobko <ryan@ostrich-emulators.cx>
--Will <andrews@technologist.com>

4
misc/qhacc/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
bin/qhacc
bin/qhacc.exec
share/qhacc/config.sample
@dirrm share/qhacc