View | Details | Raw Unified | Return to bug 55497
Collapse All | Expand All

(-)finance/qhacc/Makefile (-14 / +21 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	qhacc
8
PORTNAME=	qhacc
9
PORTVERSION=	2.6.1
9
PORTVERSION=	2.9
10
CATEGORIES=	finance
10
CATEGORIES=	finance
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 14-45 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	Simple QT-based financial manager
15
COMMENT=	Simple QT-based financial manager
16
16
17
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
18
17
USE_QT_VER=	3
19
USE_QT_VER=	3
18
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
19
USE_REINPLACE=	yes
21
USE_REINPLACE=	yes
20
USE_GMAKE=	yes
22
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
22
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
24
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_ARGS=	--with-qt-moc=${QT_PREFIX}/bin \
25
CONFIGURE_ARGS=	--enable-mysql=no \
26
		--with-qt-moc=${QT_PREFIX}/bin \
24
		--with-qt-libs=${QT_PREFIX}/lib
27
		--with-qt-libs=${QT_PREFIX}/lib
28
INSTALLS_SHLIB=	yes
25
29
26
post-extract:
30
STRIP=		# none
27
	@${RM} -f ${WRKSRC}/src/moc_*.cpp
28
31
29
pre-patch:
32
post-patch:
30
	@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
33
	@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
34
	@${REINPLACE_CMD} -e 's|#! /bin/sh|#!${LOCALBASE}/bin/bash|g ; \
35
		 s|/usr/local/|${PREFIX}/lib/|g' ${WRKSRC}/src/qhacc.orig
31
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
36
	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
32
		's|^CXXFLAGS =.*$$|CXXFLAGS = \@CXXFLAGS\@|g'
37
		's|-O2 -Wall -g||g ; \
38
		 s|contrib docs qm|contrib|g ; \
39
		 s|$$(prefix)/plugins|$$(pkglibdir)/plugins|g'
33
40
34
do-install:
41
post-install:
35
	${INSTALL_PROGRAM} ${WRKSRC}/src/qhacc ${PREFIX}/bin
42
	@${STRIP_CMD} ${PREFIX}/bin/qhacc-*
36
	@${MKDIR} ${DATADIR}
43
.for file in accounts memorized preferences transactions
37
	${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${DATADIR}
44
	${INSTALL_DATA} ${WRKSRC}/contrib/easysetup/${file} ${PREFIX}/lib/qhacc
38
	${INSTALL_DATA} ${FILESDIR}/config ${DATADIR}/config.sample
45
.endfor
46
	${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${PREFIX}/lib/qhacc
39
.if !defined(NOPORTDOCS)
47
.if !defined(NOPORTDOCS)
40
	@${MKDIR} ${DOCSDIR}
48
	${MKDIR} ${DOCSDIR}
41
	${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
49
	@${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
42
.endif
50
.endif
43
	@${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}
44
51
45
.include <bsd.port.mk>
52
.include <bsd.port.mk>
(-)finance/qhacc/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (qhacc-2.6.1.tar.gz) = 6b61a2c428106bde00d833b27a3c548c
1
MD5 (qhacc-2.9.tar.gz) = 5df88c785d1f30cd60592eabeda4467c
(-)finance/qhacc/files/config (-6 lines)
Lines 1-6 Link Here
1
ALTCOLOR=173 216 230
2
LINESPERTRANS=1
3
NUMACCTS=0
4
NUMSHOWS=0
5
SHOWINDEX=-1
6
ACCTFILES=
(-)finance/qhacc/files/patch-ltmain.sh (+15 lines)
Line 0 Link Here
1
--- ltmain.sh.orig	Thu Mar 13 01:25:30 2003
2
+++ ltmain.sh	Tue Aug 12 01:49:52 2003
3
@@ -4210,10 +4210,12 @@
4
 	fi
5
 
6
 	# Install the pseudo-library for information purposes.
7
+	if /usr/bin/false; then
8
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
9
 	instname="$dir/$name"i
10
 	$show "$install_prog $instname $destdir/$name"
11
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
12
+	fi
13
 
14
 	# Maybe install the static library, too.
15
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
(-)finance/qhacc/files/patch-src::main.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/main.cpp.orig	Thu Jan  2 02:42:35 2003
2
+++ src/main.cpp	Wed Jan  8 04:51:12 2003
3
@@ -26,7 +26,6 @@
4
 #include "qhaccwidget.h"
5
 
6
 #include <stdlib.h>
7
-#include <getopt.h>
8
 #include <locale.h>
9
 
10
 #include <qapplication.h>
(-)finance/qhacc/files/patch-src::qhacctable.h (-15 lines)
Lines 1-15 Link Here
1
--- src/qhacctable.h.orig	Sun Nov 24 19:22:27 2002
2
+++ src/qhacctable.h	Sun Nov 24 19:26:03 2002
3
@@ -26,9 +26,10 @@
4
 #include <qstring.h>
5
 #include <qdatetime.h>
6
 
7
-class QFile;
8
+#include <fstream>
9
+using std::ostream;
10
 
11
-class ostream;
12
+class QFile;
13
 
14
 class QHaccTableIndex;
15
 
(-)finance/qhacc/pkg-message (-10 lines)
Lines 1-10 Link Here
1
************************************************************
2
 Before running QHacc, users should prepare as follows:
3
4
  $ mkdir ~/.qhacc
5
  $ cp /usr/X11R6/share/qhacc/config.sample ~/.qhacc/config
6
  $ chmod u+rw ~/.qhacc/config
7
  $ export QHACC_HOME=~/.qhacc (sh or bash)
8
  $ setenv QHACC_HOME ~/.qhacc (csh or tcsh)
9
10
************************************************************
(-)finance/qhacc/pkg-plist (-11 / +64 lines)
Lines 1-12 Link Here
1
bin/qhacc
1
bin/qhacc
2
%%PORTDOCS%%share/doc/qhacc/compiling.html
2
bin/qhacc-cli
3
%%PORTDOCS%%share/doc/qhacc/index.html
3
bin/qhacc-gui
4
%%PORTDOCS%%share/doc/qhacc/intro.html
4
include/localfileplugin.h
5
%%PORTDOCS%%share/doc/qhacc/faq.html
5
include/plugins.h
6
%%PORTDOCS%%share/doc/qhacc/formats.html
6
include/qhacc.h
7
%%PORTDOCS%%share/doc/qhacc/using.html
7
include/qhaccconstants.h
8
%%PORTDOCS%%share/doc/qhacc/primer.html
8
include/qhaccext.h
9
share/qhacc/config.sample
9
include/qhaccsegmenter.h
10
share/qhacc/qhacc_es_ES.qm
10
include/qhacctable.h
11
@dirrm share/qhacc
11
include/qhacctablerows.h
12
%%PORTDOCS%%@dirrm share/doc/qhacc
12
include/qhaccutils.h
13
include/resultset.h
14
include/sqldbplugin.h
15
lib/libcliimpio.a
16
lib/libcliimpio.so
17
lib/libcliimpio.so.1
18
lib/libcronio.a
19
lib/libcronio.so
20
lib/libcronio.so.1
21
lib/libfiledbio.a
22
lib/libfiledbio.so
23
lib/libfiledbio.so.2
24
lib/libforeigndbio.a
25
lib/libforeigndbio.so
26
lib/libforeigndbio.so.2
27
lib/libnativedbio.a
28
lib/libnativedbio.so
29
lib/libnativedbio.so.2
30
lib/libqhacc.a
31
lib/libqhacc.so
32
lib/libqhacc.so.2
33
lib/libqhaccext.a
34
lib/libqhaccext.so
35
lib/libqhaccext.so.2
36
lib/libqifio.a
37
lib/libqifio.so
38
lib/libqifio.so.1
39
lib/libxmlio.a
40
lib/libxmlio.so
41
lib/libxmlio.so.1
42
lib/qhacc/accounts
43
lib/qhacc/memorized
44
lib/qhacc/plugins/db/libxmlio.so
45
lib/qhacc/plugins/export/libxmlio.so
46
lib/qhacc/plugins/import/libcliimpio.so
47
lib/qhacc/plugins/import/libcronio.so
48
lib/qhacc/plugins/import/libqifio.so
49
lib/qhacc/plugins/import/libxmlio.so
50
lib/qhacc/preferences
51
lib/qhacc/qhacc_es_ES.qm
52
lib/qhacc/transactions
53
%%PORTDOCS%%%%DOCSDIR%%/compiling.html
54
%%PORTDOCS%%%%DOCSDIR%%/faq.html
55
%%PORTDOCS%%%%DOCSDIR%%/formats.html
56
%%PORTDOCS%%%%DOCSDIR%%/index.html
57
%%PORTDOCS%%%%DOCSDIR%%/intro.html
58
%%PORTDOCS%%%%DOCSDIR%%/primer.html
59
%%PORTDOCS%%%%DOCSDIR%%/using.html
60
%%PORTDOCS%%@dirrm %%DOCSDIR%%
61
@dirrm lib/qhacc/plugins/import
62
@dirrm lib/qhacc/plugins/export
63
@dirrm lib/qhacc/plugins/db
64
@dirrm lib/qhacc/plugins
65
@dirrm lib/qhacc

Return to bug 55497