Commit graph

96 commits

Author SHA1 Message Date
reed
09a3af01c2 Use PKGMANDIR for man page. 2005-12-28 04:53:36 +00:00
wiz
7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
adam
89607e2002 Changes 3.1.1:
- added tutorial level set created by Aaron Davidson
- added editor element descriptions written by Aaron Davidson
- added native game engine for Emerald Mine (Club) levels
- added level skipping functionality to main menu
- added support for dumping small-sized level sketches from editor
- added use of "editorsetup.conf" for different level sets
- lots of bugfixes and internal engine changes (see ChangeLog)
2005-08-16 15:35:51 +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
kristerw
7a92da9b9b Move PKGREVISION so that it is set before mk/bsd.pkg.mk is included. 2005-01-16 19:33:27 +00:00
reed
dc221fa199 Install manpage to man section 6. (No patch needed since
was done with do-install target in first place.)

Bump PKGREVISION.
2004-12-22 16:46:19 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
adam
9ae2b33e48 Changes 3.1.0:
- fixed obvious bug with wrong "Murphy" graphics (when digging etc.)
- fixed a lot of Emerald Mine and Supaplex game engine emulation bugs
- re-converted Emerald Mine and Supaplex levels to apply engine fixes
- changed default snap/drop keys from left/right Shift to Control keys
- added level loader for loading native Emerald Mine levels
- added level loader for loading native Supaplex packed levels
- added group elements for multiple matches and random element creation
- added elements that can be digged or left behind by custom elements
- added element "Sokoban field with player" missing for Sokoban levels
- added custom element features to allow building of teleporters
- added option to use step limit instead of time limit for level
- added pressing "space" key as valid action to select menu options
- added clipboard (cut and paste buttons) for custom and group elements
- added shortcut to dump brush (type ":DB" in editor) for use in forum
- added network multiplayer code for Windows (still only command line)
- replaced old tutorial level set with far better one by Niko Böhm
- "contributions" levels now separate package to make base set smaller
- too many bugfixes and changes to list them all here (see ChangeLog)
2004-11-03 15:14:17 +00:00
adam
c6abee0a3a Removed not-for-darwin; builds and works with x11 target 2004-03-08 08:43:33 +00:00
snj
462db628af Use bl3. 2004-03-07 00:39:43 +00:00
heinz
1ea37a8ee1 On MacOS X SDL is always needed, so use rocksndiamonds-sdl and mark this packages with NOT_FOR_PLATFORM 2004-03-06 20:08:20 +00:00
heinz
31c0c28ce5 Use find with "-print" 2004-01-26 20:02:30 +00:00
grant
4390a2f42b replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 13:30:55 +00:00
heinz
a7a1ed9b06 Let this work on Solaris (verified) and maybe Darwin (please test).
Create user and group if necessary, not every OS has "games:games".
2003-12-17 21:30:39 +00:00
adam
661e32fdf3 Changes 3.0.8:
- added "musicinfo.conf" for menu and level music configuration
- added "editorsetup.conf" for editor element list configuration
- added "copy" and "exchange" functions for custom elements to editor
- added configurable "bored" and "sleeping" animations for the player
- added "awakening" sound for player when waking up after sleeping
- added configurable element animations for info screen
- added configurable music credits for info screen
- added configurable level set information for info screen
- added warnings for undefined token values in artwork config files
- menu entries now also selectable by clicking on entry text
- better sniksnak turning movement (two steps instead of only one)
- fixed turning movement of butterflies and fireflies (no frame reset)
- fixed bug with wrong default impact sound for colored emeralds
- fixed bug with double nut cracking sound
- fixed a very nasty bug in dragon turning code in TurnRoundExt()
- finally fixed tape recording when player is created from CE change
- added new contributed levels
2003-12-15 14:47:37 +00:00
adam
e913943db3 Most important changes since last release version 3.0.6:
- fixed incorrectly displayed animation for attacking dragon
- fixed bug with not setting initial gravity for each new game
- fixed bug with teleportation of player by custom element change
- fixed bug with player not getting smashed by rock sometimes
- fixed serious bug in code for delayed element pushing
- fixed little bug in animation frame selection for pushed elements
- fixed bug when pushing element that can move away to the side
- fixed tape recording when player is created from CE element change
- fixed player animation frame reset for identical animations
- unavailable setup options now marked as "n/a" instead of "off"
- prevent "extended" changed elements from delay change in same frame
- speed-up of reading config file for verbose output
- added configuration option for opening and closing Supaplex exit
- added configuration option for moving up/down animation for Murphy
- added animation for "turning" action (for elements with move delay)
- added turning animations for bug, spaceship and sniksnak
2003-11-19 12:48:47 +00:00
adam
ae5bcac5c8 Changes 3.0.6:
- fixed bug when initializing font graphic structure
- fixed bug with animation mode "pingpong" when using only 1 frame
- fixed bug with extended change target introduced in 3.0.5
- fixed bug where passing over moving element doubles player speed
- fixed bug with elements continuing to move into push direction
- fixed bug with duplicated player when dropping bomb with shield on
- fixed switching bug (resetting flag when not switching but not idle)
- fixed element tokens for certain file elements with ".active" etc.
- added "switching" event for custom elements ("pressing" only once)
- added support for MP3 music for SDL version through SMPEG library
2003-10-08 13:35:25 +00:00
adam
0d009daa16 Changes 3.0.5:
- fixed bug in multiple config pages loader code that could crash the game
- enhanced (remaining low-resolution) Supaplex graphics
- active/inactive sides configurable for custom element changes
- new movement type "move when pushed" available for custom elements
- now four envelope elements available
- font, background, animation and sound for envelope now configurable
- main menu doors opening/closing animation type now configurable
2003-09-30 14:15:33 +00:00
adam
35356c1d7c Changes 3.0.4:
- fixed bug in multiple config pages code that caused crash
- fixed bug in custom definition of crumbled element graphics
2003-09-15 15:20:44 +00:00
adam
43321f0dad Changes 3.0.3:
- fixed bug (missing array boundary check) which could crash the game
- fixed problem with setting mouse cursor in SDL version in fullscreen
- fixed problem with flickering when drawing toon animations
- fixed problem with player animation when snapping and moving
- fixed several nasty bugs that may have caused crashes on some systems
- added envelope content which gets displayed when collecting envelope
- added multiple change event pages for custom elements
- added support for loading various music formats through SDL_mixer
- added music to Supaplex classic level set
2003-09-09 15:05:30 +00:00
adam
9892474e14 Most important changes since last release version 3.0.1:
- fixed bug with messing up custom element properties in 3.0.0 levels
- fixed bug with choosing wrong engine version when playing tapes
- fixed bug with creating inaccessible elements at player position
- fixed bug with not finding current level artwork directory

