notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
crafty Chess program for playing and analyzing games
25.2_1 games on this many watch lists=14 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 25.2_1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2022-07-20 14:21:58
Commit Hash: d56127b
People watching this port, also watch:: expat, libxml2, pcre, freetype2, m4
License: not specified in port
Description:
Crafty is a rapidly developing chess engine with more and more features being added regularly. It can play, analyze, and even annotate games for you. Crafty can utilize tablebases; these are available for FreeBSD in the related ports. The files bitmaps.tgz and sound.tgz are available in your doc directory, usually /usr/local/share/doc/crafty. The bitmaps are for html annotations performed by crafty - they should be unpacked into the directory you normally analyze games into, and all should be fine... The sounds are for move announcements. Unpack the archive somewhere, and have a look at the 'speak' script to customize for your use, if desired. 22.1 -> New "skill" command that can be used to "dumb down" crafty. "skill <n>" where n is a number between 1 and 100. 100 is max (default) skill. Skill 70 will drop the playing Elo by about 200 points. Skill 50 will drop it about 400 points. The curve is not linear, and the closer you get to 1, the lower the rating.
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. @group nogroup
  2. @mode 2755
  3. bin/crafty
  4. @mode 664
  5. lib/crafty/book.bin
  6. lib/crafty/books.bin
  7. lib/crafty/crafty.hlp
  8. @mode 775
  9. @dir lib/crafty/cpf
  10. @dir lib/crafty
  11. @mode
  12. @group wheel
  13. @owner
  14. @group
  15. @mode
Collapse this list.
Dependency lines:
  • crafty>0:games/crafty
To install the port:
cd /usr/ports/games/crafty/ && make install clean
To add the package, run one of these commands:
  • pkg install games/crafty
  • pkg install crafty
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: crafty
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1518192680 SHA256 (crafty/crafty-25.2.zip) = 337e00bab79c33739fbaa71cd26c65f986886ee0d8ce181f2cb62f2efd317710 SIZE (crafty/crafty-25.2.zip) = 433320

Expand this list (4 items)

Collapse this list.

SHA256 (crafty/book.bin) = f95c827d65a12a34879e50554de687ee91f3ca42580ab65abfa77638f27c3983 SIZE (crafty/book.bin) = 1704244 SHA256 (crafty/start.pgn.gz) = ee5c11b59faa1df97639ea69d823fdb19161e32509ff66b7d39abbe85e05e789 SIZE (crafty/start.pgn.gz) = 314

Collapse this list.


Packages (timestamps in pop-ups are UTC):
crafty
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-25.2_1------
FreeBSD:13:quarterly-25.2_1------
FreeBSD:14:latest-25.2_1------
FreeBSD:14:quarterly-25.2_1------
FreeBSD:15:latest-25.2_1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
This port is required by:
for Build

Deleted ports which required this port:

Expand this list of 4 deleted ports
  1. games/crafty-open-enormous*
  2. games/crafty-open-large*
  3. games/crafty-open-medium*
  4. games/gnomechess*
  5. Collapse this list of deleted ports.
for Run

Deleted ports which required this port:

Expand this list of 6 deleted ports
  1. games/crafty-open-enormous*
  2. games/crafty-open-large*
  3. games/crafty-open-medium*
  4. games/crafty-tablebase-no-pawn*
  5. games/crafty-tablebase-pawn*
  6. games/gnomechess*
  7. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
games_crafty
USES:
gmake zip
pkg-message:
For install:
This package is set to allow per-user config files, and a shared books directory. To accomplish this, crafty is setgid nobody, and the books and learning information are owned by the user 'nobody.' The location values are tunable, see message when make is issued. If you have an SMP system, add a line to your ~/.craftyrc file to the effect: smpmt=2 (or however many cpus you have) Do not set this higher than you really have, or performance will actually drop. New "skill" command that can be used to "dumb down" crafty. "skill <n>" where n is a number between 1 and 100. 100 is max (default) skill. Skill 70 will drop the playing Elo by about 200 points. Skill 50 will drop it about 400 points. The curve is not linear, and the closer you get to 1, the lower the rating.
Master Sites:
  1. There is no master site for this port.

