Commit graph

56 commits

Author SHA1 Message Date
nia
e3451cd85e games: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:43:43 +00:00
nia
9cd4d06302 games: Remove SHA1 hashes for distfiles 2021-10-07 14:07:10 +00:00
dholland
6415ba6fa1 Make games/craft build again.
The custom C++ preprocessor thingy has been choking for a while on
clang; recently gcc's jointed the party. Work around this by building
it with -g instead of -O2. (For me at least with gcc, while -O2
produces a tool that gives spurious syntax errors, plain -O gives one
that loops forever instead, which isn't an improvement.)

Maybe someday someone will bother to find out where the undefined
behavior is.

Also build the actual game with -Wno-return-type to silence complaints
about dead functions not declared as dead and similar, and while here
adjust things so it still installs correctly regardless of umask.
2020-11-29 03:11:54 +00:00
rillig
e17e3b4cc7 games: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 19:28:47 +00:00
agc
002d349f92 Add SHA512 digests for distfiles for games category
Problems found locating distfiles:
	Package blokus: missing distfile blokus-1.1.tar.gz
	Package crossfire-client: missing distfile crossfire-client-images-1.11.0.tar.gz
	Package dungeon: missing distfile dungeon-gdt-glk.tar.gz
	Package gate88: missing distfile Gate88_Mar19_05.tar.gz
	Package gnuchess4: missing distfile gnuchess-4.0.pl80.tar.gz
	Package ioquake3-pk3: missing distfile quake3-latest-pk3s.zip
	Package rollemup: missing distfile Rollemup.tar.gz
	Package tscp: missing distfile tscp181.zip
	Package xbat: missing distfile xev111.tar.gz
	Package xgalaga: missing distfile xgalaga-2.0.34.tar.gz
	Package xrick: missing distfile xrick-021212.tgz
	Package xskat: missing distfile xskat-cards.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 20:56:42 +00:00
dholland
1ffcb1b08e Cast argument of sqrt to double to placate Solaris compiler.
Also while here remove one article of pkglint.
2015-06-25 06:22:11 +00:00
dholland
2e2aa0052c Rev the distfile patch.
- roll in patch-xfile.hc
  - fix build with the solaris compiler
  - use snprintf instead of sprintf (mostly)
  - tidy a few things

There is a problem between this thing's precompiler and clang such
that clang builds fail with spurious errors about unterminated string
constants. I don't see what's wrong.

Also, in the course of doing the snprintf changes I discovered that
this depends on both csh and netpbm existing at runtime, so add the
necessary bits.

PKGREVISION -> 4.
2014-09-13 07:30:15 +00:00
dholland
5c43948d98 Fix tautological comparison and (maybe) macos build. 2014-06-29 04:10:55 +00:00
dholland
e4f46ae8da Oops. PATCH_SITES, not PATCHSITES... 2013-01-21 06:56:38 +00:00
dholland
585064b62c Roll the existing patches into a distfile patch. In the course of doing so:
Fix the fix previously in patch-ah (for platforms where char is
unsigned by default) to not generate spurious EOF indications.

Improve the fixes previously in patch-a[bcdef] to put the game's state
file in $HOME/.craft instead of the current directory.

Use a consistent method to set $PREFIX instead of a mixture of
compiler flags, patching, and SUBST.

Use pkg-config to find libX11, and clean up some pkglint.
2013-01-21 05:19:45 +00:00
dholland
7cc53b94c1 HOMEPAGE has disappeared, comment it out. The coresponding
MASTER_SITES has also disappeared, but there seem to be lots of copies
of the distfile out on the net.
2013-01-21 00:07:31 +00:00
asau
45127be31e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 11:54:29 +00:00
dholland
8eaa2604c8 Assorted fixes and cleanup.
- if we're going to supply the build makefile, it shouldn't require gmake.
 - don't install executable html or gif files
 - add patch comments
 - const correctness for string constants, as demanded by gcc 4.5
 - avoid needing -lcompat
 - fix a y2038 issue

PKGREVISION -> 2
2011-12-20 16:18:16 +00:00
joerg
6476dce3e1 user-destdir support 2009-07-08 17:20:52 +00:00
joerg
4bd41386e5 Remove @dirrm entries from PLISTs 2009-06-14 17:56:38 +00:00
wiz
a7c8e0cd61 Reset maintainer on his request. 2008-01-19 09:16:17 +00:00
hira
8951aa3012 Back out previous. Pointed out by uebayasi@ and martti@. 2007-09-25 10:03:52 +00:00
hira
ebf8ba4a7d ln -> ${LN}. 2007-09-25 08:31:52 +00:00
rillig
aae4c06a12 Fixed PR 29378. 2007-03-06 22:57:46 +00:00
joerg
1f1fdc60d5 Modlar Xorg support. 2007-02-02 17:36:22 +00:00
rillig
14b6b462ed Needs a C compiler. 2006-07-02 10:09:56 +00:00
joerg
d5a176c669 Uses C++. 2006-05-11 13:55:38 +00:00
rillig
3e514554d4 Sorted PLIST. 2006-04-13 01:41:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
8cef6c454b Add RMD160 digests. 2005-02-23 23:11:54 +00:00
snj
0593acc7b9 Use bl3 and ${ECHO} instead of echo. 2004-03-10 02:44:36 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +00:00
grant
4390a2f42b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:30:55 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
tron
1bd9005501 Fix GCC 3.3.1 related build problem. 2003-09-26 14:04:54 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
tron
51284d5551 Copy defaults file from correct location when starting "craft" on systems
where "xpkwedge" is installed. Fixes PR pkg/14861 by Robert Elz.
2001-12-19 10:51:19 +00:00
tron
b467958c66 Fix RCS Ids. 2001-12-19 10:26:47 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
jlam
dc6eadbf21 Use ${XARGS} instead of invoking xargs directly. 2001-05-19 03:56:23 +00:00
wiz
daff086c30 Move to sha1 digests, and/or add distfile sizes. 2001-04-21 02:08:16 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
wiz
9f28a7693e Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:10:41 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
7927bd759f removed md5 for dead patch 2000-01-02 03:20:46 +00:00
wiz
855416f289 replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:14:03 +00:00
tron
a5f2fe769d Use host's appropriate nickname for master site and home page. 1999-08-11 22:42:22 +00:00
tron
0cb435e3a3 - Don't create "Makefile" with a patch, copy it from "files" directory.
- Use "${BSD_INSTALL_...}" instead "/usr/bin/install" with hard coded
  arguments.
1999-08-11 22:20:56 +00:00
tron
a3ec336e2d Don't install editor backup files. 1999-08-11 22:01:46 +00:00
tron
51745079b0 Fix problems caused by author's assumption that 'char' is signed.
Patches supplied by Reinoud Zandijk in PR pkg/8143.
1999-08-11 21:54:21 +00:00
dante
41fb8234f9 Update patches checksum 1999-07-24 22:57:52 +00:00
dante
0cf59a68bc Remove inclusion of "bool.h" and "std.h";
Include <stdlib.h>
1999-07-24 22:52:44 +00:00