--- games/freecell-solver/Makefile 2011-11-14 16:25:13.000000000 +0900 +++ games/freecell-solver/Makefile 2011-11-15 02:17:15.000000000 +0900 @@ -10,7 +10,7 @@ PORTVERSION= 3.8.0 PORTREVISION= 1 CATEGORIES= games -MASTER_SITES= BERLIOS/fc-solve +MASTER_SITES= http://fc-solve.shlomifish.org/downloads/fc-solve/ MAINTAINER= ports@FreeBSD.org COMMENT= A program that automatically solves games of Freecell @@ -18,11 +18,15 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING.txt -USE_BZIP2= yes -USE_PERL5_BUILD= yes -USE_CMAKE= yes -USE_LDCONFIG= yes -MAKE_JOBS_SAFE= yes +OPTIONS= TCMALLOC "Use Google's TCMalloc" off + +USE_BZIP2= yes +USE_PERL5_BUILD=yes +USE_CMAKE= yes +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +CFLAGS+= -I${LOCALBASE}/include MAN6= fc-solve-board_gen.6 fc-solve.6 \ freecell-solver-range-parallel-solve.6 \ @@ -30,11 +34,7 @@ make_pysol_freecell_board.py.6 \ pi-make-microsoft-freecell-board.6 -CFLAGS+= -I${LOCALBASE}/include - -OPTIONS= TCMALLOC "Use Google's TCMalloc" off - -.include +.include .if defined(WITH_TCMALLOC) LIB_DEPENDS+= tcmalloc.2:${PORTSDIR}/devel/google-perftools @@ -43,6 +43,9 @@ .endif post-patch: +.for f in CMakeLists.txt + @${REINPLACE_CMD} -e 's|"pthread"|"${PTHREAD_LIBS}"|' ${WRKSRC}/${f} +.endfor .for f in children-playing-ball.sh sentient-pearls.sh @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/Presets/presets/${f} .endfor @@ -62,4 +65,4 @@ .endfor .endif -.include +.include --- games/freecell-solver/pkg-descr 2011-08-09 23:29:05.000000000 +0900 +++ games/freecell-solver/pkg-descr 2011-11-13 15:57:38.000000000 +0900 @@ -1,4 +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 games of +Freecell and similar Solitaire variants such as Eight Off, Forecell and +Seahaven Towers. -WWW: http://fc-solve.berlios.de/ +WWW: http://fc-solve.shlomifish.org/