Bug 181065 - finance/qhacc: Update to version 4.2
Summary: finance/qhacc: Update to version 4.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 19:10 UTC by tkato432
Modified: 2013-11-01 23:50 UTC (History)
0 users

See Also:


Attachments
file.diff (924 bytes, patch)
2013-08-05 19:10 UTC, tkato432
no flags Details | Diff
finance_qhacc.diff (2.94 KB, patch)
2013-10-14 18:50 UTC, tkato432
no flags Details | Diff
finance_qhacc.diff (2.96 KB, patch)
2013-10-26 18:45 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-08-05 19:10:03 UTC
- Update to version 4.2
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-05 19:11:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:10:51 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 3 tkato432 2013-10-14 18:50:39 UTC
Remake of the patch against current tree.
Comment 4 tkato432 2013-10-26 18:45:07 UTC
Remake of the patch against current tree.
Comment 5 Pawel Pekala freebsd_committer freebsd_triage 2013-11-01 23:33:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-11-01 23:48:06 UTC
Author: pawel
Date: Fri Nov  1 23:47:58 2013
New Revision: 332427
URL: http://svnweb.freebsd.org/changeset/ports/332427

Log:
  - Update to version 4.2
  - Support staging
  
  PR:		ports/181065
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/finance/qhacc/Makefile
  head/finance/qhacc/distinfo

Modified: head/finance/qhacc/Makefile
==============================================================================
--- head/finance/qhacc/Makefile	Fri Nov  1 23:32:10 2013	(r332426)
+++ head/finance/qhacc/Makefile	Fri Nov  1 23:47:58 2013	(r332427)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	qhacc
-PORTVERSION=	4.1
-PORTREVISION=	1
+PORTVERSION=	4.2
 CATEGORIES=	finance
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 EXTRACT_SUFX=	.tgz
@@ -15,31 +14,26 @@ LICENSE=	GPLv2 # (or later)
 
 LIB_DEPENDS=	libqwt6.so:${PORTSDIR}/x11-toolkits/qwt6
 
-OPTIONS_DEFINE=	DOCS DEBUG
+OPTIONS_DEFINE=	DOCS
 
-USES=		qmake
+USES=		qmake:norecursive
 USE_QT4=	corelib gui sql moc_build qmake_build rcc_build uic_build
+QMAKE_ARGS=	${QMAKEFLAGS}
 USE_GCC=	yes
 USE_LDCONFIG=	yes
 
 CXXFLAGS+=	-fpermissive
 
-DESKTOP_ENTRIES="QHacc" "Financial manager" "" "${PORTNAME}" "" ""
+DESKTOP_ENTRIES="QHacc" "" "" "${PORTNAME}" "" ""
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDEBUG}
-BUILD_TYPE=	debug
-.else
-BUILD_TYPE=	release
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^INSTALLDIR/s|=.*|=${DATADIR}| ; \
 		 /^QWTINCS/s|=.*|=${LOCALBASE}/include/qwt6| ; \
 		 /^QWTLIBS/s|=.*|=${LOCALBASE}/lib -lqwt6| ; \
-		 /^CONFIG +=/s|debug|${BUILD_TYPE}|' ${WRKSRC}/user.pri
+		 /+= debug/s|^|#|' ${WRKSRC}/user.pri
 	@${REINPLACE_CMD} -e \
 		's|/usr/include|${LOCALBASE}/include| ; \
 		 s|-lqwt||' ${WRKSRC}/gui/gui.pro
@@ -47,20 +41,18 @@ post-patch:
 		's|/../qm/|/../share/qhacc/|' ${WRKSRC}/gui/main.cpp
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gui/build/${BUILD_TYPE}/qhacc \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_LIB} ${WRKSRC}/engine/build/${BUILD_TYPE}/libengine.so.1.0.0 \
-		${STAGEDIR}${PREFIX}/lib
+	(cd ${WRKSRC}/gui/build/release && ${INSTALL_PROGRAM} \
+		qhacc ${STAGEDIR}${PREFIX}/bin)
+	(cd ${WRKSRC}/engine/build/release && ${INSTALL_DATA} \
+		libengine.so.1.0.0 ${STAGEDIR}${PREFIX}/lib)
 	@${LN} -sf libengine.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libengine.so
 	@${LN} -sf libengine.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libengine.so.1
 	@${LN} -sf libengine.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libengine.so.1.0
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/qm/*.qm ${STAGEDIR}${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
+	(cd ${WRKSRC}/qm && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR})
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in AUTHORS ChangeLog README THANKS TODO UPGRADE
-	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/finance/qhacc/distinfo
==============================================================================
--- head/finance/qhacc/distinfo	Fri Nov  1 23:32:10 2013	(r332426)
+++ head/finance/qhacc/distinfo	Fri Nov  1 23:47:58 2013	(r332427)
@@ -1,2 +1,2 @@
-SHA256 (qhacc-4.1.tgz) = b00eb62914d2e9da6b2a6996467de0fc92e8cf13ef7c334a6a49c17dde0dca7d
-SIZE (qhacc-4.1.tgz) = 131163
+SHA256 (qhacc-4.2.tgz) = e432006ba24a930ebc2cf8ced29a27de7ace9fdefe780d6bccb17aeb0419dc53
+SIZE (qhacc-4.2.tgz) = 135066
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Pawel Pekala freebsd_committer freebsd_triage 2013-11-01 23:48:09 UTC
State Changed
From-To: open->closed

Committed. Thanks!