From owner-svn-ports-all@FreeBSD.ORG Sat Dec 28 18:05:21 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB73945F; Sat, 28 Dec 2013 18:05:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8AE8E1EF3; Sat, 28 Dec 2013 18:05:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBSI5Lqi089784; Sat, 28 Dec 2013 18:05:21 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBSI5Kp6089778; Sat, 28 Dec 2013 18:05:20 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201312281805.rBSI5Kp6089778@svn.freebsd.org> From: Pawel Pekala Date: Sat, 28 Dec 2013 18:05:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r337892 - in branches/2014Q1/games/djgame2: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Dec 2013 18:05:21 -0000 Author: pawel Date: Sat Dec 28 18:05:20 2013 New Revision: 337892 URL: http://svnweb.freebsd.org/changeset/ports/337892 Log: MFH: r337784 - Fix build with clang - Use multiple make jobs - Strip binaries - Support staging Approved by: portmgr Added: branches/2014Q1/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp - copied unchanged from r337784, head/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp branches/2014Q1/games/djgame2/files/patch-Shisensho__src__DJGameRank.h - copied unchanged from r337784, head/games/djgame2/files/patch-Shisensho__src__DJGameRank.h branches/2014Q1/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp - copied unchanged from r337784, head/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp Modified: branches/2014Q1/games/djgame2/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/games/djgame2/Makefile ============================================================================== --- branches/2014Q1/games/djgame2/Makefile Sat Dec 28 18:03:56 2013 (r337891) +++ branches/2014Q1/games/djgame2/Makefile Sat Dec 28 18:05:20 2013 (r337892) @@ -3,7 +3,7 @@ PORTNAME= djgame2 PORTVERSION= 3.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= http://www.bluedj.com/download/src/ DISTNAME= source-${PORTVERSION} @@ -15,13 +15,14 @@ COMMENT= bluedj contains many popular on NO_BUILD= yes USE_ZIP= yes USE_QT4= gui qt3support qmake_build uic_build rcc_build moc_build svg +USES= dos2unix +DOS2UNIX_FILES= Base/src/DJGraphicsChessTimerItem.cpp WRKSRC= ${WRKDIR}/${DISTNAME} DATADIR= ${PREFIX}/share/djgame2 SUB_FILES= djgame2.desktop startdjg -NO_STAGE= yes post-patch: ${RM} -f ${WRKSRC}/Hall/HallRes/platform/x11/install @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \ @@ -29,6 +30,7 @@ post-patch: @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \ ${WRKSRC}/make_linux_output @${REINPLACE_CMD} -e 's|qmake|${QMAKE} ${QMAKE_ARGS}|' \ + -e 's|make$$|make -j${MAKE_JOBS_NUMBER}|' \ ${WRKSRC}/make_linux_output @${ECHO_CMD} "INCLUDEPATH += ${LOCALBASE}/include" \ >> ${WRKSRC}/Base/Base.pro @@ -40,10 +42,13 @@ do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./make_linux_output do-install: - ${MKDIR} ${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/Hall/build; ${TAR} -cf - *) | \ - ${TAR} -xf - -C ${DATADIR} - ${INSTALL_DATA} ${WRKDIR}/djgame2.desktop ${PREFIX}/share/applications - ${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${PREFIX}/bin + ${TAR} -xf - -C ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKDIR}/djgame2.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${STAGEDIR}${PREFIX}/bin + @(cd ${STAGEDIR}${DATADIR} && ${STRIP_CMD} modules/*.so Hall \ + UpdateHall libBase.so.1) .include Copied: branches/2014Q1/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp (from r337784, head/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp Sat Dec 28 18:05:20 2013 (r337892, copy of r337784, head/games/djgame2/files/patch-Base__src__DJGraphicsChessTimerItem.cpp) @@ -0,0 +1,10 @@ +--- ./Base/src/DJGraphicsChessTimerItem.cpp.orig 2013-12-27 20:08:04.531116404 +0100 ++++ ./Base/src/DJGraphicsChessTimerItem.cpp 2013-12-27 20:08:30.220122689 +0100 +@@ -19,6 +19,7 @@ + //Contact us at ggwizard@gmail.com or darkdong@gmail.com. + //****************************************************************************/ + ++#include + #include "DJGraphicsChessTimerItem.h" + #include "DJGraphicsTextItem.h" + #include "DJDesktop.h" Copied: branches/2014Q1/games/djgame2/files/patch-Shisensho__src__DJGameRank.h (from r337784, head/games/djgame2/files/patch-Shisensho__src__DJGameRank.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/games/djgame2/files/patch-Shisensho__src__DJGameRank.h Sat Dec 28 18:05:20 2013 (r337892, copy of r337784, head/games/djgame2/files/patch-Shisensho__src__DJGameRank.h) @@ -0,0 +1,10 @@ +--- ./Shisensho/src/DJGameRank.h.orig 2008-03-11 13:17:22.000000000 +0100 ++++ ./Shisensho/src/DJGameRank.h 2013-12-27 20:07:09.040179358 +0100 +@@ -22,6 +22,7 @@ + #ifndef DJGAMERANK_H + #define DJGAMERANK_H + ++#include + #include "DJTreeWidget.h" + #include "protocol.h" + Copied: branches/2014Q1/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp (from r337784, head/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2014Q1/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp Sat Dec 28 18:05:20 2013 (r337892, copy of r337784, head/games/djgame2/files/patch-Shisensho__src__LLKPanelController.cpp) @@ -0,0 +1,17 @@ +--- ./Shisensho/src/LLKPanelController.cpp.orig 2008-03-19 12:20:04.000000000 +0100 ++++ ./Shisensho/src/LLKPanelController.cpp 2013-12-27 20:07:09.043178203 +0100 +@@ -19,6 +19,7 @@ + //Contact us at ggwizard@gmail.com or darkdong@gmail.com. + //****************************************************************************/ + ++#include + #include "LLKPanelController.h" + #include "LLKDesktopController.h" + #include "DJGameController.h" +@@ -61,4 +62,4 @@ + break; + } + DJPanelController::gameTrace(gameTrace); +-} +\ No newline at end of file ++}