Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 14:42:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408412 - head/games/pokerth
Message-ID:  <201602071442.u17EgDR5097387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  7 14:42:13 2016
New Revision: 408412
URL: https://svnweb.freebsd.org/changeset/ports/408412

Log:
  - Fix LICENSE
  - Fix build with boost 1.60
  - Strip binary
  
  Approved by:	portmgr blanket

Modified:
  head/games/pokerth/Makefile

Modified: head/games/pokerth/Makefile
==============================================================================
--- head/games/pokerth/Makefile	Sun Feb  7 14:35:15 2016	(r408411)
+++ head/games/pokerth/Makefile	Sun Feb  7 14:42:13 2016	(r408412)
@@ -11,7 +11,7 @@ DISTNAME=	PokerTH-${PORTVERSION}-src
 MAINTAINER=	madpilot@FreeBSD.org
 COMMENT=	Poker game written in C++/Qt4
 
-LICENSE=	GPLv2
+LICENSE=	AGPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libboost_thread.so:${PORTSDIR}/devel/boost-libs \
@@ -40,8 +40,11 @@ post-patch:
 		-e 's|LIB_DIRS =.*|LIB_DIRS = ${LOCALBASE}/lib|g' \
 		-e '/.*QMAKE_CXXFLAGS.*/d' \
 		${WRKSRC}/*.pro
+	@${FIND} ${WRKSRC} -name '*.cpp' -print0 | ${XARGS} -0 \
+		${REINPLACE_CMD} -e 's|[io]fstream|std::&|'
 
 post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pokerth
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/pokerth_server ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/docs/pokerth.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071442.u17EgDR5097387>