aboutsummaryrefslogtreecommitdiff
path: root/games/freecell-solver
diff options
context:
space:
mode:
authorArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:29:14 +0000
committerArmin Pirkovitsch <sperber@FreeBSD.org>2012-07-19 17:29:14 +0000
commit735ef45696a481a46bcf9ec427bc9c054a2f8386 (patch)
tree76e1428e37aa4fac9bb9ef92ba8f78c3036edf0b /games/freecell-solver
parentc250efb40f6dfb719b66ad11ac47f79dd3104363 (diff)
downloadports-735ef45696a481a46bcf9ec427bc9c054a2f8386.tar.gz
ports-735ef45696a481a46bcf9ec427bc9c054a2f8386.zip
- Update to version 3.12.0
PR: ports/169414 Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com> Approved by: beat (mentor)
Notes
Notes: svn path=/head/; revision=301169
Diffstat (limited to 'games/freecell-solver')
-rw-r--r--games/freecell-solver/Makefile4
-rw-r--r--games/freecell-solver/distinfo4
-rw-r--r--games/freecell-solver/files/patch-board_gen__CMaleLists.txt37
-rw-r--r--games/freecell-solver/pkg-plist1
4 files changed, 42 insertions, 4 deletions
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index 6e651f0e3d05..9dccaca6d52d 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= freecell-solver
-PORTVERSION= 3.10.0
+PORTVERSION= 3.12.0
CATEGORIES= games
MASTER_SITES= http://fc-solve.shlomifish.org/downloads/fc-solve/
@@ -37,7 +37,7 @@ MAN6= fc-solve-board_gen.6 fc-solve.6 \
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTCMALLOC}
-LIB_DEPENDS+= tcmalloc.2:${PORTSDIR}/devel/google-perftools
+LIB_DEPENDS+= tcmalloc:${PORTSDIR}/devel/google-perftools
.else
CMAKE_ARGS+= -DFCS_AVOID_TCMALLOC:BOOL=ON
.endif
diff --git a/games/freecell-solver/distinfo b/games/freecell-solver/distinfo
index 71394ba3dd57..cd28838c5a6b 100644
--- a/games/freecell-solver/distinfo
+++ b/games/freecell-solver/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freecell-solver-3.10.0.tar.bz2) = 49e17d5de40c619d3eeb77fe47a1abfebefdf494ef3177397180fb0719cbbca7
-SIZE (freecell-solver-3.10.0.tar.bz2) = 460792
+SHA256 (freecell-solver-3.12.0.tar.bz2) = 6396d7549450d15b09fa892947d8bcc87285f2b8fe9d4fd3203099944ce92d08
+SIZE (freecell-solver-3.12.0.tar.bz2) = 511071
diff --git a/games/freecell-solver/files/patch-board_gen__CMaleLists.txt b/games/freecell-solver/files/patch-board_gen__CMaleLists.txt
new file mode 100644
index 000000000000..e87ba6f945f5
--- /dev/null
+++ b/games/freecell-solver/files/patch-board_gen__CMaleLists.txt
@@ -0,0 +1,37 @@
+--- 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}"
+- 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 --git a/games/freecell-solver/pkg-plist b/games/freecell-solver/pkg-plist
index 14bb1b88b4d7..ec1433ad5cc2 100644
--- a/games/freecell-solver/pkg-plist
+++ b/games/freecell-solver/pkg-plist
@@ -45,6 +45,7 @@ libdata/pkgconfig/libfreecell-solver.pc
%%DATADIR%%/presets/sentient-pearls.sh
%%DATADIR%%/presets/tea-for-two.sh
%%DATADIR%%/presets/the-iglu-cabal.sh
+%%DATADIR%%/presets/three-eighty.sh
%%DATADIR%%/presets/toons-for-twenty-somethings.sh
%%DATADIR%%/presets/yellow-brick-road.sh
@dirrm %%DATADIR%%/presets