1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update MASTER_SITES and WWW: line

- Support PTHREAD_LIBS properly

PR:		162857
Submitted by:	Ports Fury
Feature safe:	yes
This commit is contained in:
Martin Wilke 2011-11-27 09:53:12 +00:00
parent d0a6117fa1
commit cae23db22b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286492
2 changed files with 19 additions and 15 deletions

View File

@ -10,7 +10,7 @@ PORTNAME= freecell-solver
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 @@ COMMENT= A program that automatically solves games of Freecell
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 @@ MAN6= fc-solve-board_gen.6 fc-solve.6 \
make_pysol_freecell_board.py.6 \
pi-make-microsoft-freecell-board.6
CFLAGS+= -I${LOCALBASE}/include
OPTIONS= TCMALLOC "Use Google's TCMalloc" off
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if defined(WITH_TCMALLOC)
LIB_DEPENDS+= tcmalloc.2:${PORTSDIR}/devel/google-perftools
@ -43,6 +43,9 @@ CMAKE_ARGS+= -DFCS_AVOID_TCMALLOC:BOOL=ON
.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 @@ post-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -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/