summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>2000-02-13 04:09:42 +0000
committerR. Imura <imura@FreeBSD.org>2000-02-13 04:09:42 +0000
commit3e28ff871ca725b95237c6d7675fda367ffbd548 (patch)
tree67122f98d470a8ff57b91b5b2321472f01dd2d65
parentInitial import of dhcpconf-0.7.0. (diff)
Initial import of qhacc-0.2.6.
Simple QT2-based financial manager. PR: 16524 Submitted by: Will Andrews <andrews@technologist.com>
Notes
Notes: svn path=/head/; revision=25737
-rw-r--r--finance/qhacc/Makefile28
-rw-r--r--finance/qhacc/distinfo1
-rw-r--r--finance/qhacc/files/config6
-rw-r--r--finance/qhacc/files/patch-aa54
-rw-r--r--finance/qhacc/pkg-comment1
-rw-r--r--finance/qhacc/pkg-descr8
-rw-r--r--finance/qhacc/pkg-plist4
-rw-r--r--misc/Makefile1
-rw-r--r--misc/qhacc/Makefile28
-rw-r--r--misc/qhacc/distinfo1
-rw-r--r--misc/qhacc/files/config6
-rw-r--r--misc/qhacc/files/patch-aa54
-rw-r--r--misc/qhacc/pkg-comment1
-rw-r--r--misc/qhacc/pkg-descr8
-rw-r--r--misc/qhacc/pkg-plist4
15 files changed, 205 insertions, 0 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile
new file mode 100644
index 000000000000..b40d9fdeee8e
--- /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 000000000000..aa9777351a94
--- /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 000000000000..9f6bed1d2f5d
--- /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 000000000000..ce038c739679
--- /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 000000000000..054550afc9a7
--- /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 000000000000..aedf10903792
--- /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 000000000000..4c4e15ad2ce6
--- /dev/null
+++ b/finance/qhacc/pkg-plist
@@ -0,0 +1,4 @@
+bin/qhacc
+bin/qhacc.exec
+share/qhacc/config.sample
+@dirrm share/qhacc
diff --git a/misc/Makefile b/misc/Makefile
index 14c83ef86ba5..2529f5342c97 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -93,6 +93,7 @@
SUBDIR += pinfo
SUBDIR += proxyper
SUBDIR += qclock
+ SUBDIR += qhacc
SUBDIR += quotes
SUBDIR += rfc
SUBDIR += rpm
diff --git a/misc/qhacc/Makefile b/misc/qhacc/Makefile
new file mode 100644
index 000000000000..b40d9fdeee8e
--- /dev/null
+++ b/misc/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/misc/qhacc/distinfo b/misc/qhacc/distinfo
new file mode 100644
index 000000000000..aa9777351a94
--- /dev/null
+++ b/misc/qhacc/distinfo
@@ -0,0 +1 @@
+MD5 (qhacc-0.2.6.tar.gz) = 2b18d9a6f1046f78e86f3b447068136f
diff --git a/misc/qhacc/files/config b/misc/qhacc/files/config
new file mode 100644
index 000000000000..9f6bed1d2f5d
--- /dev/null
+++ b/misc/qhacc/files/config
@@ -0,0 +1,6 @@
+ALTCOLOR=173 216 230
+LINESPERTRANS=1
+NUMACCTS=0
+NUMSHOWS=0
+SHOWINDEX=-1
+ACCTFILES=
diff --git a/misc/qhacc/files/patch-aa b/misc/qhacc/files/patch-aa
new file mode 100644
index 000000000000..ce038c739679
--- /dev/null
+++ b/misc/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/misc/qhacc/pkg-comment b/misc/qhacc/pkg-comment
new file mode 100644
index 000000000000..054550afc9a7
--- /dev/null
+++ b/misc/qhacc/pkg-comment
@@ -0,0 +1 @@
+Simple QT2-based financial manager
diff --git a/misc/qhacc/pkg-descr b/misc/qhacc/pkg-descr
new file mode 100644
index 000000000000..aedf10903792
--- /dev/null
+++ b/misc/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/misc/qhacc/pkg-plist b/misc/qhacc/pkg-plist
new file mode 100644
index 000000000000..4c4e15ad2ce6
--- /dev/null
+++ b/misc/qhacc/pkg-plist
@@ -0,0 +1,4 @@
+bin/qhacc
+bin/qhacc.exec
+share/qhacc/config.sample
+@dirrm share/qhacc