Index: head/finance/qhacc/pkg-message =================================================================== --- head/finance/qhacc/pkg-message (revision 86845) +++ head/finance/qhacc/pkg-message (nonexistent) @@ -1,10 +0,0 @@ -************************************************************ - Before running QHacc, users should prepare as follows: - - $ mkdir ~/.qhacc - $ cp /usr/X11R6/share/qhacc/config.sample ~/.qhacc/config - $ chmod u+rw ~/.qhacc/config - $ export QHACC_HOME=~/.qhacc (sh or bash) - $ setenv QHACC_HOME ~/.qhacc (csh or tcsh) - -************************************************************ Property changes on: head/finance/qhacc/pkg-message ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/finance/qhacc/Makefile =================================================================== --- head/finance/qhacc/Makefile (revision 86845) +++ head/finance/qhacc/Makefile (revision 86846) @@ -1,45 +1,52 @@ # New ports collection makefile for: qhacc # Date created: 28 Dec 1999 # Whom: Will Andrews # # $FreeBSD$ # PORTNAME= qhacc -PORTVERSION= 2.6.1 +PORTVERSION= 2.9 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Simple QT-based financial manager +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 + USE_QT_VER= 3 USE_X_PREFIX= yes USE_REINPLACE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-qt-moc=${QT_PREFIX}/bin \ +CONFIGURE_ARGS= --enable-mysql=no \ + --with-qt-moc=${QT_PREFIX}/bin \ --with-qt-libs=${QT_PREFIX}/lib +INSTALLS_SHLIB= yes -post-extract: - @${RM} -f ${WRKSRC}/src/moc_*.cpp +STRIP= # none -pre-patch: +post-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|#! /bin/sh|#!${LOCALBASE}/bin/bash|g ; \ + s|/usr/local/|${PREFIX}/lib/|g' ${WRKSRC}/src/qhacc.orig @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|^CXXFLAGS =.*$$|CXXFLAGS = \@CXXFLAGS\@|g' + 's|-O2 -Wall -g||g ; \ + s|contrib docs qm|contrib|g ; \ + s|$$(prefix)/plugins|$$(pkglibdir)/plugins|g' -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${DATADIR} - ${INSTALL_DATA} ${FILESDIR}/config ${DATADIR}/config.sample +post-install: + @${STRIP_CMD} ${PREFIX}/bin/qhacc-* +.for file in accounts memorized preferences transactions + ${INSTALL_DATA} ${WRKSRC}/contrib/easysetup/${file} ${PREFIX}/lib/qhacc +.endfor + ${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${PREFIX}/lib/qhacc .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} + ${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} .endif - @${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE} .include Property changes on: head/finance/qhacc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.34 \ No newline at end of property +1.35 \ No newline at end of property Index: head/finance/qhacc/distinfo =================================================================== --- head/finance/qhacc/distinfo (revision 86845) +++ head/finance/qhacc/distinfo (revision 86846) @@ -1 +1 @@ -MD5 (qhacc-2.6.1.tar.gz) = 6b61a2c428106bde00d833b27a3c548c +MD5 (qhacc-2.9.tar.gz) = 5df88c785d1f30cd60592eabeda4467c Property changes on: head/finance/qhacc/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.24 \ No newline at end of property +1.25 \ No newline at end of property Index: head/finance/qhacc/files/patch-src::qhacctable.h =================================================================== --- head/finance/qhacc/files/patch-src::qhacctable.h (revision 86845) +++ head/finance/qhacc/files/patch-src::qhacctable.h (nonexistent) @@ -1,15 +0,0 @@ ---- src/qhacctable.h.orig Sun Nov 24 19:22:27 2002 -+++ src/qhacctable.h Sun Nov 24 19:26:03 2002 -@@ -26,9 +26,10 @@ - #include - #include - --class QFile; -+#include -+using std::ostream; - --class ostream; -+class QFile; - - class QHaccTableIndex; - Property changes on: head/finance/qhacc/files/patch-src::qhacctable.h ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/finance/qhacc/files/patch-src::main.cpp =================================================================== --- head/finance/qhacc/files/patch-src::main.cpp (revision 86845) +++ head/finance/qhacc/files/patch-src::main.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- src/main.cpp.orig Thu Jan 2 02:42:35 2003 -+++ src/main.cpp Wed Jan 8 04:51:12 2003 -@@ -26,7 +26,6 @@ - #include "qhaccwidget.h" - - #include --#include - #include - - #include Property changes on: head/finance/qhacc/files/patch-src::main.cpp ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/finance/qhacc/files/config =================================================================== --- head/finance/qhacc/files/config (revision 86845) +++ head/finance/qhacc/files/config (nonexistent) @@ -1,6 +0,0 @@ -ALTCOLOR=173 216 230 -LINESPERTRANS=1 -NUMACCTS=0 -NUMSHOWS=0 -SHOWINDEX=-1 -ACCTFILES= Property changes on: head/finance/qhacc/files/config ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/finance/qhacc/files/patch-ltmain.sh =================================================================== --- head/finance/qhacc/files/patch-ltmain.sh (nonexistent) +++ head/finance/qhacc/files/patch-ltmain.sh (revision 86846) @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Mar 13 01:25:30 2003 ++++ ltmain.sh Tue Aug 12 01:49:52 2003 +@@ -4210,10 +4210,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" Property changes on: head/finance/qhacc/files/patch-ltmain.sh ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/finance/qhacc/pkg-plist =================================================================== --- head/finance/qhacc/pkg-plist (revision 86845) +++ head/finance/qhacc/pkg-plist (revision 86846) @@ -1,12 +1,65 @@ bin/qhacc -%%PORTDOCS%%share/doc/qhacc/compiling.html -%%PORTDOCS%%share/doc/qhacc/index.html -%%PORTDOCS%%share/doc/qhacc/intro.html -%%PORTDOCS%%share/doc/qhacc/faq.html -%%PORTDOCS%%share/doc/qhacc/formats.html -%%PORTDOCS%%share/doc/qhacc/using.html -%%PORTDOCS%%share/doc/qhacc/primer.html -share/qhacc/config.sample -share/qhacc/qhacc_es_ES.qm -@dirrm share/qhacc -%%PORTDOCS%%@dirrm share/doc/qhacc +bin/qhacc-cli +bin/qhacc-gui +include/localfileplugin.h +include/plugins.h +include/qhacc.h +include/qhaccconstants.h +include/qhaccext.h +include/qhaccsegmenter.h +include/qhacctable.h +include/qhacctablerows.h +include/qhaccutils.h +include/resultset.h +include/sqldbplugin.h +lib/libcliimpio.a +lib/libcliimpio.so +lib/libcliimpio.so.1 +lib/libcronio.a +lib/libcronio.so +lib/libcronio.so.1 +lib/libfiledbio.a +lib/libfiledbio.so +lib/libfiledbio.so.2 +lib/libforeigndbio.a +lib/libforeigndbio.so +lib/libforeigndbio.so.2 +lib/libnativedbio.a +lib/libnativedbio.so +lib/libnativedbio.so.2 +lib/libqhacc.a +lib/libqhacc.so +lib/libqhacc.so.2 +lib/libqhaccext.a +lib/libqhaccext.so +lib/libqhaccext.so.2 +lib/libqifio.a +lib/libqifio.so +lib/libqifio.so.1 +lib/libxmlio.a +lib/libxmlio.so +lib/libxmlio.so.1 +lib/qhacc/accounts +lib/qhacc/memorized +lib/qhacc/plugins/db/libxmlio.so +lib/qhacc/plugins/export/libxmlio.so +lib/qhacc/plugins/import/libcliimpio.so +lib/qhacc/plugins/import/libcronio.so +lib/qhacc/plugins/import/libqifio.so +lib/qhacc/plugins/import/libxmlio.so +lib/qhacc/preferences +lib/qhacc/qhacc_es_ES.qm +lib/qhacc/transactions +%%PORTDOCS%%%%DOCSDIR%%/compiling.html +%%PORTDOCS%%%%DOCSDIR%%/faq.html +%%PORTDOCS%%%%DOCSDIR%%/formats.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/intro.html +%%PORTDOCS%%%%DOCSDIR%%/primer.html +%%PORTDOCS%%%%DOCSDIR%%/using.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm lib/qhacc/plugins/import +@dirrm lib/qhacc/plugins/export +@dirrm lib/qhacc/plugins/db +@dirrm lib/qhacc/plugins +@dirrm lib/qhacc Property changes on: head/finance/qhacc/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property