pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/warzone2100 warzone2100: use a2x instead of asci...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/49dd4f6c2ed6
branches:  trunk
changeset: 454774:49dd4f6c2ed6
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jun 18 13:47:58 2021 +0000

description:
warzone2100: use a2x instead of asciidoctor for now

this is easier than dealing with prefixed ruby commands

diffstat:

 games/warzone2100/Makefile |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r 6b5e70d4d2b9 -r 49dd4f6c2ed6 games/warzone2100/Makefile
--- a/games/warzone2100/Makefile        Fri Jun 18 13:31:32 2021 +0000
+++ b/games/warzone2100/Makefile        Fri Jun 18 13:47:58 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2021/04/21 13:24:43 adam Exp $
+# $NetBSD: Makefile,v 1.47 2021/06/18 13:47:58 nia Exp $
 
 DISTNAME=      warzone2100_src
 PKGNAME=       warzone2100-3.4.1
@@ -18,14 +18,17 @@
 USE_TOOLS+=    pkg-config zip
 USE_TOOLS+=    msgfmt msgmerge xgettext
 
-.include "../../lang/ruby/rubyversion.mk"
-BUILD_DEPENDS+=        ${RUBY_PKGPREFIX}-asciidoctor>=1.5.3:../../textproc/ruby-asciidoctor
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
 # Could NOT find Gettext: Found unsuitable version "0.16.1", but
 # required is at least "0.18"
-_TOOLS_USE_PKGSRC.msgfmt=      yes
-_TOOLS_USE_PKGSRC.msgmerge=    yes
-_TOOLS_USE_PKGSRC.xgettext=    yes
+TOOLS_PLATFORM.msgfmt=
+TOOLS_PLATFORM.msgmerge=
+TOOLS_PLATFORM.xgettext=
+.endif
 
 .include "../../games/warzone2100/options.mk"
 



Home | Main Index | Thread Index | Old Index