Commit graph

33 commits

Author SHA1 Message Date
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +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
3c84cd45d8 USE_BUILDLINK3 and USE_X11. 2004-03-07 00:28:24 +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
adam
2823ef9edf Most important changes since release version 2.0.1:
- fixed bug that can cause crash on some compilers or systems
- fixed bug in game engine making some levels sometimes unsolvable
- for details, see CHANGES file (included in the package)
2003-08-26 15:22:42 +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
wiz
417981f7fa Add CONFLICT with mirrormagic-sdl. 2002-09-12 00:21:35 +00:00
wiz
29cd175204 Update to 2.0.1, provided by Adam Ciarcinski, with minor fixes.
Changes:
	- icon for Windows executable added
	- bug when selecting default level series fixed
	- new IFF style file format for level files
	- 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-09-11 23:43:41 +00:00
zuntum
37637e483f Move pkg/ files into package's toplevel directory 2001-11-01 00:47:39 +00:00
kristerw
4c71178d4a Update mirrormagic to version 2.0.0
Changes since version 1.3:
        - complete code redesign (based on new Rocks'n'Diamonds game engine)
        - contains now 60 levels from the classic game "Deflektor"
        - can be compiled with SDL library to build native Windows version
        - can be compiled with Allegro library to build native DOS version
        - DOS and Windows versions can be compiled with gcc cross-compiler
        - changed levels 43 and 45 due to changed (faster) pac man behaviour
2001-07-05 22:13:06 +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
99831540a0 Use /dev/audio instead of /dev/dsp. Fix provided by Adam Ciarcinski in
pkg/11576.
2000-12-05 00:34:33 +00:00
wiz
4752771447 add 'real' MASTER_SITE and HOMEPAGE 2000-09-04 10:23:58 +00:00
tron
f0b9164cf1 Use "USE_XPM" option instead of direct dependence on the "xpm" package. 2000-08-23 23:14:21 +00:00
agc
0fb805fba8 Use X11PREFIX in preference to X11BASE when installing files, so that
this package cooperates better when xpkgwedge is installed.
2000-07-11 08:39:54 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
ba246ab737 make it work on ELF 2000-01-02 03:22:10 +00:00
wiz
855416f289 replaced some commands by their ${COMMAND} counterparts 2000-01-02 03:14:03 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
f6473207ca Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this
package into ${X11BASE}".
Replace all occurrences of BUILD_USES_X11 with USE_X11. This means "use X11
headers and libraries to build this package".
1999-01-30 23:18:44 +00:00
garbled
50df9b6c7a Enable sound, and fix the Makefile. Cannot touch the RAY.names file,
otherwise the game cannot figure out it's own level files. (?) Sound works,
but isn't very good, and the music is absolutely horrid.
1998-11-09 21:20:18 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
mycroft
c73ee53134 Update xpm to 3.4k. 1998-07-04 09:18:54 +00:00
frueauf
0ecfe1ab42 Initial addition of a nice little puzzle game with color graphics and sound.
Fixes pr 5572 by Tim Rightnour with some fixing.
1998-06-12 13:43:17 +00:00