Most important changes since last release version 3.0.0:
- fixed bug that caused a crash at startup under Solaris
- fixed bug that caused the DOS version not finding its files
- fixed bug with missing graphic for active red disk bomb
- added custom element property for dropping collected elements
- added another 128 custom elements for those who can't get enough
- fixed PCX files in the DOS version ("classic" graphics only)
2003-08-26 15:04:10 +00:00
adam
3f29acc7c3 Changes 3.0.0 (since 2.1.1):
- final version bumped to 3.0.0 due to the massive changes
- graphics and sounds now completely and dynamically customizable
- element animation length, speed and mode now freely configurable
- 128 custom elements with lots of configurable element properties
- advanced custom element settings for powerful, self-created elements
- automatic tape playing function for game engine and level testing
- added support for stereo WAV sound files
- added support for background images for all menu screens
- added some example levels showing how to create custom artwork
- fixed Supaplex gravity tubes
- fixed very nasty bug in SDL_image (and X11) PCX loading routine
- fixed some very nasty bugs in bitmap zoom routine
- fixed very nasty bug in level/artwork loading routine
2003-08-05 15:12:45 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
grant
afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00
heinz
e294b09d37 Bump package revision to 1. New patch-ak fixes bug in Joystick support
(tested on i386).
2002-10-29 19:07:53 +00:00
heinz
c374580d1a PKGREVISION is now empty (instead of 0), to placate lintpkgsrc. 2002-10-23 13:24:53 +00:00
heinz
81aadfcec9 Update to rocksndiamonds 2.1.1.
Maybe someone can check how well this works with pkgsrc on MacOS X (see
below).

Summary of changes since rocksndiamonds-2.0.0
=============================================
        - lots of new contributed levels

Release Version 2.1.1 [13 AUG 2002]
-----------------------------------
	- sound bug (causing crashes) fixed (reported by Keith Peterston)
	- small NetBSD compilation bug fixed (thanks to Adam Ciarcinski)
	- default keys for "snap field" and "place bomb" fixed for Mac OS X

