aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-21 19:30:12 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-21 19:30:12 +0000
commit02098456ff30a47d75bd8d45fbc8b8ea2ae686c8 (patch)
treea80dbf4212fc795e22767de05a620f4b8f2cb5c3 /finance
parent9f8dcbc149c26ecfaa227a996c67e90dff1678a0 (diff)
downloadports-02098456ff30a47d75bd8d45fbc8b8ea2ae686c8.tar.gz
ports-02098456ff30a47d75bd8d45fbc8b8ea2ae686c8.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/qhacc/Makefile28
-rw-r--r--finance/qhacc/distinfo2
-rw-r--r--finance/qhacc/pkg-plist1
3 files changed, 16 insertions, 15 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile
index dccb2fd5d9ca..b8d61f4dc6cd 100644
--- a/finance/qhacc/Makefile
+++ b/finance/qhacc/Makefile
@@ -6,34 +6,34 @@
#
PORTNAME= qhacc
-PORTVERSION= 1.4
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
- ftp://ftp.ostrich-emulators.cx/qhacc/
+PORTVERSION= 2.4
+CATEGORIES= finance
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= kde@freebsd.org
+MAINTAINER= kde@FreeBSD.org
-USE_REINPLACE= yes
-USE_QT_VER= 2
+USE_QT_VER= 3
USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-qt-moc=${X11BASE}/bin \
- --with-qt-libs=${X11BASE}/lib
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-qt-moc=${QT_PREFIX}/bin \
+ --with-qt-libs=${QT_PREFIX}/lib
post-extract:
@${RM} -f ${WRKSRC}/src/moc_*.cpp
pre-patch:
-.for file in configure src/Makefile.in
- @${REINPLACE_CMD} -e 's|/moc|/${MOC:T}|g ; \
- s|-lqt|-l${QTNAME}|g ; \
- s|-O2 -Wall|\@CXXFLAGS\@|g' ${WRKSRC}/${file}
-.endfor
+ @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^CXXFLAGS =.*$$|CXXFLAGS = \@CXXFLAGS\@|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
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/finance/qhacc/distinfo b/finance/qhacc/distinfo
index 1492eab4578a..7c4621f6ae4e 100644
--- a/finance/qhacc/distinfo
+++ b/finance/qhacc/distinfo
@@ -1 +1 @@
-MD5 (qhacc-1.4.tar.gz) = 5cc9cb98286d44badedca3de77ee4c4c
+MD5 (qhacc-2.4.tar.gz) = 37a27b49e707e4656e47bed73c2c0c81
diff --git a/finance/qhacc/pkg-plist b/finance/qhacc/pkg-plist
index 13c9d4fd0f2d..bbed25856c5a 100644
--- a/finance/qhacc/pkg-plist
+++ b/finance/qhacc/pkg-plist
@@ -7,5 +7,6 @@ bin/qhacc
%%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