aboutsummaryrefslogtreecommitdiff
path: root/games/freecell-solver
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-09-29 13:47:40 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-09-29 13:47:40 +0000
commite65c7a819647eaef5abeaf586be38131265a7ab4 (patch)
tree7839c00cb24fe9e36ca691b915277ef6876b2219 /games/freecell-solver
parentb43fa6c5732133070ffa65c029eacd1933cfbb4f (diff)
downloadports-e65c7a819647eaef5abeaf586be38131265a7ab4.tar.gz
ports-e65c7a819647eaef5abeaf586be38131265a7ab4.zip
Notes
Diffstat (limited to 'games/freecell-solver')
-rw-r--r--games/freecell-solver/Makefile24
-rw-r--r--games/freecell-solver/pkg-plist7
2 files changed, 13 insertions, 18 deletions
diff --git a/games/freecell-solver/Makefile b/games/freecell-solver/Makefile
index af995b37f431..4b61f2410006 100644
--- a/games/freecell-solver/Makefile
+++ b/games/freecell-solver/Makefile
@@ -6,11 +6,10 @@ PORTVERSION= 3.20.1
CATEGORIES= games
MASTER_SITES= http://fc-solve.shlomifish.org/downloads/fc-solve/
-MAINTAINER= danilogondolfo@gmail.com
+MAINTAINER= danilo@FreeBSD.org
COMMENT= Open source framework for solving Freecell
LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/COPYING.txt
OPTIONS_DEFINE= TCMALLOC DOCS EXAMPLES
TCMALLOC_DESC= Use Google's TCMalloc
@@ -23,17 +22,10 @@ USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include
-MAN6= fc-solve-board_gen.6 fc-solve.6 \
- freecell-solver-range-parallel-solve.6 \
- make-aisleriot-freecell-board.6 make-gnome-freecell-board.6 \
- make_pysol_freecell_board.py.6 \
- pi-make-microsoft-freecell-board.6
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTCMALLOC}
-LIB_DEPENDS+= tcmalloc:${PORTSDIR}/devel/google-perftools
+LIB_DEPENDS+= libtcmalloc.so:${PORTSDIR}/devel/google-perftools
.else
CMAKE_ARGS+= -DFCS_AVOID_TCMALLOC:BOOL=ON
.endif
@@ -50,18 +42,14 @@ post-patch:
.endfor
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS.txt HACKING.txt INSTALL.txt NEWS.txt README.txt \
README.win32.txt TODO.txt USAGE.txt
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ctypes-test.py
- ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/games/freecell-solver/pkg-plist b/games/freecell-solver/pkg-plist
index 247150f95d59..404f72cd3714 100644
--- a/games/freecell-solver/pkg-plist
+++ b/games/freecell-solver/pkg-plist
@@ -53,6 +53,13 @@ libdata/pkgconfig/libfreecell-solver.pc
%%DATADIR%%/presets/three-eighty.sh
%%DATADIR%%/presets/toons-for-twenty-somethings.sh
%%DATADIR%%/presets/yellow-brick-road.sh
+man/man6/fc-solve-board_gen.6.gz
+man/man6/fc-solve.6.gz
+man/man6/freecell-solver-range-parallel-solve.6.gz
+man/man6/make-aisleriot-freecell-board.6.gz
+man/man6/make-gnome-freecell-board.6.gz
+man/man6/make_pysol_freecell_board.py.6.gz
+man/man6/pi-make-microsoft-freecell-board.6.gz
@dirrm %%DATADIR%%/presets
@dirrm %%DATADIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%