Nethack port has 2 versions and 2 flavours each

* Sanitizing 3.4.x

> revision 1.1.1.1
> date: 2018/04/25 16:56:32
> imported alongside the old one, because people may not have finished
> ascending their old characters.

It's been 2 years since 3.6.x, guess about time to drop 3.4.x (?)

* Ncurses Interface

> WANTLIB +=      c curses

Even the TTY flavour has libcurses dependency
since it's required for termcap library.

So instead of clustering flavours, I have added
extra curses interface to both flavours (changes made
in 3.6/files/openbsd)

Also bumped nethack from 3.6.4 to release version 3.6.6


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/nethack/3.6/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    15 Sep 2020 04:21:49 -0000      1.7
+++ Makefile    20 Dec 2020 05:44:19 -0000
@@ -1,13 +1,13 @@
 # $OpenBSD: Makefile,v 1.7 2020/09/15 04:21:49 rsadowski Exp $
 
 COMMENT =      dungeon explorin', hackin', game.  Piece of cake
-V =            3.6.2
+V =            3.6.6
 # what we have compatible with
 BASEV =                3.6.0
 DISTNAME =     nethack-$V
 PKGNAME =      ${DISTNAME}
 CATEGORIES =   games
-MASTER_SITES = https://www.nethack.org/download/3.6.2/
+MASTER_SITES = https://www.nethack.org/download/3.6.6/
 DISTFILES =    nethack-${V:S/.//g}-src.tgz
 REVISION =     1
 
@@ -71,5 +71,7 @@ post-install:
        ${WRKBUILD}/util/makedefs --grep --input ${WRKSRC}/doc/$i.6 \
                --output ${PREFIX}/man/man6/$i-$V.6
 .endfor
+
+WRKDIST =      ${WRKDIR}/NetHack-NetHack-3.6.6_Released
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/nethack/3.6/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    18 May 2019 15:00:41 -0000      1.2
+++ distinfo    20 Dec 2020 05:44:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (nethack-362-src.tgz) = +9AK2mpO40fs1KNQpbKZW0tKtdzGOIGzvESFsEed2x0=
-SIZE (nethack-362-src.tgz) = 4908750
+SHA256 (nethack-366-src.tgz) = z94MOrbdfCKuguHlpZq4AVIwTrI/sG4xKUOSceVkPtI=
+SIZE (nethack-366-src.tgz) = 5577633
Index: files/openbsd
===================================================================
RCS file: /cvs/ports/games/nethack/3.6/files/openbsd,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 openbsd
--- files/openbsd       25 Apr 2018 16:56:31 -0000      1.1.1.1
+++ files/openbsd       20 Dec 2020 05:44:19 -0000
@@ -9,6 +9,7 @@ CFLAGS += -DSYSCF -DSYSCF_FILE=\"$(HACKD
 # Wee, let's not do config
 CFLAGS += -DVISION_TABLES -DNOUSER_SOUNDS
 CFLAGS += -DTIMED_DELAY -DNOMAIL
+CFLAGS += -DCURSES_GRAPHICS
 
 CFLAGS += -DCOMPRESS=\"/usr/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
 
@@ -18,6 +19,10 @@ CXX = c++
 WINSRC = $(WINTTYSRC)
 WINOBJ = $(WINTTYOBJ)
 WINLIB = $(WINTTYLIB)
+
+WINSRC += $(WINCURSESSRC)
+WINOBJ += $(WINCURSESOBJ)
+WINLIB += $(WINCURSESLIB)
 
 POSTINSTALL = install -g $(GAMEGRP) -m $(VARFILEPERM) sys/unix/sysconf 
${INSTDIR}/sysconf
 WINTTYLIB=-lcurses

Reply via email to