Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 02:50:47 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/179223: games/freecell-solver: Update to version 1.18.1
Message-ID:  <20130603025047.4b2ef4c736b7d678c372ad63@yahoo.com>
Resent-Message-ID: <201306021810.r52IA6tV099559@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179223
>Category:       ports
>Synopsis:       games/freecell-solver: Update to version 1.18.1
>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 Jun 02 18:10:06 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.18.1

Remove file:
files/patch-Common.cmake
files/patch-board_gen__CMaleLists.txt

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/freecell-solver/Makefile games/freecell-solver/Makefile
--- /usr/ports/games/freecell-solver/Makefile	2013-03-23 05:54:37.000000000 +0900
+++ games/freecell-solver/Makefile	2013-06-03 00:00:00.000000000 +0900
@@ -2,12 +2,12 @@
 # $FreeBSD: head/games/freecell-solver/Makefile 314960 2013-03-22 20:06:14Z makc $
 
 PORTNAME=	freecell-solver
-PORTVERSION=	3.16.0
+PORTVERSION=	3.18.1
 CATEGORIES=	games
 MASTER_SITES=	http://fc-solve.shlomifish.org/downloads/fc-solve/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A program that automatically solves games of Freecell
+COMMENT=	Open source framework for solving Freecell
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
@@ -16,8 +16,9 @@
 TCMALLOC_DESC=	Use Google's TCMalloc
 
 USE_BZIP2=	yes
+USES=		cmake:outsource
 USE_PERL5_BUILD=yes
-USES=		cmake
+CMAKE_ARGS=	-DFCS_WITH_TEST_SUITE:BOOL=OFF
 USE_LDCONFIG=	yes
 MAKE_JOBS_SAFE=	yes
 
@@ -39,7 +40,10 @@
 
 post-patch:
 .for f in CMakeLists.txt
-	@${REINPLACE_CMD} -e 's|"pthread"|"${PTHREAD_LIBS}"|' ${WRKSRC}/${f}
+	@${REINPLACE_CMD} -e 's|"pthread"|"-pthread"|' ${WRKSRC}/${f}
+.endfor
+.for f in Shlomif_Common.cmake
+	@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/cmake/${f}
 .endfor
 .for f in children-playing-ball.sh sentient-pearls.sh
 	@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/Presets/presets/${f}
diff -urN /usr/ports/games/freecell-solver/distinfo games/freecell-solver/distinfo
--- /usr/ports/games/freecell-solver/distinfo	2013-01-16 19:39:35.000000000 +0900
+++ games/freecell-solver/distinfo	2013-06-03 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (freecell-solver-3.16.0.tar.bz2) = c294fab18d895c116d6c17972ea1a11147c26995d4087f1711937d3fa295058e
-SIZE (freecell-solver-3.16.0.tar.bz2) = 658981
+SHA256 (freecell-solver-3.18.1.tar.bz2) = d883fe9aeed4f0ad25e6b4b167dd18b68d98baba43029f12e508ecb46be9f473
+SIZE (freecell-solver-3.18.1.tar.bz2) = 552744
diff -urN /usr/ports/games/freecell-solver/files/patch-Common.cmake games/freecell-solver/files/patch-Common.cmake
--- /usr/ports/games/freecell-solver/files/patch-Common.cmake	2012-11-08 07:26:21.000000000 +0900
+++ games/freecell-solver/files/patch-Common.cmake	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- Common.cmake.orig	2009-01-26 21:46:25.000000000 +0800
-+++ Common.cmake	2009-01-26 21:46:40.000000000 +0800
-@@ -84,7 +84,7 @@
-         FILES
-             ${SOURCE}
-         DESTINATION
--            "share/man/man${SECTION}"
-+            "man/man${SECTION}"
-    )
- ENDMACRO(INSTALL_MAN)
- 
diff -urN /usr/ports/games/freecell-solver/files/patch-board_gen__CMaleLists.txt games/freecell-solver/files/patch-board_gen__CMaleLists.txt
--- /usr/ports/games/freecell-solver/files/patch-board_gen__CMaleLists.txt	2013-01-16 19:39:35.000000000 +0900
+++ games/freecell-solver/files/patch-board_gen__CMaleLists.txt	1970-01-01 09:00:00.000000000 +0900
@@ -1,37 +0,0 @@
---- board_gen/CMakeLists.txt.orig	2012-06-08 07:31:57.000000000 +0900
-+++ board_gen/CMakeLists.txt	2012-06-14 19:58:34.000000000 +0900
-@@ -20,25 +20,6 @@
-     pi_make_microsoft_freecell_board.c
- )
- 
--SET (make_pysol "make_pysol_freecell_board.py")
--SET (_dest "${CMAKE_CURRENT_BINARY_DIR}/${make_pysol}")
--SET (_src  "${CMAKE_CURRENT_SOURCE_DIR}/${make_pysol}")
--
--# Adapted from:
--# http://stackoverflow.com/questions/697560/how-to-copy-directory-from-source-tree-to-binary-tree
--ADD_CUSTOM_COMMAND(
--    OUTPUT "${_dest}"
--    DEPENDS "${_src}"
--    COMMAND "${CMAKE_COMMAND}" "-E" "copy" "${_src}" "${_dest}"
--)
--
--ADD_CUSTOM_TARGET(
--    "make_pysol_board"
--    ALL DEPENDS "${_dest}"
--)
--
--SET (_make_py_dest "${_dest}")
--
- RUN_POD2MAN(
-     "${CMAKE_CURRENT_SOURCE_DIR}/fc-solve-board_gen.pod"
-     "fc-solve-board_gen.6"
-@@ -67,7 +48,7 @@
- 
- INSTALL(
-     PROGRAMS
--        "${_make_py_dest}"
-+        "make_pysol_freecell_board.py"
-     DESTINATION
-         "bin"
- )
diff -urN /usr/ports/games/freecell-solver/pkg-descr games/freecell-solver/pkg-descr
--- /usr/ports/games/freecell-solver/pkg-descr	2012-11-08 07:26:21.000000000 +0900
+++ games/freecell-solver/pkg-descr	2013-06-03 00:00:00.000000000 +0900
@@ -1,5 +1,5 @@
-This is Freecell Solver - a program that automatically solves games of
-Freecell and similar Solitaire variants such as Eight Off, Forecell and
-Seahaven Towers. 
+This is Freecell Solver - a program that automatically solves layouts of
+Freecell and similar variants of Card Solitaire such as Eight Off,
+Forecell, and Seahaven Towers, as well as Simple Simon boards. 
 
 WWW: http://fc-solve.shlomifish.org/
>Release-Note:
>Audit-Trail:
>Unformatted:



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