Update to chocolate-doom 2.3.0
https://github.com/chocolate-doom/chocolate-doom/releases/tag/chocolate-doom-2.3.0

ports-related highlights:
- don't need gmake anymore
- don't need to modify final binary path via sed anymore

I remembered to try portcheck on this for once, only one complaint:
12:16 ryan@iddqd:..chocolate-doom$ /usr/ports/infrastructure/bin/portcheck  
installs icon chocolate-doom.png in share/icons, it should go in 
share/chocolate-doom/icons/ or like instead
installs icon chocolate-setup.png in share/icons, it should go in 
share/chocolate-setup/icons/ or like instead
games/chocolate-doom

I noticed all previous copies of this package violate this practice, and I
am not really sure how to adjust ${WRKDIST}/data/Makefile{.in} to know which
binary-named directory they should fall under, so I just left it as-is.


? chocolate-doom.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/chocolate-doom/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile    9 Nov 2016 11:58:20 -0000       1.20
+++ Makefile    2 Jan 2017 20:17:46 -0000
@@ -1,10 +1,9 @@
 # $OpenBSD: Makefile,v 1.20 2016/11/09 11:58:20 sthen Exp $
 
 COMMENT =      portable release of Doom, Heretic, Hexen, and Strife
-V =            2.2.1
+V =            2.3.0
 DISTNAME =     chocolate-doom-${V}
 CATEGORIES =   games x11
-REVISION =     0
 
 HOMEPAGE =     http://www.chocolate-doom.org/
 
@@ -26,7 +25,6 @@ RUN_DEPENDS = devel/desktop-file-utils
 
 
 CONFIGURE_STYLE =      gnu
-USE_GMAKE =            Yes
 
 # we don't need to require python to build
 CONFIGURE_ENV +=       HAVE_PYTHON=false
@@ -39,9 +37,6 @@ MAN_6 =               chocolate-doom chocolate-server
                chocolate-heretic chocolate-hexen chocolate-strife
 
 post-extract:
-       # set correct program directory
-       @sed -i 's,{exec_prefix}/games,{exec_prefix}/bin,' \
-               ${WRKSRC}/src/Makefile.in
        # set correct data directory
        @sed -i 's,"/games/doom","/doom",g' ${WRKSRC}/src/d_iwad.c
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/chocolate-doom/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo    16 Sep 2015 09:34:12 -0000      1.7
+++ distinfo    2 Jan 2017 20:17:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (chocolate-doom-2.2.1.tar.gz) = 
rRHihxZnxvoGWKvy3LoM2bJvvWUe6N9Vrf3Bitj9Z0o=
-SIZE (chocolate-doom-2.2.1.tar.gz) = 2127538
+SHA256 (chocolate-doom-2.3.0.tar.gz) = 
Pm0agqxciwJalpXOHkfQ3G7RQuuxEpseSnDidA95FQw=
+SIZE (chocolate-doom-2.3.0.tar.gz) = 2190744
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/chocolate-doom/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   16 Sep 2015 09:34:12 -0000      1.6
+++ pkg/PLIST   2 Jan 2017 20:17:46 -0000
@@ -36,30 +36,30 @@ share/applications/screensavers/
 share/applications/screensavers/chocolate-doom-screensaver.desktop
 share/doc/chocolate-doom/
 share/doc/chocolate-doom/ChangeLog
-share/doc/chocolate-doom/NEWS
-share/doc/chocolate-doom/NOT-BUGS
-share/doc/chocolate-doom/PHILOSOPHY
-share/doc/chocolate-doom/README
-share/doc/chocolate-doom/README.Music
+share/doc/chocolate-doom/NEWS.md
+share/doc/chocolate-doom/NOT-BUGS.md
+share/doc/chocolate-doom/PHILOSOPHY.md
+share/doc/chocolate-doom/README.Music.md
+share/doc/chocolate-doom/README.md
 share/doc/chocolate-heretic/
 share/doc/chocolate-heretic/ChangeLog
-share/doc/chocolate-heretic/NEWS
-share/doc/chocolate-heretic/PHILOSOPHY
-share/doc/chocolate-heretic/README
-share/doc/chocolate-heretic/README.Music
+share/doc/chocolate-heretic/NEWS.md
+share/doc/chocolate-heretic/PHILOSOPHY.md
+share/doc/chocolate-heretic/README.Music.md
+share/doc/chocolate-heretic/README.md
 share/doc/chocolate-hexen/
 share/doc/chocolate-hexen/ChangeLog
-share/doc/chocolate-hexen/NEWS
-share/doc/chocolate-hexen/PHILOSOPHY
-share/doc/chocolate-hexen/README
-share/doc/chocolate-hexen/README.Music
+share/doc/chocolate-hexen/NEWS.md
+share/doc/chocolate-hexen/PHILOSOPHY.md
+share/doc/chocolate-hexen/README.Music.md
+share/doc/chocolate-hexen/README.md
 share/doc/chocolate-strife/
 share/doc/chocolate-strife/ChangeLog
-share/doc/chocolate-strife/NEWS
-share/doc/chocolate-strife/PHILOSOPHY
-share/doc/chocolate-strife/README
-share/doc/chocolate-strife/README.Music
-share/doc/chocolate-strife/README.Strife
+share/doc/chocolate-strife/NEWS.md
+share/doc/chocolate-strife/PHILOSOPHY.md
+share/doc/chocolate-strife/README.Music.md
+share/doc/chocolate-strife/README.Strife.md
+share/doc/chocolate-strife/README.md
 share/doom/
 share/icons/
 share/icons/chocolate-doom.png

Reply via email to