aboutsummaryrefslogtreecommitdiffstats
path: root/finance/qhacc
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2002-11-22 03:30:12 +0800
committerarved <arved@FreeBSD.org>2002-11-22 03:30:12 +0800
commit8e65f037c47b063f68357c9384244000422dcc1f (patch)
tree0459edda1d9e0d3766f2f1fc8411d7e3a9bf6773 /finance/qhacc
parentcadeba3e425556645df588d3880e1c03d467953f (diff)
downloadfreebsd-ports-gnome-8e65f037c47b063f68357c9384244000422dcc1f.tar.gz
freebsd-ports-gnome-8e65f037c47b063f68357c9384244000422dcc1f.tar.zst
freebsd-ports-gnome-8e65f037c47b063f68357c9384244000422dcc1f.zip
Adjust CATEGORIES after Repocopy.
Update to 2.4 PR: 43702 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'finance/qhacc')
-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