Commit graph

2380 commits

Author SHA1 Message Date
wiz
e4d7991ee5 Update to 0.4.8:
* 0.4.8 (08-06-2005)
  - added second tutorial mission
  - transporters can now be loaded before leaving a shop/transporter
  - repairs now cost 1 instead of 0.5 xp per recruit
  - Hovercraft can no longer cross forest tiles
  - fixed unitposition trigger when used with shops
  - extended unitdestroyed trigger to support unit classes
  - hex hit testing is now pixel-perfect
  - added desktop file
2005-07-02 09:38:23 +00:00
kristerw
42c793da7d Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-06-24 16:44:15 +00:00
jlam
82908831d8 * Libtoolize graphics/OpenRM so that we correctly build shared libraries
on all platforms supported by libtool.

* Remove the unnecessary dependencies on glut and perl, and only use
  perl as a build dependency.

* Use REPLACE_PERL instead of hand-crafted substitution code.

Bump the PKGREVISION for graphics/OpenRM to 2.  Due to the changed
dependency graph, bump the PKGREVISION for packages that use the OpenRM
libraries.  In this case, games/genecys-client is the only one, so
bump its PKGREVISION to 2.
2005-06-23 04:02:48 +00:00
jlam
88528a2dfd The world does not only use GCC on Intel-based machines. Don't hardcode
"-mcpu=<cpu>" into the compiler options.  This should allow this
package to build on platforms that GCC does not yet recognize as a
cpu-type for which it can optimize, e.g "x86_64".
2005-06-20 08:35:46 +00:00
jlam
d0915c61c3 Fix inappropriate uses of ${LOCALBASE} or ${X11PREFIX} instead of
${PREFIX}.
2005-06-17 04:49:45 +00:00
hira
a5c8a8fd69 Add missing RCS Id tag to patch-af. 2005-06-16 13:05:55 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
jmmv
9bccdab811 Constify a variable in multiple places so that the definitions match in all
files.  Fixes build under Linux, closing PR pkg/29499.
2005-06-14 19:33:19 +00:00
jmmv
61df395fdf Remove an empty default clause. Should fix build problem reported in
PR pkg/29501, although I haven't been able to reproduce it (different
compiler versions, I guess).
2005-06-14 18:50:50 +00:00
jmmv
fad1e9ffcb Do not assume a _file member in FILE structures as it may not exist on some
systems (e.g., Linux).  Instead, use fileno(3).  Closes PR pkg/29498.
2005-06-14 18:32:48 +00:00
jmmv
3a1150ddff Fix build under Linux: instead of hardcoding the manpage name as a build
target (man.0), use 'all' which works (at least) under NetBSD and Linux.
(The problem is that the manpage suffix changes across systems.)

While here, remove a directory emptied during deinstallation.
Bump PKGREVISION to 2 due to this.