Release Version 2.1.0 [05 AUG 2002]
-----------------------------------
	- native Mac OS X port (finally!)
	- graphics, sounds and music now fully configurable
	- added support for TrueColor PCX graphics files
	- added support for 16 bit WAV sound files
	- enhanced sound system (especially regarding stereo and loop sounds)
	- new structured setup menu (with sub-menues for graphics and sounds)
	- added "quick save" and "quick load" functions with shortcut key
	- added single-step playing mode (automatic pause after each step)
	- behaviour of "Escape" key in level editor now more intuitive
	- changed default slipping behaviour of gems back to 2.0.0 style;
	  this is now an element property for gems in the level editor,
	  although existing converted levels use the new EM gems behaviour
	- bug fixed that prevented walking through tubes when gravity on
	- added Boulder Dash style "snap-pushing" (thanks to Achim Härtel)
	- fixed memory leak in image loading code
	- fixed some "solid" elements that were accidentally destructible
	- fixed some tape stuff
	- added custom graphics set "Animal Kingdom" by Flyboy

Release Version 2.0.1 [19 MAR 2002]
-----------------------------------
	- bug in explosion code fixed that broke level 24 of "Baby Ghost Mine"
	- several Supaplex emulation bugs fixed (thanks to Mihail Milushev):
	  + orange disk does not fall off from slippery elements
	  + infotrons kill electrons and snik snaks and trigger orange disks
	  + explosion chain reactions are now a bit slower than murphy
	- behaviour of robots adjusted to make them less aggressive
	  (needed for quite some Emerald Mine Club levels)
	- emeralds and diamonds now fall off normal, steel and growing walls,
	  as this is the correct behaviour in Emerald Mine; existing private
	  and contributed levels will still behave as before, unless saved
	  again (with or without modifications) from the level editor of the
	  current version of the game
	- icon for Windows executable added
	- bug when selecting default level series fixed
	- new IFF style file format for level and tape files
	- bug in storing amoeba content fixed
	- nasty tape bugs fixed (completely reworked tape stuff)
	- fullscreen mode now works with Windows (workaround for bug in SDL)
	- /dev/dsp support for NetBSD added (thanks to Krister Walfridsson)
	- file permissions when saving files and creating directories changed
	- some small sound bugs fixed
2002-10-19 20:06:45 +00:00
jmc
c42c1c7334 Minor overhaul.
Not all NetBSD platforms support joysticks. Based on ones which are active
in their GENERIC config's only have those actually compile in NetBSD specific
joystick support. For the rest let the generic joystick support get pulled
in (and then fail to probe so the code will disable it anyways).

Otherwise this fails on any system without <machine/joystick.h>

XXX...This really should be redone at some point since it's messy now and
the original code looks like it had the concept of no joystick support in
the first place.
2002-02-19 06:25:57 +00:00
jdolecek
0d1e80531e regen: Add joystick support for NetBSD 2002-02-02 11:59:54 +00:00
jdolecek
6de5d96936 Add joystick support for NetBSD 2002-02-02 11:59:09 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
kristerw
bf8feba5f6 Update rocksndiamonds to version 2.0.0
Changes since version 1.4.0:
        - major code redesign to maintain generic game functions in a separate
          library and make it easier to port the game to new targets like SDL
        - can be compiled with SDL library to build native Windows version
        - DOS and Windows versions can be compiled with gcc cross-compiler
        - trying to open already busy audio device does not block the game
        - fixed network playing bug (patch from web site)
        - SDL version can load and play music modules
        - fixed element description in level editor for EM doors and keys
2001-07-05 22:07:58 +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
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +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
wiz
902f967bcd Apply network patch from distribution site (to small to fetch, just added
it), and allow usage of CFLAGS from environment.
Patches supplied by Adam Ciarcinski in private mail.
2000-12-20 01:23:04 +00:00
agc
063e128c20 Render this package compilable, in the presence of a version of GNU make
whose name is not gmake. From Matthew Green.
2000-10-31 15:52:18 +00:00
wiz
2ca0c94739 remove trailing '.' 2000-02-05 18:37:15 +00:00
wiz
6bcff590e8 remove unnecessary PLIST magic 2000-01-05 17:33:53 +00:00
wiz
000bfb5ae9 Improved PLIST for binary packages (creation of high-score directories,
permissions). Made user 'games' owner of most files.
2000-01-05 01:02:12 +00:00
wiz
ac6e51718b Initial import of Rocks'n'Diamonds 1.4.0, an arcade game like Boulder Dash
or Emerald Mines, also includes Sokoban levels
2000-01-03 17:23:26 +00:00