pkgsrc/games/angband-x11/Makefile

42 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2005/11/10 06:30:53 rillig Exp $
#
Update to 3.0.3, based on PR 22805 by Peter Seebach. New in 3.0.3: # Reduced the size of the 32x32 tiles bitmap. The smaller bitmap should fix the problem on older Windows versions (Windows 95 and 98) with restrictions of the maximal bitmap size . The tiles are available as a separate download from: ftp://clockwork.dementia.org/angband/Extra/graf-32x32-302.zip. # Fixed a bug in the text-output routines used for character dumps that sometimes introduced bogus output. (reported by Pasi Vartiainen) # Fixed a wrong entry in the template for the X11 startup shell script. ("Mynstral") # Fixed the display of *slays* in character dumps. (Matthias Kurzke) # The "It might have hidden powers." message will now displayed in the character dumps. This makes it easier to see if an artifact or ego-item with random abilities has already been *identified*. # Curses on unidentified items are no longer revealed in character dumps or in the output of the 'Inspect' command. # Fixed a typo - "intellegence". (Greg Stark) # Updated the DOS version to compile with the latest version of the Allegro library. New in 3.0.2: # Limited the maximum size of floor stacks to 23, so that get_item() can always display a list containing all objects. # Renamed 'genocide' to 'banishment' and 'mass genocide' to 'mass banishment' since that name fits much better to the effect. The priest's 'banishment' spell has been renamed to 'banish evil' to avoid confusion and since that is what it actually does. # Replaced silver arrows and bolts with mithril ammo since slay evil was too powerful. # Changed the color of seeker bolts to green since there are so many 'light blue' ammo objects now. # 'Golden staves' had the wrong color. (John I'anson-Holton) # Improved indentation of the object descriptions in the character dump. (Andrew Sidwell) # Destruction/Earthquake spells didn't properly destroy stacks of objects. After saving and loading the game, parts of the stacks were restored. (reported by Matthias Kurzke) # Zapping a stack of recharging rods would instantly recharge all but one of them. (Tormod Haugen) # Fixed an error in the LCC Makefile. # Fixed an off-by-one error that prevented savefiles with the maximum number of monsters or objects from loading correctly. (Takeshi Mogami) # Fixed an abuse that allowed the player to kill a monster with a ball spell by staying out of sight and detection range of the monster while the monster just patiently waited without ever getting a turn (reported by Tormod Haugen). Wounded monsters will now always get their turn, even when out of range. # The Elfstone 'Elessar' and the Jewel 'Evenstar' have the INSTA_ART flag now to make the APW-Borg happy. # Amulets of resistance are now fully known after identifying one for the first time. (Dr. Andrew White) # The option for flushing of pending input when failing to cast a spell didn't work. # Fixed several bugs in the scorefile handling that could lead to duplicated entries for a single character. (reported by Hallvard Furuseth and Mauro Scarpa) # Unified the code for object infos and artifact spoilers. (Andrew Sidwell) # Added event-handler code to call Lua functions when things happen in the game. # Allow multiple Lua event handlers per event. # Moved the generation of the player's fixed starting equipment (food and torches) to a Lua event handler. # Which objects a store will buy and sell is now determined by a Lua script. # Added various improvments to make finding errors in Lua code easier. # The lib/edit/*.txt files can now optionally contain the names of the default object, monster, terrain, and flavor colors instead of just a character specifying the Angband color code. # Changed the format of the flavor.txt file to make parsing easier. # Allow the use of the Angband version number in conditional statements of the *.prf file format. # Added Takeshi Mogami's bigtile patch that allows tile-graphics to have doubled width. # Added support for David Gervais' 32x32 tileset to the Windows, X11, and XAW ports. The tiles are available as a separate download from: ftp://clockwork.dementia.org/angband/Extra/32x32.zip (Takeshi Mogami) # Improved the error message when a font can't be loaded in the X11 and XPJ frontends. # Fixed a memory leak when switching between the various tilesets in the Windows version.
2003-09-15 15:58:37 +02:00
DISTNAME= angband-3.0.3
PKGNAME= angband-x11-3.0.3
PKGREVISION= 1
2002-08-16 04:50:02 +02:00
CATEGORIES= games x11
MASTER_SITES= ftp://clockwork.dementia.org/angband/Source/
2002-08-16 04:50:02 +02:00
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SPOILERFILE}
2002-08-16 04:50:02 +02:00
MAINTAINER= root@garbled.net
HOMEPAGE= http://thangorodrim.angband.org/
COMMENT= Tolkien based variant of Moria for X11 displays
2002-08-16 04:50:02 +02:00
CONFLICTS= angband-tty-[0-9]*
2002-08-16 04:50:02 +02:00
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]*
INCOMPAT_CURSES+= NetBSD-1.6[A-M]-*
2002-08-16 04:50:02 +02:00
SPOILERFILE= angband-spoilers.tar.gz
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-setgid=games
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
GCC_REQD+= 2.95.3
.endif
# add spoiler files and clean up a bit
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/games/angband/lib/info
cd ${PREFIX}/share/games/angband/lib/info/ && \
${PAX} -O -zrf ${DISTDIR}/${SPOILERFILE}
${CHOWN} -R bin:games ${PREFIX}/share/games/angband
${FIND} ${PREFIX}/share/games/angband -name delete.me -exec ${RM} {} \;
2004-03-30 11:16:40 +02:00
.include "../../devel/ncurses/buildlink3.mk"
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 20:02:37 +02:00
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"