This change together with recent rillig@'s fixes close PR pkg/29493.
2005-06-14 18:07:47 +00:00
minskim
9cd1a33a09 Honor GAMEOWN, GAMEGRP, GAMEMODE, and GAMEDATAMODE. 2005-06-14 17:56:41 +00:00
jmmv
6b357b2b1a Fix build under Linux by removing local strdup(3) prototype and by using
LIBOSSAUDIO instead of hardcoding -lossaudio.  Closes PR pkg/29492 by
A L Meyers.
2005-06-14 17:32:36 +00:00
jlam
5c683d5c1f Create directories before installing files into them. This fixes
installation when NO_MTREE=yes, and also fixes PR pkg/30491.
2005-06-14 17:24:12 +00:00
minskim
3febce4eec Use VARBASE instead of hardcoding /var. 2005-06-14 17:23:24 +00:00
minskim
f52e98ff8f Honor GAMEGRP and GAMEMODE not only for data files but also for the binary. 2005-06-14 17:18:54 +00:00
minskim
2bee0d7b39 Honor GAMEGRP, GAMEMODE, and GAMEDATAMODE. 2005-06-14 17:14:08 +00:00
jmmv
49b85d994b Access static attributes through the class itself, not through an instance.
Should fix build problem reported in PR pkg/29452 by A L Meyers.
2005-06-14 17:03:37 +00:00
minskim
308fb2ca11 Honor *OWN, *GRP, and *MODE. 2005-06-14 16:38:17 +00:00
jmmv
2e1813940d Fix build under Linux (missing inclusion of string.h in some files).
Closes PR pkg/29451.
2005-06-14 16:33:13 +00:00
rillig
27f455d0d5 Added a patch that makes the declaration of toupper() visible and fixes an
out-of-bounds error.
2005-06-14 07:41:35 +00:00
rillig
57b4d5a600 Remove DOS end-of-line characters from *.c and *.cpp before compiling
them. This fixes the build with gcc-2.95 on NetBSD 1.6.2.
2005-06-14 07:15:52 +00:00
hira
47577dcd67 Pass WRKSRC=${WRKSRC} to MAKE_ENV. This fixes PR pkg/30076. 2005-06-12 08:41:56 +00:00
jlam
10003736e7 This package requires imake & xmkmf to build so note it in USE_TOOLS. 2005-06-12 08:22:59 +00:00
wiz
71724b2894 Set RM to MAKE_RM -f instead of MAKE_RM.
Seems that MAKE_RM was changed to not include -f any longer in the last month
or so/
Fixes bulk build problem.
2005-06-11 11:45:53 +00:00
dillo
7e596b08c0 set PKG_OPTIONS_VAR, noted by wiz 2005-06-10 18:11:57 +00:00
garbled
d347891658 Add -lXext to the LIBS part of configure so it picks up GL and GLU ok. 2005-06-07 16:24:27 +00:00
minskim
8114856103 Honor *MODE. 2005-06-07 05:44:46 +00:00
minskim
d9be3fc6e3 Honor GAMEGRP. 2005-06-07 05:43:30 +00:00
minskim
090ad3a768 Honor VARBASE. 2005-06-07 05:41:38 +00:00
minskim
6d18839cad Convert to use ossaudio.buildlink3.mk to build on more platforms.
Bump PKGREVISION because the sound device path was corrected.
2005-06-07 05:33:20 +00:00
minskim
c7a7a507a2 Set correct OSTYPE, which is used in Makefile. 2005-06-07 05:10:50 +00:00
minskim
5457283c5d Include time.h for time(3) and ctime(3). 2005-06-07 05:00:19 +00:00
minskim
bc37c4f007 Use 0 instead of NULL to avoid an undeclared identifier error. 2005-06-07 04:23:43 +00:00
minskim
5f694e6470 Include time.h to use time(3). 2005-06-07 04:15:40 +00:00
minskim
957087b614 Set BUILD_TARGET correctly on Linux. This fixes PR pkg/29379. 2005-06-06 03:59:00 +00:00
wiz
3c8b49fd44 Add and enable liquidwar. 2005-06-04 11:18:45 +00:00
wiz
b113bc1d47 Initial import of liquidwar from pkgsrc-wip:
Liquid War is a unique multiplayer wargame. Its rules are truly
original and have been invented by Thomas Colcombet. You control
an army of liquid and have to try and eat your opponents. A single
player mode is available, but the game is definitely designed to
be multiplayer, and has network support.
2005-06-04 11:18:12 +00:00
blymn
293c9f18c8 Fix errors made by pkgsrc n00b. 2005-06-02 14:58:59 +00:00
salo
2ccfd5d5c9 Remove USE_X11, sort includes. 2005-06-02 14:40:15 +00:00
wiz
ce0ffffc58 Fix some pkglint warnings. Replace USE_PERL5
by adding perl to the tools.
2005-06-02 14:29:48 +00:00
blymn
b555701e78 Updated to version 2.0.2 of bzflag:
* many many bug fixes
* network protocol version updated
* new game modes added
2005-06-02 14:24:04 +00:00
dillo
ec33819c8b convert to options framework 2005-06-01 21:28:41 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +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
wiz
ee60c411dc Replace PKGBASE in WRKSRC with PKGNAME_NOREV. 2005-06-01 09:27:44 +00:00
wiz
1aa91a0f0a Do not play games with PKGBASE. 2005-05-31 22:39:48 +00:00
wiz
09edbf380f Fix conversion. 2005-05-31 22:04:06 +00:00
wiz
3e03603ef1 Whitespace consistency. 2005-05-31 22:02:58 +00:00
wiz
0762ddaa45 Convert to options framework. 2005-05-31 21:47:34 +00:00