Lines 7-29
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= freecell-solver |
9 |
PORTNAME= freecell-solver |
10 |
PORTVERSION= 2.14.0 |
10 |
PORTVERSION= 2.22.0 |
11 |
PORTREVISION= 2 |
|
|
12 |
CATEGORIES= games |
11 |
CATEGORIES= games |
13 |
MASTER_SITES= ${MASTER_SITE_BERLIOS} |
12 |
MASTER_SITES= BERLIOS/fc-solve |
14 |
MASTER_SITE_SUBDIR= fc-solve |
|
|
15 |
|
13 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= A program that automatically solves games of Freecell |
15 |
COMMENT= A program that automatically solves games of Freecell |
18 |
|
16 |
|
|
|
17 |
OPTIONS= JUDY "Use libJudy for states and stacks storage" off \ |
18 |
REDBLACK "Use libredblack for states and stacks storage" off |
19 |
|
19 |
USE_PERL5_BUILD= yes |
20 |
USE_PERL5_BUILD= yes |
20 |
USE_CMAKE= yes |
21 |
USE_CMAKE= yes |
21 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
22 |
|
23 |
|
23 |
.if !defined(NOPORTDOCS) |
|
|
24 |
PORTDOCS= AUTHORS README TODO USAGE README.win32.txt INSTALL |
25 |
.endif |
26 |
|
27 |
MAN6= fc-solve-board_gen.6 \ |
24 |
MAN6= fc-solve-board_gen.6 \ |
28 |
fc-solve.6 \ |
25 |
fc-solve.6 \ |
29 |
freecell-solver-range-parallel-solve.6 \ |
26 |
freecell-solver-range-parallel-solve.6 \ |
Lines 32-42
Link Here
|
32 |
make_pysol_freecell_board.py.6 \ |
29 |
make_pysol_freecell_board.py.6 \ |
33 |
pi-make-microsoft-freecell-board.6 |
30 |
pi-make-microsoft-freecell-board.6 |
34 |
|
31 |
|
35 |
.if !defined(NOPORTDOCS) |
32 |
CFLAGS+= -I${LOCALBASE}/include |
|
|
33 |
|
34 |
.if defined(WITH_JUDY) && defined(WITH_REDBLACK) |
35 |
IGNORE= you cannot enable both JUDY and REDBLACK |
36 |
.endif |
37 |
|
38 |
.if defined(WITH_JUDY) |
39 |
LIB_DEPENDS+= Judy.1:${PORTSDIR}/devel/judy |
40 |
CMAKE_ARGS+= -DFCS_STACK_STORAGE="FCS_STACK_STORAGE_JUDY" \ |
41 |
-DFCS_STATE_STORAGE="FCS_STATE_STORAGE_JUDY" |
42 |
.endif |
43 |
|
44 |
.if defined(WITH_REDBLACK) |
45 |
LIB_DEPENDS+= redblack.2:${PORTSDIR}/devel/libredblack |
46 |
CMAKE_ARGS+= -DFCS_STACK_STORAGE="FCS_STACK_STORAGE_LIBREDBLACK_TREE" \ |
47 |
-DFCS_STATE_STORAGE="FCS_STATE_STORAGE_LIBREDBLACK_TREE" |
48 |
.endif |
49 |
|
36 |
post-install: |
50 |
post-install: |
37 |
${MKDIR} ${DOCSDIR} |
51 |
.if !defined(NOPORTDOCS) |
38 |
.for DOCFILE in ${PORTDOCS} |
52 |
@${MKDIR} ${DOCSDIR} |
39 |
${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR} |
53 |
.for file in AUTHORS INSTALL README README.win32.txt TODO USAGE |
|
|
54 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
40 |
.endfor |
55 |
.endfor |
41 |
.endif |
56 |
.endif |
42 |
|
57 |
|