From 0c3120b08b554716c94315c63a4c0eef8538e50c Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 14 Jul 2004 12:20:51 +0000 Subject: Update to version 1.2 PR: ports/69000 Submitted by: Ports Fury --- deskutils/tuxcards/Makefile | 19 +++++----- deskutils/tuxcards/distinfo | 4 +-- ...rc::information::CInformationElementHistory.cpp | 11 ++++++ deskutils/tuxcards/pkg-plist | 40 +++++++++++----------- 4 files changed, 41 insertions(+), 33 deletions(-) create mode 100644 deskutils/tuxcards/files/patch-src::information::CInformationElementHistory.cpp (limited to 'deskutils/tuxcards') diff --git a/deskutils/tuxcards/Makefile b/deskutils/tuxcards/Makefile index 9c70cfabd97a..a29fd10a33d0 100644 --- a/deskutils/tuxcards/Makefile +++ b/deskutils/tuxcards/Makefile @@ -6,9 +6,10 @@ # PORTNAME= tuxcards -PORTVERSION= 1.1 +PORTVERSION= 1.2 CATEGORIES= deskutils -MASTER_SITES= http://www.tifskom.de/tux/${PORTVERSION}/ +MASTER_SITES= http://www.tifskom.de/tux/%SUBDIR%/ +MASTER_SITE_SUBDIR= ${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Tool for managing notes within a hierarchical tree @@ -16,26 +17,22 @@ COMMENT= Tool for managing notes within a hierarchical tree BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake USE_QT_VER= 3 -USE_REINPLACE= yes MAKE_ENV= QTDIR="${QT_PREFIX}" -post-patch: - @${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/tuxcards.pro - .include # Add this condititonal while people might still have old versions # of qmake, living in X11BASE, installed. This should go away eventually. .if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++) -do-configure: - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ - -spec ${X11BASE}/share/qt/mkspecs/freebsd-g++ tuxcards.pro +QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++ .else +QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ +.endif + do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ - -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ tuxcards.pro -.endif + -spec ${QMAKESPEC} tuxcards.pro do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin diff --git a/deskutils/tuxcards/distinfo b/deskutils/tuxcards/distinfo index 3b9b9e19cc47..677831f2f0ba 100644 --- a/deskutils/tuxcards/distinfo +++ b/deskutils/tuxcards/distinfo @@ -1,2 +1,2 @@ -MD5 (tuxcards-1.1.tar.gz) = 711da6fdabacd4c5f3a2491ca29fef36 -SIZE (tuxcards-1.1.tar.gz) = 233649 +MD5 (tuxcards-1.2.tar.gz) = ee85e2e5c23425fd031c62a5e2f6f248 +SIZE (tuxcards-1.2.tar.gz) = 203129 diff --git a/deskutils/tuxcards/files/patch-src::information::CInformationElementHistory.cpp b/deskutils/tuxcards/files/patch-src::information::CInformationElementHistory.cpp new file mode 100644 index 000000000000..ea97b21039a8 --- /dev/null +++ b/deskutils/tuxcards/files/patch-src::information::CInformationElementHistory.cpp @@ -0,0 +1,11 @@ +--- src/information/CInformationElementHistory.cpp.orig Fri Dec 5 07:22:09 2003 ++++ src/information/CInformationElementHistory.cpp Tue Jul 13 22:32:26 2004 +@@ -156,7 +156,7 @@ + + CInformationElement* pIE = mList.at(i); + std::cout<getDescription() : "NULLPTR"; ++ sDesc = (NULLPTR != pIE) ? pIE->getDescription() : QString("NULLPTR"); + std::cout<