Date: Sun, 8 May 2005 22:00:14 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80767: Update port: games/kcheckers Message-ID: <20050508220014.161dd06a.tkato432@yahoo.com> Resent-Message-ID: <200505081310.j48DA2GR002068@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80767 >Category: ports >Synopsis: Update port: games/kcheckers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 08 13:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p7 i386 >Organization: >Environment: >Description: - Fix build on 4-stable - Update MASTER_SITES and WWW: line - Support PREFIX properly - Support PLIST_FILES/PLIST_DIRS New file: files/patch-view.cc Remove file pkg-plist >How-To-Repeat: >Fix: diff -urN /usr/ports/games/kcheckers/Makefile games/kcheckers/Makefile --- /usr/ports/games/kcheckers/Makefile Sun May 8 00:16:54 2005 +++ games/kcheckers/Makefile Sun May 8 00:19:57 2005 @@ -6,8 +6,9 @@ PORTNAME= kcheckers PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= http://kcheckers.osdn.org.ua/ +MASTER_SITES= http://kcheckers.org/ MAINTAINER= ports@FreeBSD.org COMMENT= Qt version of the classic boardgame checkers @@ -15,7 +16,19 @@ BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake USE_QT_VER= 3 -MAKE_ENV= QTDIR="${X11BASE}" +USE_REINPLACE= yes +MAKE_ENV= QTDIR="${QT_PREFIX}" + +PLIST_FILES= bin/kcheckers %%DATADIR%%/kcheckers.pdn +PLIST_DIRS= %%DATADIR%% + +.if !defined(NOPORTDOCS) +PORTDOCS= AUTHORS ChangeLog README +.endif + +post-patch: + cd ${WRKSRC} && ${REINPLACE_CMD} -e \ + 's|/usr/local/share/kcheckers|${DATADIR}|g' kcheckers.pro do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \ @@ -27,7 +40,9 @@ ${INSTALL_DATA} ${WRKSRC}/kcheckers.pdn ${DATADIR} .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}; ${INSTALL_DATA} README AUTHORS ChangeLog ${DOCSDIR} +.for file in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor .endif .include <bsd.port.mk> diff -urN /usr/ports/games/kcheckers/files/patch-view.cc games/kcheckers/files/patch-view.cc --- /usr/ports/games/kcheckers/files/patch-view.cc Thu Jan 1 09:00:00 1970 +++ games/kcheckers/files/patch-view.cc Sat May 7 22:50:07 2005 @@ -0,0 +1,11 @@ +--- view.cc.orig Wed Apr 6 15:14:58 2005 ++++ view.cc Sat May 7 22:35:53 2005 +@@ -632,7 +632,7 @@ + m_game_over = true; //aw??? + m_aborted = true; + +- QString text(tr("Game aborted.")+(!msg.isEmpty() ? "\n"+msg : "")); ++ QString text(tr("Game aborted.")+(!msg.isEmpty() ? QString("\n") +msg : QString(""))); + m_status->setText(text); + + emit working(false); diff -urN /usr/ports/games/kcheckers/pkg-descr games/kcheckers/pkg-descr --- /usr/ports/games/kcheckers/pkg-descr Fri Jan 9 04:56:52 2004 +++ games/kcheckers/pkg-descr Sat May 7 22:46:17 2005 @@ -1,5 +1,5 @@ Qt version of the classic boardgame "checkers". This game is also known as "draughts". -WWW: http://kcheckers.osdn.org.ua/ +WWW: http://kcheckers.org/ Author: Andi Peredri <andi@ukr.net> diff -urN /usr/ports/games/kcheckers/pkg-plist games/kcheckers/pkg-plist --- /usr/ports/games/kcheckers/pkg-plist Fri Sep 3 19:54:52 2004 +++ games/kcheckers/pkg-plist Thu Jan 1 09:00:00 1970 @@ -1,7 +0,0 @@ -bin/kcheckers -share/kcheckers/kcheckers.pdn -%%DOCSDIR%%/README -%%DOCSDIR%%/AUTHORS -%%DOCSDIR%%/ChangeLog -@dirrm %%DOCSDIR%% -@dirrm share/kcheckers >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050508220014.161dd06a.tkato432>