diff options
author | imura <imura@FreeBSD.org> | 2000-02-13 12:09:42 +0800 |
---|---|---|
committer | imura <imura@FreeBSD.org> | 2000-02-13 12:09:42 +0800 |
commit | 5c0a2c54aeaa8af6ff0a9d4d84e6890c8e9de82e (patch) | |
tree | f12ad8769c94b039635e8399e05cdd60bc7df75f /finance/qhacc | |
parent | ce6cf7cfc2dbef573a1771a08f4ed3c3da5c9c32 (diff) | |
download | freebsd-ports-graphics-5c0a2c54aeaa8af6ff0a9d4d84e6890c8e9de82e.tar.gz freebsd-ports-graphics-5c0a2c54aeaa8af6ff0a9d4d84e6890c8e9de82e.tar.zst freebsd-ports-graphics-5c0a2c54aeaa8af6ff0a9d4d84e6890c8e9de82e.zip |
Initial import of qhacc-0.2.6.
Simple QT2-based financial manager.
PR: 16524
Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'finance/qhacc')
-rw-r--r-- | finance/qhacc/Makefile | 28 | ||||
-rw-r--r-- | finance/qhacc/distinfo | 1 | ||||
-rw-r--r-- | finance/qhacc/files/config | 6 | ||||
-rw-r--r-- | finance/qhacc/files/patch-aa | 54 | ||||
-rw-r--r-- | finance/qhacc/pkg-comment | 1 | ||||
-rw-r--r-- | finance/qhacc/pkg-descr | 8 | ||||
-rw-r--r-- | finance/qhacc/pkg-plist | 4 |
7 files changed, 102 insertions, 0 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile new file mode 100644 index 00000000000..b40d9fdeee8 --- /dev/null +++ b/finance/qhacc/Makefile @@ -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> diff --git a/finance/qhacc/distinfo b/finance/qhacc/distinfo new file mode 100644 index 00000000000..aa9777351a9 --- /dev/null +++ b/finance/qhacc/distinfo @@ -0,0 +1 @@ +MD5 (qhacc-0.2.6.tar.gz) = 2b18d9a6f1046f78e86f3b447068136f diff --git a/finance/qhacc/files/config b/finance/qhacc/files/config new file mode 100644 index 00000000000..9f6bed1d2f5 --- /dev/null +++ b/finance/qhacc/files/config @@ -0,0 +1,6 @@ +ALTCOLOR=173 216 230 +LINESPERTRANS=1 +NUMACCTS=0 +NUMSHOWS=0 +SHOWINDEX=-1 +ACCTFILES= diff --git a/finance/qhacc/files/patch-aa b/finance/qhacc/files/patch-aa new file mode 100644 index 00000000000..ce038c73967 --- /dev/null +++ b/finance/qhacc/files/patch-aa @@ -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) + diff --git a/finance/qhacc/pkg-comment b/finance/qhacc/pkg-comment new file mode 100644 index 00000000000..054550afc9a --- /dev/null +++ b/finance/qhacc/pkg-comment @@ -0,0 +1 @@ +Simple QT2-based financial manager diff --git a/finance/qhacc/pkg-descr b/finance/qhacc/pkg-descr new file mode 100644 index 00000000000..aedf1090379 --- /dev/null +++ b/finance/qhacc/pkg-descr @@ -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> diff --git a/finance/qhacc/pkg-plist b/finance/qhacc/pkg-plist new file mode 100644 index 00000000000..4c4e15ad2ce --- /dev/null +++ b/finance/qhacc/pkg-plist @@ -0,0 +1,4 @@ +bin/qhacc +bin/qhacc.exec +share/qhacc/config.sample +@dirrm share/qhacc |