Number of commits found: 67

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
25.2_1
20 Jul 2022 14:21:58
commit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27ccommit hash: d56127bdfc7d6fca27855e27a66e61ce99cce27c files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
games: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <benlutz@datacomm.ch>
  *  <janos.mohacsi@bsd.hu>
  *  Aaron Baugher
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron VonderHaar <avh4@usa.net>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Kranzel (adam@alameda.edu)
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
25.2_1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
25.2_1
02 Jan 2021 01:46:09
Revision:559904Original commit files touched by this commit
linimon search for other commits by this committer
For ports on riscv64 that fail the same (or similar ways) to aarch64, mark
them BROKEN.

While here, pet portlint (Makevar order).

Approved by:	portmgr (tier-2 blanket)
25.2_1
04 Nov 2019 21:21:04
Revision:516744Original commit files touched by this commit
rene search for other commits by this committer
Returns johans's ports to the pool after safekeeping his commit bit.
25.2_1
13 Aug 2019 16:03:12
Revision:508837Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories e-g)
25.2_1
07 Apr 2019 06:27:48
Revision:498259Original commit files touched by this commit
antoine search for other commits by this committer
Mark BROKEN on i386

In file included from crafty.c:28:
./tbprobe.c:111:9: error: invalid operand for instruction
__asm__("bsfq %1, %0": "=r"(idx):"rm"(b));

