Update: games/braincurses 1.1.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Update: games/braincurses 1.1.0

Christian Weisgerber
I accidentally discovered that I'm still the maintainer of this
little port.  I must have played it for a few days, years ago, and
then forgot about it.  Here's an update to the latest and probably
final release.  I'm dropping maintainership, too.

Yes, it does actually include a regression test now, but that would
require bringing in gmake and python and that's not worth it.

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/braincurses/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 12 Jul 2019 20:46:15 -0000 1.9
+++ Makefile 7 Nov 2019 21:18:02 -0000
@@ -2,30 +2,26 @@
 
 COMMENT= clone of the Mastermind game
 
-DISTNAME= braincurses-0.5b
-REVISION = 3
+GH_TAGNAME= v1.1.0
+GH_ACCOUNT= bderrly
+GH_PROJECT= braincurses
 CATEGORIES= games
-HOMEPAGE= http://sourceforge.net/projects/braincurses/
-
-MAINTAINER= Christian Weisgerber <[hidden email]>
 
 # GPLv2
 PERMIT_PACKAGE= Yes
 
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=braincurses/}
-
-WANTLIB= c m curses ${COMPILER_LIBCXX}
+WANTLIB= c curses m ${COMPILER_LIBCXX}
 
-COMPILER = base-clang ports-gcc base-gcc
+COMPILER = base-clang ports-gcc
 
 do-build:
- cd ${WRKBUILD} && ${CXX} ${CXXFLAGS} -o braincurses \
-    curses/windows.cpp braincurses.cpp -lncurses
+ cd ${WRKBUILD} && ${CXX} ${CXXFLAGS} -std=c++11 -o braincurses \
+    main.cpp code.cpp braincurses.cpp -lcurses
 
 do-install:
  ${INSTALL_PROGRAM} ${WRKBUILD}/braincurses ${PREFIX}/bin
  ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/braincurses
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/braincurses
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/braincurses
 
 NO_TEST= Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/braincurses/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 18 Jan 2015 03:13:56 -0000 1.2
+++ distinfo 7 Nov 2019 21:18:02 -0000
@@ -1,2 +1,2 @@
-SHA256 (braincurses-0.5b.tar.gz) = ya3GYqMP3FGzZGflNv9SIrdp7HOzXHvdvQ7UdywF8zI=
-SIZE (braincurses-0.5b.tar.gz) = 18487
+SHA256 (braincurses-1.1.0.tar.gz) = 7QRf9/3qt+FifVbIT0/lDIoAQ6FEDvq7MlpCBZPZkCM=
+SIZE (braincurses-1.1.0.tar.gz) = 13030
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/games/braincurses/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 3 Jan 2012 21:52:09 -0000 1.1.1.1
+++ pkg/DESCR 7 Nov 2019 21:18:02 -0000
@@ -1,2 +1,3 @@
 BrainCurses is a clone of the Mastermind game implemented with curses(3).
-It requires a color terminal.
+It requires a color terminal.  The game works the best with a dark
+background and white foreground.
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/braincurses/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 3 Jan 2012 21:52:09 -0000 1.1.1.1
+++ pkg/PLIST 7 Nov 2019 21:18:02 -0000
@@ -1,4 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2012/01/03 21:52:09 naddy Exp $
 @bin bin/braincurses
 share/doc/braincurses/
-share/doc/braincurses/README
+share/doc/braincurses/README.md
--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Update: games/braincurses 1.1.0

Frederic Cambus
On Thu, Nov 07, 2019 at 10:24:29PM +0100, Christian Weisgerber wrote:
> I accidentally discovered that I'm still the maintainer of this
> little port.  I must have played it for a few days, years ago, and
> then forgot about it.  Here's an update to the latest and probably
> final release.  I'm dropping maintainership, too.
>
> Yes, it does actually include a regression test now, but that would
> require bringing in gmake and python and that's not worth it.

Agreed, not worth it.

> ok?

OK fcambus@