diff options
author | markd <markd@pkgsrc.org> | 2021-04-08 19:51:44 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2021-04-08 19:51:44 +0000 |
commit | e006bc6ce99705af80f2914c4a994e608437217e (patch) | |
tree | c645b499a390019b04532e6bf5637fabf320c3ad /games | |
parent | 76251065c4c0160f97b043ad21cd6b995aee3245 (diff) | |
download | pkgsrc-e006bc6ce99705af80f2914c4a994e608437217e.tar.gz |
black-hole-solver: add version 1.10.1
This is a solver for the Solitaire/Patience card games "Golf" (3 variants),
"Black Hole", and "All in a Row" - implemented in C as a command line
application. For more information about these games, see:
* https://en.wikipedia.org/wiki/Golf_%28patience%29
* http://en.wikipedia.org/wiki/Black_Hole_%28solitaire%29
* http://en.wikipedia.org/wiki/All_in_a_Row_%28Solitaire%29
Diffstat (limited to 'games')
-rw-r--r-- | games/black-hole-solver/DESCR | 7 | ||||
-rw-r--r-- | games/black-hole-solver/Makefile | 34 | ||||
-rw-r--r-- | games/black-hole-solver/PLIST | 10 | ||||
-rw-r--r-- | games/black-hole-solver/buildlink3.mk | 13 | ||||
-rw-r--r-- | games/black-hole-solver/distinfo | 6 |
5 files changed, 70 insertions, 0 deletions
diff --git a/games/black-hole-solver/DESCR b/games/black-hole-solver/DESCR new file mode 100644 index 00000000000..c7031e4159d --- /dev/null +++ b/games/black-hole-solver/DESCR @@ -0,0 +1,7 @@ +This is a solver for the Solitaire/Patience card games "Golf" (3 variants), +"Black Hole", and "All in a Row" - implemented in C as a command line +application. For more information about these games, see: + +* https://en.wikipedia.org/wiki/Golf_%28patience%29 +* http://en.wikipedia.org/wiki/Black_Hole_%28solitaire%29 +* http://en.wikipedia.org/wiki/All_in_a_Row_%28Solitaire%29 diff --git a/games/black-hole-solver/Makefile b/games/black-hole-solver/Makefile new file mode 100644 index 00000000000..b56d4b6b62e --- /dev/null +++ b/games/black-hole-solver/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1 2021/04/08 19:51:44 markd Exp $ + +DISTNAME= black-hole-solver-1.10.1 +CATEGORIES= games +MASTER_SITES= https://fc-solve.shlomifish.org/downloads/fc-solve/ +EXTRACT_SUFX= .tar.xz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/ +COMMENT= Solvers and statistics for various solitaire and related card patience games +LICENSE= mit + +USE_TOOLS+= gmake perl +USE_CMAKE= yes +USE_LANGUAGES= c c++ + +CMAKE_ARGS+= -DBUILD_STATIC_LIBRARY=OFF + +PYTHON_FOR_BUILD_ONLY= tool +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +BUILD_DEPENDS+= p5-Path-Tiny-[0-9]*:../../filesystems/p5-Path-Tiny + +PKGCONFIG_OVERRIDE+= libblack-hole-solver.pc.in + +SUBST_CLASSES+= man +SUBST_STAGE.man= pre-configure +SUBST_MESSAGE.man= Fix man dir. +SUBST_FILES.man= cmake/Shlomif_Common.cmake +SUBST_SED.man= -e 's:share/man:man:' + +.include "../../devel/rinutils/buildlink3.mk" +.include "../../lang/python/tool.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/black-hole-solver/PLIST b/games/black-hole-solver/PLIST new file mode 100644 index 00000000000..327d3565e02 --- /dev/null +++ b/games/black-hole-solver/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2021/04/08 19:51:44 markd Exp $ +bin/black-hole-solve +include/black-hole-solver/black_hole_solver.h +include/black-hole-solver/bool.h +include/black-hole-solver/fcs_dllexport.h +lib/libblack_hole_solver.so +lib/libblack_hole_solver.so.1 +lib/libblack_hole_solver.so.1.0.1 +lib/pkgconfig/libblack-hole-solver.pc +man/man6/black-hole-solve.6 diff --git a/games/black-hole-solver/buildlink3.mk b/games/black-hole-solver/buildlink3.mk new file mode 100644 index 00000000000..a0f9443ae43 --- /dev/null +++ b/games/black-hole-solver/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2021/04/08 19:51:44 markd Exp $ + +BUILDLINK_TREE+= black-hole-solver + +.if !defined(BLACK_HOLE_SOLVER_BUILDLINK3_MK) +BLACK_HOLE_SOLVER_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.black-hole-solver+= black-hole-solver>=1.10.1 +BUILDLINK_PKGSRCDIR.black-hole-solver?= ../../games/black-hole-solver + +.endif # BLACK_HOLE_SOLVER_BUILDLINK3_MK + +BUILDLINK_TREE+= -black-hole-solver diff --git a/games/black-hole-solver/distinfo b/games/black-hole-solver/distinfo new file mode 100644 index 00000000000..57bada74bb4 --- /dev/null +++ b/games/black-hole-solver/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2021/04/08 19:51:44 markd Exp $ + +SHA1 (black-hole-solver-1.10.1.tar.xz) = 92ae013bd296097095a0a5ec3918a98d3c555acf +RMD160 (black-hole-solver-1.10.1.tar.xz) = 8445a0dfc9dc00a1c165b73a58c334e3bbffa991 +SHA512 (black-hole-solver-1.10.1.tar.xz) = 65e69a699922c92332da70b35303f50fbbe3f7b324e70428d24e75910ab6472db22936fbabe716fdd2ef9a88aaac3d8765b8007ceeb03d50ec865b183a5c8f69 +Size (black-hole-solver-1.10.1.tar.xz) = 78848 bytes |