Reported by:	pkg-fallout
MFH:		2019Q2
25.2_1
02 Feb 2019 10:11:49
Revision:491937Original commit files touched by this commit
tobik search for other commits by this committer
games/*: Use NO_WRKSUBDIR
25.2_1
01 Jul 2018 09:17:46
Revision:473660Original commit files touched by this commit
linimon search for other commits by this committer
Mark these ports broken on mips64 and/or mips.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
25.2_1
18 Mar 2018 14:58:22
Revision:464919Original commit files touched by this commit
linimon search for other commits by this committer
Also broken on aarch64.
25.2_1
18 Mar 2018 14:40:44
Revision:464917Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on armvX.

Apparently the attempt to defeat the x86 assembler is insufficient.

While here, conform to newer style by unquoting and sorting ARCHs.

Approved by:	portmgr (tier-2 blanket)
25.2_1
09 Feb 2018 16:13:08
Revision:461319Original commit files touched by this commit
johans search for other commits by this committer
Fix distfiles
25.2
09 Feb 2018 16:09:43
Revision:461318Original commit files touched by this commit
johans search for other commits by this committer
Remove profile options to fix build with Clang

PR:		220806
Submitted by:	jbeich, Martin Birgmeier
25.2
06 Feb 2018 11:50:38
Revision:461039Original commit files touched by this commit
johans search for other commits by this committer
Unbreak
Simplify setup by using only the default opening books
Don't rebuild the opening book that is also downloaded
Docs are no longer included, but provided online at
http://www.craftychess.com/documentation/craftydoc.html
25.2
18 Dec 2017 15:25:49
Revision:456638Original commit files touched by this commit
amdmi3 search for other commits by this committer
- This is in fact broken on all architectures

Approved by:	portmgr blanket
25.2
09 Dec 2017 01:39:20
Revision:455815Original commit files touched by this commit
linimon search for other commits by this committer
These are also broken on aarch64 in the same way as armv6/7.

Approved by:	portmgr (tier-2 blanket)
25.2
09 Dec 2017 00:42:05
Revision:455813Original commit files touched by this commit
linimon search for other commits by this committer
Mark more ports broken that fail on both armv6 and armv7.

Approved by:	portmgr (tier-2 blanket)
25.2
15 Jul 2017 22:05:28
Revision:445966Original commit files touched by this commit
johans search for other commits by this committer
Update to Crafty 25.2
23.8
13 May 2017 07:24:08
Revision:440755Original commit files touched by this commit
miwi search for other commits by this committer
- Mark Broken

=> Attempting to fetch http://www.craftychess.com/crafty-23.8.zip
fetch: http://www.craftychess.com/crafty-23.8.zip: Not Found
=> Attempting to fetch
http://www.cis.uab.edu/hyatt/crafty/source/crafty-23.8.zip
fetch: http://www.cis.uab.edu/hyatt/crafty/source/crafty-23.8.zip: Not Found
23.8
23 May 2016 20:35:01
Revision:415742Original commit files touched by this commit
amdmi3 search for other commits by this committer
Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by
default anyway and don't need to be listed

Approved by:	portmgr blanket
23.8
20 Sep 2015 20:54:09
Revision:397461Original commit files touched by this commit
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (G-P).
23.8
01 Jul 2015 19:54:57
Revision:391118Original commit files touched by this commit
johans search for other commits by this committer
- Fix build for several architectures.
  Set CPUS=1 on non-x86. This leads to disabling custom thread synchronization
  primitives coded in x86 assembly and thus allows build (confirmed successful
  builds on mips and armv6, however haven't tested whether it actually works).
- Minor cleanups added to pet portlint

PR:		201255
Submitted by:	amdmi3
23.8
06 Jul 2014 10:27:27
Revision:360872Original commit files touched by this commit
johans search for other commits by this committer
Fix build on i386 by disabling broken assembly code
(no functional changes)
23.8
30 Apr 2014 21:38:28
Revision:352703Original commit files touched by this commit
antoine search for other commits by this committer
Fix fetch: some distfiles were put twice in the distinfo which caused the
size to be put twice in the fetch command which failed

With hat:	portmgr
23.8
29 Mar 2014 13:57:01
Revision:349508Original commit files touched by this commit
antoine search for other commits by this committer
Do not generate a corrupted pkg

With hat:	portmgr
23.8
28 Mar 2014 15:59:42
Revision:349433Original commit files touched by this commit
johans search for other commits by this committer
- Update crafty to 23.8
- Adopt port
23.4
17 Mar 2014 07:47:14
Revision:348444Original commit files touched by this commit
ehaupt search for other commits by this committer
Support staging
23.4
11 Mar 2014 20:35:53
Revision:347931Original commit files touched by this commit
flo search for other commits by this committer
Release a few ports I don't use anymore. Unfortunately I don't have time to
maintain them properly currently.
10 Mar 2014 14:49:26
Revision:347760Original commit files touched by this commit Sanity Test Failure Refresh
bapt search for other commits by this committer
Convert g* to USES=zip
23.4
20 Sep 2013 17:36:36
Revision:327730Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
games)
23.4
13 Sep 2013 20:43:01
Revision:327183Original commit files touched by this commit
flo search for other commits by this committer
Unbreak by using new MASTER_SITE

PR:		ports/182070 [1]
Submitted by:	Mikhail T. <m.tsatsenko@gmail.com> (partly) [1]
23.4
29 Jul 2012 11:17:04
Original commit files touched by this commit
cs search for other commits by this committer
Fix typos in COMMENT

Approved by:	portmgr@ (implicit)
23.4
27 Dec 2010 22:02:09
Original commit files touched by this commit
flo search for other commits by this committer
- change MAINTAINER to my @FreeBSD.org address

Approved by: jadawin (mentor)
23.4
11 Nov 2010 03:34:16
Original commit files touched by this commit
sahil search for other commits by this committer
- Update to 23.4

PR:             ports/152120
Submitted by:   Florian Smeets <flo@smeets.im> (maintainer)
23.3
22 Sep 2010 21:21:25
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update maintainer email address flo@kasimir.com -> flo@smeets.im

PR:             ports/150855
Submitted by:   maintainer
23.3
15 Aug 2010 08:41:35
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 23.3

PR:             149518
Submitted by:   Florian Smeets <flo@kasimir.com> (maintainer)
23.2
05 Apr 2010 15:17:17
Original commit files touched by this commit
linimon search for other commits by this committer
Sigh.  I _meant_ to say powerpc.  But since it invokes i386 asm, it's
not going to build on ia64, either.

Hat:            portmgr
23.2
05 Apr 2010 15:15:59
Original commit files touched by this commit
linimon search for other commits by this committer
Also broken on ia64 and powerpc.

Hat:            portmgr
23.2
02 Apr 2010 17:09:09
Original commit files touched by this commit
miwi search for other commits by this committer
- Update 23.2

PR:             145208
Submitted by:   Florian Smeets <flo@kasimir.com> (maintainer)
23.1
27 Jan 2010 01:04:01
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 23.1

PR:             143159
Submitted by:   Florian Smeets <flo@kasimir.com> (maintainer)
23.0
01 Apr 2009 22:29:29
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 23.0

PR:             133259
Submitted by:   Florian Smeets <flo at kasimir dot com> (maintainer)
22.10_1
22 Mar 2009 15:31:09
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix plist in ports depending on crafty
- Assign maintainership of crafty-open-* to submitter

PR:             132935
Submitted by:   Florian Smeets <flo at kasimir dot com> (crafty maintainer)
22.10
12 Mar 2009 12:22:40
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix install with NOPORTDOCS

Submitted by:   Florian Smeets <flo at kasimir dot com> (maintainer)
22.10
04 Mar 2009 12:18:06
Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update to 22.10
- Pass maintainership to submitter

PR:             132128
Submitted by:   Florian Smeets <flo at kasimir dot com>
22.1
10 Dec 2008 07:35:19
Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on sparc64.

Hat:    portmgr
22.1
28 Nov 2008 22:49:08
Original commit files touched by this commit
linimon search for other commits by this committer
Reset shoemaker@bluebottle.com: email bounces.
22.1
17 Jun 2008 19:07:39
Original commit files touched by this commit
pav search for other commits by this committer
- Fix NOPORTDOCS plist

Reported by:    ionmachine
22.1
02 May 2008 20:08:06
Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 22.1

PR:             123302
Submitted by:   Jonathan Shoemaker <shoemaker@bluebottle.com> (maintainer)
22.0
25 Apr 2008 15:24:32
Original commit files touched by this commit
pav search for other commits by this committer
- Update to 22.0

PR:             ports/122800
Submitted by:   Jonathan Shoemaker <shoemaker@bluebottle.com> (maintainer)
20.14_2
29 Sep 2007 14:46:14
Original commit files touched by this commit
linimon search for other commits by this committer
Apparently a fix had already been committed after the last pointyhat runs.

Adding to the pointy hat collection:    linimon
20.14_2
29 Sep 2007 09:01:39
Original commit files touched by this commit
linimon search for other commits by this committer
Mark as broken on non-i386.
20.14_2
25 Sep 2007 05:51:24
Original commit files touched by this commit
rafan search for other commits by this committer
- Don't install books.bin in this port. That file should be installed by
  one of games/crafty-open-* port.

PR:             ports/116622
Submitted by:   J Shoemaker <shoemaker at bluebottle.com> (maintainer)
Reported by:    pointyhat via pav
20.14_1
23 Sep 2007 03:44:46
Original commit files touched by this commit
edwin search for other commits by this committer
[Maintainer Update]: fix arch-related issues

        Received email stating "build fails on amd64 system with a
        message about unsupported instructions. [...] Modifying
        patch-Makefile so that -m486 / -mtune 486 option is removed
        fixed the problem for me." Updated Makefile to add PORTREVISION
        so that updates will be seen by ports-tools, implemented
        arch suggestions for fixes, removing most mention of
        architecture specific instructions. Those will likely be
        in make.conf, anyway, and if so will be passed along due
        to inclusion.

PR:             ports/116379
Submitted by:   shoemaker@bluebottle.com (Jonathan Shoemaker)
20.14
11 Sep 2007 12:00:42
Original commit files touched by this commit
edwin search for other commits by this committer
[Maintainer Update] games/crafty: fixes & features

        Does not need to ber setuid nobody, as this breaks the
        per-user rc-files goal; setgid with group-writable files should
        suffice. Configured for the new personalities feature, and added a
        fix to make sure that help is available (wasn't working before as it
        was moved from the executable to a file.)

PR:             ports/116266
Submitted by:   shoemaker@bluebottle.com (Jonathan Shoemaker)
20.14
10 Sep 2007 01:12:45
Original commit files touched by this commit
edwin search for other commits by this committer
update games/crafty (Also solves pr ports/116163)

        Crafty is an open source chess engine. The former version is
        very old, not to mention broken when compiling enormous opening books
        (see pr ports/116163) This updates to the newest version, and solves
        the problem as well. Sorry about the prior pr with this topic - the
        makefile had a couple typos.

        This seems to be an abandoned port. If the maintainer is no
        longer interested, I will volunteer to take over this port.

The maintainers email address bounced, so Jonathan is now the happy
maintainer of this port.

PR:             ports/116241
Submitted by:   shoemaker@bluebottle.com (Jonathan Shoemaker)
20.14
10 Sep 2007 01:11:54
Original commit files touched by this commit
edwin search for other commits by this committer
update games/crafty (Also solves pr ports/116163)

        Crafty is an open source chess engine. The former version is
        very old, not to mention broken when compiling enormous opening books
        (see pr ports/116163) This updates to the newest version, and solves
        the problem as well. Sorry about the prior pr with this topic - the
        makefile had a couple typos.

        This seems to be an abandoned port. If the maintainer is no
        longer interested, I will volunteer to take over this port.

The maintainers email address bounced, so Jonathan is now the happy
maintainer of this port.

PR:             ports/116241
Submitted by:   shoemaker@bluebottle.com (Jonathan Shoemaker)
19.1
21 Dec 2005 11:03:33
Original commit files touched by this commit
garga search for other commits by this committer
- Change MASTER_SITES to make it fetchable again
- Adapt to use .zip distfiles
- Add SHA256 hashes

PR:             ports/90071
Submitted by:   Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
Approved by:    maintainer timeout (14 days)
19.1
12 Apr 2005 03:26:57
Original commit files touched by this commit
obrien search for other commits by this committer
At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
19.1
11 Apr 2005 08:04:41
Original commit files touched by this commit
obrien search for other commits by this committer
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
19.1
31 Mar 2004 03:12:58
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify (maintainer timeout)
19.1
21 Feb 2003 12:06:01
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
19.1
20 Jan 2003 20:43:55
Original commit files touched by this commit
mi search for other commits by this committer
Upgrade to 19.1. Add the option for using assembler-optimized
implementation on Sparcs with the warning that it segfaulted in my
tests. A Sparc guru should take a look -- the stuff, apparently works on
Solaris.

Approved by:    maintainer timeout (two weeks no response)
18.14
29 Nov 2002 23:46:38
Original commit files touched by this commit
naddy search for other commits by this committer
Fix typo to allow building on non-i386 architectures.
18.14
08 Sep 2002 00:07:50
Original commit files touched by this commit
kris search for other commits by this committer
Link with ${CXX} instead of ${CC} since this contains C++ code.
18.14
28 Mar 2002 23:35:16
Original commit files touched by this commit
mph search for other commits by this committer
Upgrade to 18.14.
27 Aug 2001 13:06:07
commit hash: fp1.17956@dev.null.freshports.orgcommit hash: fp1.17956@dev.null.freshports.orgcommit hash: fp1.17956@dev.null.freshports.orgcommit hash: fp1.17956@dev.null.freshports.org files touched by this commit
sobomax search for other commits by this committer
Make documentation fetchable.    
03 Apr 2001 22:19:46
commit hash: fp1.12016@dev.null.freshports.orgcommit hash: fp1.12016@dev.null.freshports.orgcommit hash: fp1.12016@dev.null.freshports.orgcommit hash: fp1.12016@dev.null.freshports.org files touched by this commit
mph search for other commits by this committer
Upgrade to 18.9.    
08 Oct 2000 03:48:59
commit hash: fp1.4769@dev.null.freshports.orgcommit hash: fp1.4769@dev.null.freshports.orgcommit hash: fp1.4769@dev.null.freshports.orgcommit hash: fp1.4769@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category games to new layout.  

Number of commits found: 67