head 1.43; access; symbols pkgsrc-2023Q4:1.43.0.4 pkgsrc-2023Q4-base:1.43 pkgsrc-2023Q3:1.43.0.2 pkgsrc-2023Q3-base:1.43 pkgsrc-2023Q2:1.42.0.28 pkgsrc-2023Q2-base:1.42 pkgsrc-2023Q1:1.42.0.26 pkgsrc-2023Q1-base:1.42 pkgsrc-2022Q4:1.42.0.24 pkgsrc-2022Q4-base:1.42 pkgsrc-2022Q3:1.42.0.22 pkgsrc-2022Q3-base:1.42 pkgsrc-2022Q2:1.42.0.20 pkgsrc-2022Q2-base:1.42 pkgsrc-2022Q1:1.42.0.18 pkgsrc-2022Q1-base:1.42 pkgsrc-2021Q4:1.42.0.16 pkgsrc-2021Q4-base:1.42 pkgsrc-2021Q3:1.42.0.14 pkgsrc-2021Q3-base:1.42 pkgsrc-2021Q2:1.42.0.12 pkgsrc-2021Q2-base:1.42 pkgsrc-2021Q1:1.42.0.10 pkgsrc-2021Q1-base:1.42 pkgsrc-2020Q4:1.42.0.8 pkgsrc-2020Q4-base:1.42 pkgsrc-2020Q3:1.42.0.6 pkgsrc-2020Q3-base:1.42 pkgsrc-2020Q2:1.42.0.4 pkgsrc-2020Q2-base:1.42 pkgsrc-2020Q1:1.42.0.2 pkgsrc-2020Q1-base:1.42 pkgsrc-2019Q4:1.40.0.4 pkgsrc-2019Q4-base:1.40 pkgsrc-2019Q3:1.39.0.46 pkgsrc-2019Q3-base:1.39 pkgsrc-2019Q2:1.39.0.44 pkgsrc-2019Q2-base:1.39 pkgsrc-2019Q1:1.39.0.42 pkgsrc-2019Q1-base:1.39 pkgsrc-2018Q4:1.39.0.40 pkgsrc-2018Q4-base:1.39 pkgsrc-2018Q3:1.39.0.38 pkgsrc-2018Q3-base:1.39 pkgsrc-2018Q2:1.39.0.36 pkgsrc-2018Q2-base:1.39 pkgsrc-2018Q1:1.39.0.34 pkgsrc-2018Q1-base:1.39 pkgsrc-2017Q4:1.39.0.32 pkgsrc-2017Q4-base:1.39 pkgsrc-2017Q3:1.39.0.30 pkgsrc-2017Q3-base:1.39 pkgsrc-2017Q2:1.39.0.26 pkgsrc-2017Q2-base:1.39 pkgsrc-2017Q1:1.39.0.24 pkgsrc-2017Q1-base:1.39 pkgsrc-2016Q4:1.39.0.22 pkgsrc-2016Q4-base:1.39 pkgsrc-2016Q3:1.39.0.20 pkgsrc-2016Q3-base:1.39 pkgsrc-2016Q2:1.39.0.18 pkgsrc-2016Q2-base:1.39 pkgsrc-2016Q1:1.39.0.16 pkgsrc-2016Q1-base:1.39 pkgsrc-2015Q4:1.39.0.14 pkgsrc-2015Q4-base:1.39 pkgsrc-2015Q3:1.39.0.12 pkgsrc-2015Q3-base:1.39 pkgsrc-2015Q2:1.39.0.10 pkgsrc-2015Q2-base:1.39 pkgsrc-2015Q1:1.39.0.8 pkgsrc-2015Q1-base:1.39 pkgsrc-2014Q4:1.39.0.6 pkgsrc-2014Q4-base:1.39 pkgsrc-2014Q3:1.39.0.4 pkgsrc-2014Q3-base:1.39 pkgsrc-2014Q2:1.39.0.2 pkgsrc-2014Q2-base:1.39 pkgsrc-2014Q1:1.38.0.24 pkgsrc-2014Q1-base:1.38 pkgsrc-2013Q4:1.38.0.22 pkgsrc-2013Q4-base:1.38 pkgsrc-2013Q3:1.38.0.20 pkgsrc-2013Q3-base:1.38 pkgsrc-2013Q2:1.38.0.18 pkgsrc-2013Q2-base:1.38 pkgsrc-2013Q1:1.38.0.16 pkgsrc-2013Q1-base:1.38 pkgsrc-2012Q4:1.38.0.14 pkgsrc-2012Q4-base:1.38 pkgsrc-2012Q3:1.38.0.12 pkgsrc-2012Q3-base:1.38 pkgsrc-2012Q2:1.38.0.10 pkgsrc-2012Q2-base:1.38 pkgsrc-2012Q1:1.38.0.8 pkgsrc-2012Q1-base:1.38 pkgsrc-2011Q4:1.38.0.6 pkgsrc-2011Q4-base:1.38 pkgsrc-2011Q3:1.38.0.4 pkgsrc-2011Q3-base:1.38 pkgsrc-2011Q2:1.38.0.2 pkgsrc-2011Q2-base:1.38 pkgsrc-2011Q1:1.37.0.20 pkgsrc-2011Q1-base:1.37 pkgsrc-2010Q4:1.37.0.18 pkgsrc-2010Q4-base:1.37 pkgsrc-2010Q3:1.37.0.16 pkgsrc-2010Q3-base:1.37 pkgsrc-2010Q2:1.37.0.14 pkgsrc-2010Q2-base:1.37 pkgsrc-2010Q1:1.37.0.12 pkgsrc-2010Q1-base:1.37 pkgsrc-2009Q4:1.37.0.10 pkgsrc-2009Q4-base:1.37 pkgsrc-2009Q3:1.37.0.8 pkgsrc-2009Q3-base:1.37 pkgsrc-2009Q2:1.37.0.6 pkgsrc-2009Q2-base:1.37 pkgsrc-2009Q1:1.37.0.4 pkgsrc-2009Q1-base:1.37 pkgsrc-2008Q4:1.37.0.2 pkgsrc-2008Q4-base:1.37 pkgsrc-2008Q3:1.36.0.2 pkgsrc-2008Q3-base:1.36 cube-native-xorg:1.35.0.18 cube-native-xorg-base:1.35 pkgsrc-2008Q2:1.35.0.16 pkgsrc-2008Q2-base:1.35 cwrapper:1.35.0.14 pkgsrc-2008Q1:1.35.0.12 pkgsrc-2008Q1-base:1.35 pkgsrc-2007Q4:1.35.0.10 pkgsrc-2007Q4-base:1.35 pkgsrc-2007Q3:1.35.0.8 pkgsrc-2007Q3-base:1.35 pkgsrc-2007Q2:1.35.0.6 pkgsrc-2007Q2-base:1.35 pkgsrc-2007Q1:1.35.0.4 pkgsrc-2007Q1-base:1.35 pkgsrc-2006Q4:1.35.0.2 pkgsrc-2006Q4-base:1.35 pkgsrc-2006Q3:1.33.0.6 pkgsrc-2006Q3-base:1.33 pkgsrc-2006Q2:1.33.0.4 pkgsrc-2006Q2-base:1.33 pkgsrc-2006Q1:1.33.0.2 pkgsrc-2006Q1-base:1.33 pkgsrc-2005Q4:1.31.0.2 pkgsrc-2005Q4-base:1.31 pkgsrc-2005Q3:1.29.0.2 pkgsrc-2005Q3-base:1.29 pkgsrc-2005Q2:1.27.0.2 pkgsrc-2005Q2-base:1.27 pkgsrc-2005Q1:1.23.0.4 pkgsrc-2005Q1-base:1.23 pkgsrc-2004Q4:1.23.0.2 pkgsrc-2004Q4-base:1.23 pkgsrc-2004Q3:1.22.0.4 pkgsrc-2004Q3-base:1.22 pkgsrc-2004Q2:1.22.0.2 pkgsrc-2004Q2-base:1.22 pkgsrc-2004Q1:1.21.0.4 pkgsrc-2004Q1-base:1.21 pkgsrc-2003Q4:1.21.0.2 pkgsrc-2003Q4-base:1.21 netbsd-1-6-1:1.19.0.2 netbsd-1-6-1-base:1.19 netbsd-1-6:1.18.0.8 netbsd-1-6-RELEASE-base:1.18 pkgviews:1.18.0.4 pkgviews-base:1.18 buildlink2:1.18.0.2 buildlink2-base:1.18 netbsd-1-5-PATCH003:1.18 netbsd-1-5-PATCH001:1.11 netbsd-1-5-RELEASE:1.9 netbsd-1-4-PATCH003:1.9 netbsd-1-4-PATCH002:1.6 comdex-fall-1999:1.5 netbsd-1-4-PATCH001:1.5 netbsd-1-4-RELEASE:1.5 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.43 date 2023.09.02.13.45.14; author rhialto; state Exp; branches; next 1.42; commitid sZwdIYDMMYR2ucDE; 1.42 date 2020.01.29.20.23.16; author rhialto; state Exp; branches; next 1.41; commitid AxUjOWpwqW8gRCUB; 1.41 date 2020.01.28.21.11.30; author rhialto; state Exp; branches; next 1.40; commitid OkshJtLwCRHL9vUB; 1.40 date 2019.10.24.11.52.08; author pho; state Exp; branches; next 1.39; commitid i29LxAdkVaUt97IB; 1.39 date 2014.06.01.16.52.08; author wiz; state Exp; branches; next 1.38; commitid VH35xHhohn4paQCx; 1.38 date 2011.06.01.11.20.30; author wiz; state Exp; branches; next 1.37; 1.37 date 2008.11.10.17.21.35; author wiz; state Exp; branches; next 1.36; 1.36 date 2008.09.26.15.10.08; author joerg; state Exp; branches; next 1.35; 1.35 date 2006.12.27.13.37.36; author joerg; state Exp; branches; next 1.34; 1.34 date 2006.12.15.20.32.55; author joerg; state Exp; branches; next 1.33; 1.33 date 2006.02.05.23.09.20; author joerg; state Exp; branches; next 1.32; 1.32 date 2005.12.29.07.04.28; author jlam; state Exp; branches; next 1.31; 1.31 date 2005.12.05.20.50.17; author rillig; state Exp; branches; next 1.30; 1.30 date 2005.11.24.20.33.38; author rillig; state Exp; branches; next 1.29; 1.29 date 2005.09.22.14.55.07; author wiz; state Exp; branches; next 1.28; 1.28 date 2005.07.19.10.17.59; author grant; state Exp; branches; next 1.27; 1.27 date 2005.06.14.17.24.12; author jlam; state Exp; branches; next 1.26; 1.26 date 2005.06.01.18.02.51; author jlam; state Exp; branches; next 1.25; 1.25 date 2005.05.08.10.17.30; author pooka; state Exp; branches; next 1.24; 1.24 date 2005.04.11.21.45.55; author tv; state Exp; branches; next 1.23; 1.23 date 2004.12.03.15.14.57; author wiz; state Exp; branches; next 1.22; 1.22 date 2004.04.15.21.32.23; author snj; state Exp; branches; next 1.21; 1.21 date 2003.07.21.16.49.57; author martti; state Exp; branches; next 1.20; 1.20 date 2003.03.01.21.12.52; author pooka; state Exp; branches; next 1.19; 1.19 date 2002.09.23.10.10.51; author jlam; state Exp; branches 1.19.2.1; next 1.18; 1.18 date 2002.03.25.20.32.29; author pooka; state Exp; branches; next 1.17; 1.17 date 2002.03.22.17.26.28; author pooka; state Exp; branches; next 1.16; 1.16 date 2001.12.15.20.25.36; author agc; state Exp; branches; next 1.15; 1.15 date 2001.10.24.22.10.57; author jlam; state Exp; branches; next 1.14; 1.14 date 2001.10.23.13.14.54; author jlam; state Exp; branches; next 1.13; 1.13 date 2001.08.29.22.41.13; author jlam; state Exp; branches; next 1.12; 1.12 date 2001.06.26.19.11.04; author jlam; state Exp; branches; next 1.11; 1.11 date 2001.02.16.15.10.55; author wiz; state Exp; branches; next 1.10; 1.10 date 2000.11.27.22.31.04; author pooka; state Exp; branches; next 1.9; 1.9 date 2000.08.23.23.14.26; author tron; state Exp; branches; next 1.8; 1.8 date 2000.08.10.17.50.08; author pooka; state Exp; branches; next 1.7; 1.7 date 2000.03.27.08.54.56; author tron; state Exp; branches; next 1.6; 1.6 date 99.12.24.22.30.05; author pooka; state Exp; branches; next 1.5; 1.5 date 99.04.26.18.38.29; author garbled; state Exp; branches; next 1.4; 1.4 date 99.04.16.20.24.44; author abs; state Exp; branches; next 1.3; 1.3 date 98.12.31.13.20.54; author tv; state Exp; branches; next 1.2; 1.2 date 98.12.31.06.19.38; author garbled; state Exp; branches; next 1.1; 1.1 date 98.08.27.13.15.01; author garbled; state Exp; branches; next ; 1.19.2.1 date 2003.03.05.14.10.58; author agc; state Exp; branches; next ; desc @@ 1.43 log @games/nethack*: enable curses user interface The "nethack" wrapper script that papers over the existence of nethack-tty and nethack-x11 has been made more like the original way to select UIs (since there are now 3, and each game binary supports more than one of them). @ text @# $NetBSD: Makefile,v 1.42 2020/01/29 20:23:16 rhialto Exp $ .include "../../games/nethack-lib/Makefile.common" PKGNAME= nethack-x11-${NETHACK_VERSION} COMMENT= The X11 and tty/curses version of NetHack CATEGORIES+= x11 DEPENDS+= nethack-lib-${NETHACK_VERSION}{,nb*}:../../games/nethack-lib BUILD_TARGET= nethack ${VARDATND} MAKE_ENV+= GAME=nethack CONFIGURE_ARGS= sys/unix/hints/pkgsrc VARDATND= x11tiles NetHack.ad pet_mark.xbm pilemark.xbm rip.xpm MAKE_ENV+= VARDATND=${VARDATND:Q} FONTS_DIRS.x11+= ${PREFIX}/share/fonts/X11/misc INSTALLATION_DIRS= bin lib/X11/app-defaults share/fonts/X11/misc ${HACKDIR} DISTINFO_FILE?= ${.CURDIR}/../../games/nethack-lib/distinfo PATCHDIR= ${.CURDIR}/../../games/nethack-lib/patches SPECIAL_PERMS+= ${PREFIX}/bin/nethack-x11 \ ${GAMEPERM} pre-configure: ( ${ECHO} '#-PRE'; \ ${ECHO} 'CFLAGS+=-DCURSES_GRAPHICS'; \ ${ECHO} 'CURSES_GRAPHICS=1'; \ ${ECHO} 'CFLAGS+=-DX11_GRAPHICS'; \ ${ECHO} 'X11_GRAPHICS=1'; \ ) > ${WRKSRC}/sys/unix/hints/pkgsrc do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/nethack \ ${DESTDIR}${PREFIX}/bin/nethack-x11 ${INSTALL_DATA} ${WRKSRC}/dat/x11tiles \ ${DESTDIR}${HACKDIR} ${INSTALL_DATA} ${WRKSRC}/dat/NetHack.ad \ ${DESTDIR}${PREFIX}/lib/X11/app-defaults/NetHack ${INSTALL_DATA} ${WRKSRC}/dat/pet_mark.xbm \ ${DESTDIR}${HACKDIR} ${INSTALL_DATA} ${WRKSRC}/dat/pilemark.xbm \ ${DESTDIR}${HACKDIR} ${INSTALL_DATA} ${WRKSRC}/dat/rip.xpm \ ${DESTDIR}${HACKDIR} post-install: ${INSTALL_DATA} ${WRKSRC}/win/X11/nh10.bdf \ ${DESTDIR}${PREFIX}/share/fonts/X11/misc ${INSTALL_DATA} ${WRKSRC}/win/X11/ibm.bdf \ ${DESTDIR}${PREFIX}/share/fonts/X11/misc ${INSTALL_DATA} ${WRKSRC}/win/X11/nethack.rc \ ${DESTDIR}${HACKDIR}/nethack.x11.rc .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXmu/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.42 log @games/nethack*: correct some COMMENTs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2020/01/28 21:11:30 rhialto Exp $ d6 1 a6 1 COMMENT= The X11 version of NetHack d14 1 a14 1 MAKE_ENV+= GTYPE=-x11 d28 9 d60 2 d64 1 @ 1.41 log @games/nethack: update to 3.6.5. The NetHack DevTeam is announcing the release of NetHack 3.6.5 on January 27, 2020 NetHack 3.6.5 is the official release of NetHack that follows NetHack 3.6.4. This release primarily corrects security issues present in NetHack versions 3.6.0, 3.6.1, 3.6.2, 3.6.3 and 3.6.4. CVE-2020-5214 Error recovery after syntax error in configuration file is subject to a buffer overflow CVE-2020-5213 SYMBOL configuration file option is subject to a buffer overflow CVE-2020-5212 MENUCOLOR configuration file option is subject to a buffer overflow CVE-2020-5211 AUTOCOMPLETE configuration file option is subject to a buffer overflow CVE-2020-5210 NetHack command line -w option parsing is subject to a buffer overflow CVE-2020-5209 Command line parsing of options starting with -de and -i is subject to a buffer overflow CVE-2019-19905 Privilege escalation/remote code execution/crash in configuration parsing You are encouraged to update to NetHack 3.6.5 as soon as possible. Here's a brief synopsis of the handful of bug fixes included in NetHack 3.6.5: fix accessing mons[-1] when trying to gate in a non-valid demon fix accessing mons[-1] when monster figures out if a tin cures stoning have string_for_opt() return empty_optstr on failure ensure existing callers of string_for_opt() check return value before using it fix potential buffer overflow in add_menu_coloring() fix potential buffer overflow in sym_val() fix potential buffer overflow in pline(), raw_printf(), and config_error_add() fix potential buffer overflow in choose_windows() use vsnprintf instead of vsprintf in pline.c where possible Windows: includes a fix from a 3.6.4 post-release update where OPTIONS=map_mode:fit_to_screen could cause a game start failure Windows: users with C-locale unmappable names could get game start failure All of the fixes have been incrementally published on the public Git repository for the game. A more complete list can be found in the game's sources in doc/fixes36.5. As usual, a warning that some entries in that file may also be "spoilers". Existing saved games and bones files from 3.6.0 through to 3.6.4 should work with 3.6.5, assuming that the same build configuration options were used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2019/10/24 11:52:08 pho Exp $ d6 1 a6 1 COMMENT= The X11+tty version of NetHack @ 1.40 log @Update to NetHack 3.6.2 See release notes for the changes from 3.4.3: * http://nethack.org/v360/release.html * http://nethack.org/v361/release.html * http://nethack.org/v362/release.html IMPORTANT NOTICE: Old 3.4.x save files are *incompatible* with this version (which isn't my fault). Files are now saved in /var/games/nethack360. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2014/06/01 16:52:08 wiz Exp $ a5 1 PKGREVISION= 5 @ 1.39 log @Install fonts into default installation path. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2011/06/01 11:20:30 wiz Exp $ d13 2 a14 2 BUILD_TARGET= nethack x11tiles rip.xpm INSTALL_TARGET= binfiles d17 3 d22 1 a22 1 INSTALLATION_DIRS= lib/X11/app-defaults share/fonts/X11/misc d24 2 a25 2 DISTINFO_FILE?= ${.CURDIR}/../nethack-lib/distinfo PATCHDIR= ${.CURDIR}/../nethack-lib/patches d29 3 a31 1 post-install: d33 2 a34 2 ${DESTDIR}${GAMEDIR} ${INSTALL_DATA} ${WRKSRC}/win/X11/NetHack.ad \ d36 8 d49 1 a49 1 ${DESTDIR}${GAMEDIR}/nethack.x11.rc @ 1.38 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.37 2008/11/10 17:21:35 wiz Exp $ # d6 1 a6 1 PKGREVISION= 4 d17 1 a17 1 FONTS_DIRS.x11+= ${PREFIX}/lib/X11/fonts/misc d19 1 a19 1 INSTALLATION_DIRS= lib/X11/app-defaults lib/X11/fonts/misc d32 1 a32 1 ${DESTDIR}${PREFIX}/lib/X11/fonts/misc d34 1 a34 1 ${DESTDIR}${PREFIX}/lib/X11/fonts/misc @ 1.37 log @Bump PKGREVISION for libXaw API depends bump due to libXaw8 removal. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2008/09/26 15:10:08 joerg Exp $ d7 2 a8 2 PKGREVISION= 3 COMMENT= The X11 version of NetHack d14 1 a14 2 BUILD_TARGET= x11tiles nethack d22 5 d28 10 a37 6 @@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/${NETHACK_DIR} @@${INSTALL_DATA} ${WRKSRC}/win/X11/NetHack.ad \ ${PREFIX}/lib/X11/app-defaults/NetHack @@${INSTALL_DATA} ${WRKSRC}/win/X11/nh10.bdf ${PREFIX}/lib/X11/fonts/misc @@${INSTALL_DATA} ${WRKSRC}/win/X11/nethack.rc \ ${PREFIX}/share/${NETHACK_DIR}/nethack.x11.rc @ 1.36 log @Open-code revision pattern for nethack-lib. Still requires the same upstream version, but ignores the NetBSD patchlevel. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2006/12/27 13:37:36 joerg Exp $ d7 1 a7 1 PKGREVISION= 2 @ 1.35 log @- fine grained X11 dependencies for packages which have either USE_IMAKE or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or via buildlink3.mks - introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm in the !modular case - fix some cases where the check for libX11 couldn't work at all by using C++ for compilation without including the proper headers Verified using a full X11_TYPE=xorg bulk build without additional breakage. Discussed with salo@@, wiz@@ and send to packages@@ for feedback. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2006/12/15 20:32:55 joerg Exp $ d12 1 a12 1 DEPENDS+= nethack-lib-${NETHACK_VERSION}nb1:../../games/nethack-lib @ 1.34 log @Mechanically replace all includes of buildlink3.mk of the following packages with the modular Xorg equivalent. Those are falling back to the old location by default, so this commmit doesn't change dependencies. graphics/xpm ==> x11/libXpm fonts/Xft2 ==> x11/libXft x11/Xfixes ==> x11/libXfixes x11/xcursor ==> x11/libXcursor x11/Xrender ==> x11/libXrender x11/Xrandr ==> libXrandr @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2006/02/05 23:09:20 joerg Exp $ d31 1 d33 1 @ 1.33 log @Recursive revision bump / recommended bump for gettext ABI change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2005/12/29 07:04:28 jlam Exp $ d31 1 a31 1 .include "../../graphics/xpm/buildlink3.mk" @ 1.32 log @Convert to use the new pkginstall framework fonts-handling by renaming FONTS__DIRS variables to FONTS_DIRS., and by removing the unnecessary inclusion of mk/fonts.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2005/12/05 20:50:17 rillig Exp $ d7 1 a7 1 PKGREVISION= 1 @ 1.31 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2005/11/24 20:33:38 rillig Exp $ d19 1 a19 1 FONTS_X11_DIRS+= ${PREFIX}/lib/X11/fonts/misc a31 1 .include "../../mk/fonts.mk" @ 1.30 log @Removed the definition for ALLFILES, as it had no effect on the package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2005/09/22 14:55:07 wiz Exp $ d4 1 a4 1 .include "../nethack-lib/Makefile.common" @ 1.29 log @Depend on current pkgsrc version of nethack-*; bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2005/07/19 10:17:59 grant Exp $ a18 1 ALLFILES+= ${DISTFILES} @ 1.28 log @depends should be ../..// @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2005/06/14 17:24:12 jlam Exp $ d7 1 d12 1 a12 1 DEPENDS+= nethack-lib-${NETHACK_VERSION}:../../games/nethack-lib @ 1.27 log @Create directories before installing files into them. This fixes installation when NO_MTREE=yes, and also fixes PR pkg/30491. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2005/06/01 18:02:51 jlam Exp $ d11 1 a11 1 DEPENDS+= nethack-lib-${NETHACK_VERSION}:../nethack-lib @ 1.26 log @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. , 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2005/05/08 10:17:30 pooka Exp $ d21 2 @ 1.25 log @* install the nethack nh10 font * install some x11 resources examples files from from Sergey Svishchev in PR pkg/21753 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2005/04/11 21:45:55 tv Exp $ a12 1 USE_X11= YES @ 1.24 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2004/12/03 15:14:57 wiz Exp $ d20 1 d24 5 d31 1 @ 1.23 log @Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs. Suggested by Roland Illig, ok'd by various. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2004/04/15 21:32:23 snj Exp $ a12 1 USE_BUILDLINK3= YES @ 1.22 log @Convert to buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2003/07/21 16:49:57 martti Exp $ d16 1 a16 1 ALL_TARGET= x11tiles nethack @ 1.21 log @COMMENT should start with a capital letter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2003/03/01 21:12:52 pooka Exp $ d13 1 a13 1 USE_BUILDLINK2= YES d25 1 a25 1 .include "../../graphics/xpm/buildlink2.mk" @ 1.20 log @Hello NetHack 3.4.1 This is a bugfix release, no new features introduced. As a compensation for no new features, savegames and bones levels from NetHack 3.4.0 should work, and that's why I kept the datafile directory named nethackdir340. In theory you should be able to simply update the nethack pkgs and continue playing, but I'll not accept any death threats if it doesn't work, so please make sure you make the appropriate backups before trying. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2002/09/23 10:10:51 jlam Exp $ d7 1 a7 1 COMMENT= the X11 version of NetHack @ 1.19 log @buildlink1 -> buildlink2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2002/03/25 20:32:29 pooka Exp $ d23 1 a23 2 @@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles \ ${PREFIX}/share/nethackdir${NETHACK_DISTVER} @ 1.19.2.1 log @Pullup nethack version 3.4.1 to netbsd-1-6-1 pkgsrc branch. Requested by Antti Kantee. > Date: Sat, 1 Mar 2003 23:12:53 +0200 (EET) > > > Module Name: pkgsrc > Committed By: pooka > Date: Sat Mar 1 21:12:53 UTC 2003 > > Modified Files: > pkgsrc/games/nethack-lib: Makefile.common distinfo > pkgsrc/games/nethack-lib/patches: patch-aa patch-ab patch-ac patch-ae > pkgsrc/games/nethack-qt: Makefile distinfo > pkgsrc/games/nethack-qt/patches: patch-aa patch-ab patch-ac patch-ae > patch-af patch-ag patch-ah patch-ai > pkgsrc/games/nethack-tty: distinfo > pkgsrc/games/nethack-x11: Makefile distinfo > pkgsrc/games/nethack-x11/patches: patch-aa patch-ab patch-ac patch-af > patch-ag patch-ah > Removed Files: > pkgsrc/games/nethack-lib/patches: patch-ah > pkgsrc/games/nethack-qt/patches: patch-aj > pkgsrc/games/nethack-x11/patches: patch-ai > > Log Message: > Hello NetHack 3.4.1 > > This is a bugfix release, no new features introduced. > > As a compensation for no new features, savegames and bones levels > from NetHack 3.4.0 should work, and that's why I kept the datafile > directory named nethackdir340. In theory you should be able to > simply update the nethack pkgs and continue playing, but I'll not > accept any death threats if it doesn't work, so please make sure > you make the appropriate backups before trying. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2002/09/23 10:10:51 jlam Exp $ d23 2 a24 1 @@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/${NETHACK_DIR} @ 1.18 log @Make the name of nethackdir contain version information (eg. now it's called nethackdir340). This is to ease the lives of people who wish to have multiple versions nethack installed at the same time. It is not fully automated, because doing pkgsrc magic will most likely screw things up one funny way or another. And we all know that the most important thing in this world is the nethack scorefile ... Manually bump version to 3.4.0nb1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2002/03/22 17:26:28 pooka Exp $ d13 2 a14 1 USE_BUILDLINK_ONLY= YES d26 1 a26 2 .include "../../graphics/xpm/buildlink.mk" .include "../../mk/x11.buildlink.mk" @ 1.17 log @Upgrade nethack packages to NetHack 3.4.0 Highlights of the new release: * numerous bugfixes * stamina affects ability to throw heavy things * objects merge in containers * several small refinements to race/role separation * more feedback about skill advancement from #enhance command * "autodig" option * option for starting without a pet + many more, read doc/fixes34.0 Old savegames naturally don't work, so make sure you finish old ones before upgrading the package. Also fixes the rest of pkg/15717 by Bernd Ernesti. Solution was the same as what Thomas Klausner used to fix angband (ie. simply duplicate the patches) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2001/12/15 20:25:36 agc Exp $ d22 2 a23 1 @@${INSTALL_DATA} ${WRKSRC}/dat/x11tiles ${PREFIX}/share/nethackdir @ 1.16 log @Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external references of the pkglint package. _PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages which would like to refer to other packages in the build tree. It should not be set by users, but neither should it stop a user from building a package if it is defined, so make it obvious that this is the case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2001/10/24 22:10:57 jlam Exp $ d19 1 a19 2 PATCHFILES+= ${_PKGSRCDIR}/games/nethack-lib/patches/patch-* ALLFILES= ${DISTFILES} # don't checksum shared patches @ 1.15 log @I am a triple idiot. The only relevant variable that x11.buildlink.mk redefines about which buildlink.mk files would care is BUILDLINK_X11_DIR, which points to the location of the X11R6 hierarchy used during building. If x11.buildlink.mk isn't included, then BUILDLINK_X11_DIR defaults to ${X11BASE} (set in bsd.pkg.mk), so its value is always safe to use. Remove the ifdefs surrounding the use of BUILDLINK_X11_DIR in tk/buildlink.mk and revert changes to move x11.buildlink.mk before the other buildlink.mk files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2001/10/23 13:14:54 jlam Exp $ d19 1 a19 1 PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-* @ 1.14 log @x11.buildlink.mk needs to be included before any buildlink.mk files that use X11_BUILDLINK_MK as a test value. Generally just reordering the inclusions so that x11.buildlink.mk comes before the other buildlink.mk files will make everthing work. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2001/08/29 22:41:13 jlam Exp $ d25 1 a26 1 .include "../../graphics/xpm/buildlink.mk" @ 1.13 log @Use x11.buildlink.mk instead of USE_X11. Also convert hard-coded references to ${X11BASE} in the header and library search paths into references to ${LOCALBASE}/share/x11-links. These packages should now be strongly- buildlinked regardless of whether xpkgwedge is installed. Changes well-tested on NetBSD-1.5X/i386 with and without xpkgwedge and lightly-tested on NetBSD-1.5.1/alpha without xpkgwedge. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2001/06/26 19:11:04 jlam Exp $ d25 1 a26 1 .include "../../mk/x11.buildlink.mk" @ 1.12 log @Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2001/02/16 15:10:55 wiz Exp $ a6 1 a12 1 USE_X11= YES d26 1 @ 1.11 log @Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2000/11/27 22:31:04 pooka Exp $ d15 2 a16 1 USE_XPM= YES d27 1 @ 1.10 log @Install x11tiles the proper way for nethack-x11. This fixes the problem of nethack-x11 not having `pretty' graphics reported by Julian Coleman on tech-pkg @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2000/08/23 23:14:26 tron Exp $ d7 2 @ 1.9 log @Use "USE_XPM" option instead of direct dependence on the "xpm" package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2000/08/10 17:50:08 pooka Exp $ d14 1 a14 1 ALL_TARGET= nethack d20 3 @ 1.8 log @Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades. This release contains numerous fixes to bugs in 3.3.0 and users are advised to upgrade. Note that old savegames and bones files won't work anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2000/03/27 08:54:56 tron Exp $ a10 1 DEPENDS+= xpm-3.4k:../../graphics/xpm d12 2 a13 1 USE_X11= yes @ 1.7 log @Adapt to new handling of "${CONFIGURE}". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1999/12/24 22:30:05 pooka Exp $ d4 1 a4 4 DISTNAME= nethack-3.3.0 PKGNAME= nethack-x11-3.3.0 CATEGORIES= games x11 MASTER_SITES= ftp://ftp.win.tue.nl/pub/games/nethack.330/source/ d6 1 a6 2 MAINTAINER= root@@garbled.net HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/ d8 3 a10 1 DEPENDS+= nethack-lib-3.3.0:../nethack-lib a13 2 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= ./sys/unix/setup.sh a19 10 MD5_FILE= "${.CURDIR}/../nethack-lib/files/md5" post-extract: @@${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh post-patch: @@${MV} ${WRKSRC}/include/config.h ${WRKSRC}/foo @@${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h @@${RM} -f ${WRKSRC}/foo @ 1.6 log @Update the Nethack package to 3.3.0. nethack-qt will be non-functional until we get qt2.0 or greater into pkgsrc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 1999/04/26 18:38:29 garbled Exp $ d17 1 a17 1 CONFIGURE_SCRIPT= sys/unix/setup.sh @ 1.5 log @add USE_X11=yes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 1999/04/16 20:24:44 abs Exp $ d4 2 a5 2 DISTNAME= nethack-3.2.2 PKGNAME= nethack-x11-3.2.2 d7 1 a7 1 MASTER_SITES= http://pinky.wtower.com/nethack/sources/ d12 1 a12 1 DEPENDS+= nethack-lib-3.2.2:../nethack-lib d25 5 d32 1 a32 1 @@${SED} -e 's@@XXXLOCALBASEXXX@@${LOCALBASE}@@g' <${WRKSRC}/foo> ${WRKSRC}/include/config.h @ 1.4 log @nethack-x11 _really_ wants to depend on nethack-lib and xpm. Found by ahorn@@anim.dreamworks.com @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 1998/12/31 13:20:54 tv Exp $ d15 1 @ 1.3 log @DO NOT REACH OVER INTO ANOTHER PKG'S ${WRKDIR}! This breaks many things, not the least of which are `make fetch-list' and `WRKOBJDIR'. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 1998/12/31 06:19:38 garbled Exp $ d12 2 a13 2 #DEPENDS+= nethack-lib-3.2.2:../nethack-lib #DEPENDS+= xpm-3.4k:../../graphics/xpm @ 1.2 log @Make these packages conform to read-only-pkgsrc. Bad garbled! bad! Fixes PR 6528 by Simon Burge. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 1998/08/27 13:15:01 garbled Exp $ d7 1 a7 1 MASTER_SITES= # empty d12 2 a13 2 DEPENDS+= nethack-lib-3.2.2:../nethack-lib DEPENDS+= xpm-3.4k:../../graphics/xpm d15 2 a16 2 WRKSRC= ../nethack-lib/${WRKDIR_BASENAME}/${DISTNAME} NO_CHECKSUM= yes d21 2 a22 6 do-fetch: #empty do-extract: -@@mkdir ${WRKDIR_BASENAME} (cd ../nethack-lib && make clean) (cd ../nethack-lib && make configure) (cd ${WRKSRC}/src && make clean) d24 4 a27 2 do-clean: -@@rm -r ${WRKDIR_BASENAME} @ 1.1 log @nethack-x11: the X11 version of NetHack @ text @d1 1 a1 1 # $NetBSD$ d15 1 a15 1 WRKSRC= ../nethack-lib/work/${DISTNAME} d23 1 a23 1 -@@mkdir work d29 1 a29 1 -@@rm -r work @