Date: Sun, 6 Feb 2000 12:42:52 -0500 (EST) From: Will Andrews <andrews@technologist.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/16524: new port: misc/qhacc Message-ID: <20000206174252.0E0E21A0E@argon.blackdawn.com>
next in thread | raw e-mail | index | archive | help
>Number: 16524 >Category: ports >Synopsis: new port: misc/qhacc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 6 09:50:07 PST 2000 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 4.0-CURRENT i386 >Organization: none >Environment: FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Fri Jan 28 16:46:16 EST 2000 root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON i386 >Description: QHacc is a simple finance manager based on Qt2. The shell script is designed to ensure that people won't get any errors when running it. It makes a few assumptions, but I think they are reasonable. >How-To-Repeat: Use the shar below to add the port to tree. >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # qhacc # qhacc/files # qhacc/files/md5 # qhacc/files/qhacc.sh # qhacc/files/config # qhacc/pkg # qhacc/pkg/COMMENT # qhacc/pkg/DESCR # qhacc/pkg/PLIST # qhacc/patches # qhacc/patches/patch-aa # qhacc/Makefile # echo c - qhacc mkdir -p qhacc > /dev/null 2>&1 echo c - qhacc/files mkdir -p qhacc/files > /dev/null 2>&1 echo x - qhacc/files/md5 sed 's/^X//' >qhacc/files/md5 << 'END-of-qhacc/files/md5' XMD5 (qhacc.tar.gz) = 424e8aac25eaae5faf901998e39e4a76 END-of-qhacc/files/md5 echo x - qhacc/files/qhacc.sh sed 's/^X//' >qhacc/files/qhacc.sh << 'END-of-qhacc/files/qhacc.sh' X#!/bin/sh Xif [ ! -d "${HOME}/.qhacc" ]; then X echo "No ${HOME}/.qhacc/ directory, creating.." X /bin/mkdir -p ${HOME}/.qhacc X /bin/cp %%PREFIX%%/share/qhacc/config.sample ${HOME}/.qhacc/config Xfi XQHACC_HOME="${HOME}/.qhacc" %%PREFIX%%/bin/qhacc.exec END-of-qhacc/files/qhacc.sh echo x - qhacc/files/config sed 's/^X//' >qhacc/files/config << 'END-of-qhacc/files/config' XALTCOLOR=173 216 230 XLINESPERTRANS=1 XNUMACCTS=0 XNUMSHOWS=0 XSHOWINDEX=-1 XACCTFILES= END-of-qhacc/files/config echo c - qhacc/pkg mkdir -p qhacc/pkg > /dev/null 2>&1 echo x - qhacc/pkg/COMMENT sed 's/^X//' >qhacc/pkg/COMMENT << 'END-of-qhacc/pkg/COMMENT' XSimple QT2-based financial manager END-of-qhacc/pkg/COMMENT echo x - qhacc/pkg/DESCR sed 's/^X//' >qhacc/pkg/DESCR << 'END-of-qhacc/pkg/DESCR' XQHacc is a QT2-based financial management program. XDon't expect a Quicken replacement, however - it only Xdoes simple transaction management. X XWWW: http://www.ostrich-emulators.cx/~ryan/qhacc/ XAuthor: Ryan F. Bobko <ryan@ostrich-emulators.cx> X X--Will <andrews@technologist.com> END-of-qhacc/pkg/DESCR echo x - qhacc/pkg/PLIST sed 's/^X//' >qhacc/pkg/PLIST << 'END-of-qhacc/pkg/PLIST' Xbin/qhacc Xbin/qhacc.exec Xshare/qhacc/config.sample X@dirrm share/qhacc END-of-qhacc/pkg/PLIST echo c - qhacc/patches mkdir -p qhacc/patches > /dev/null 2>&1 echo x - qhacc/patches/patch-aa sed 's/^X//' >qhacc/patches/patch-aa << 'END-of-qhacc/patches/patch-aa' X--- Makefile Sun Jan 2 20:30:54 2000 X+++ Makefile.new Thu Feb 3 00:52:21 2000 X@@ -3,11 +3,11 @@ X SYSCONF_CC = gcc X X # Compiling with support libraries X-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include X+SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include/qt2 X X # Linking with support libraries X SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib X-SYSCONF_LIBS_QT = -lqt X+SYSCONF_LIBS_QT = -lqt2 X X # Linking applications X SYSCONF_LINK = g++ X@@ -15,7 +15,7 @@ X SYSCONF_LIBS = X X # Meta-object compiler X-SYSCONF_MOC = $(QTDIR)/bin/moc X+SYSCONF_MOC = $(QTDIR)/bin/moc2 X X # Compiling application source X #SYSCONF_CXXFLAGS = -pipe -DNO_DEBUG -O2 X@@ -26,12 +26,13 @@ X X ####### Compiler, tools and options X X-CXX = $(SYSCONF_CXX) X-CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) X-CC = $(SYSCONF_CC) X-CFLAGS = $(SYSCONF_CFLAGS) X-INCPATH = X-LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_LFLAGS_X11) $(SYSCONF_LFLAGS) X+QTDIR ?= /usr/X11R6 X+CXX ?= c++ X+CXXFLAGS?= -O -pipe X+CC ?= cc X+CFLAGS ?= -O -pipe X+INCPATH = $(SYSCONF_CXXFLAGS_QT) X+LFLAGS = $(CXXFLAGS) $(SYSCONF_LFLAGS_QT) $(SYSCONF_LIBS_QT) X LIBS = $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS) X MOC = $(SYSCONF_MOC) X X@@ -80,7 +81,7 @@ X all: $(DESTDIR)$(TARGET) X X $(DESTDIR)$(TARGET): $(OBJECTS) $(OBJMOC) X- $(SYSCONF_LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) X+ $(CXX) $(LFLAGS) $(INCPATH) -o $(TARGET) $(OBJECTS) $(OBJMOC) X X moc: $(SRCMOC) X END-of-qhacc/patches/patch-aa echo x - qhacc/Makefile sed 's/^X//' >qhacc/Makefile << 'END-of-qhacc/Makefile' X# New ports collection makefile for: qhacc X# Version required: 0.2 X# Date created: 28 Dec 1999 X# Whom: Will Andrews <andrews@technologist.com> X# X# $FreeBSD$ X# X XDISTNAME= qhacc XPKGNAME= qhacc-0.2 XCATEGORIES= misc XMASTER_SITES= http://www.ostrich-emulators.cx/~ryan/qhacc/ X XMAINTAINER= andrews@technologist.com X XUSE_X_PREFIX= yes XUSE_QT2= yes XMAKE_ENV+= QTDIR=${PREFIX} CXX="${CXX}" CC="${CC}" X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/qhacc ${PREFIX}/bin/qhacc.exec X @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/qhacc.sh \ X > ${PREFIX}/bin/qhacc X @${CHMOD} 755 ${PREFIX}/bin/qhacc X @${MKDIR} ${PREFIX}/share/qhacc X @${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/qhacc/config.sample X X.include <bsd.port.mk> END-of-qhacc/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000206174252.0E0E21A0E>