Harry Liebel
2018-04-12 27dfe7efc42f6e2347052121573149e7b77ebf4a
gnugo: Move to games section and make 64bit
1 files deleted
1 files copied
1 files added
3 files renamed
108 ■■■■■ changed files
components/games/gnugo/Makefile 27 ●●●● patch | view | raw | blame | history
components/games/gnugo/gnugo.license patch | view | raw | blame | history
components/games/gnugo/gnugo.p5m 10 ●●●● patch | view | raw | blame | history
components/games/gnugo/manifests/sample-manifest.p5m 3 ●●●● patch | view | raw | blame | history
components/games/gnugo/patches/01-tests-awk.patch 20 ●●●●● patch | view | raw | blame | history
components/gnugo/gnugo.p5m 48 ●●●●● patch | view | raw | blame | history
components/games/gnugo/Makefile
File was renamed from components/gnugo/Makefile
@@ -19,30 +19,41 @@
# CDDL HEADER END
#
# Copyright (c) 2013 David Hoeppner. All rights reserved.
# Copyright 2018 Harry Liebel <hliebel@gmail.com>
#
include ../../make-rules/shared-macros.mk
PREFERRED_BITS=64
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=        gnugo
COMPONENT_VERSION=    3.8
COMPONENT_REVISION=    1
COMPONENT_FMRI=        games/gnugo
COMPONENT_PROJECT_URL=    http://www.gnu.org/software/gnugo/
COMPONENT_SUMMARY=    gnugo - program that plays the game of Go.
COMPONENT_DESCRIPTION=    GNU Go is a free program that plays the game of Go.
COMPONENT_CLASSIFICATION=Applications/Games
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
    sha256:da68d7a65f44dcf6ce6e4e630b6f6dd9897249d34425920bfdd4e07ff1866a72
COMPONENT_ARCHIVE_URL=    http://ftp.gnu.org/gnu/gnugo/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE=    GPLv3
COMPONENT_LICENSE_FILE=    gnugo.license
include ../../make-rules/prep.mk
include ../../make-rules/configure.mk
include ../../make-rules/ips.mk
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
# common targets
build:        $(BUILD_32_and_64)
build:        $(BUILD_64)
install:    $(INSTALL_32_and_64)
install:    $(INSTALL_64)
test:        $(TEST_32_and_64)
test:        $(TEST_64)
# Auto-generated dependencies
REQUIRED_PACKAGES += text/gawk
REQUIRED_PACKAGES += library/ncurses
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math
components/games/gnugo/gnugo.license
components/games/gnugo/gnugo.p5m
copy from components/gnugo/manifests/sample-manifest.p5m copy to components/games/gnugo/gnugo.p5m
File was copied from components/gnugo/manifests/sample-manifest.p5m
@@ -10,7 +10,8 @@
#
#
# Copyright 2016 <contributor>
# Copyright (c) 2013 David Hoeppner. All rights reserved.
# Copyright 2018 Harry Liebel <hliebel@gmail.com>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -22,9 +23,12 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/bin/$(MACH64)/gnugo
# pull the manpages out of the component dir
<transform file path=usr/share/man/(man3/.+$) -> set action.hash %<\1> >
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
file path=usr/bin/gnugo
file path=usr/share/info/dir
file path=usr/share/info/gnugo.info
file path=usr/share/info/gnugo.info-1
file path=usr/share/info/gnugo.info-2
components/games/gnugo/manifests/sample-manifest.p5m
File was renamed from components/gnugo/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2016 <contributor>
# Copyright 2017 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -22,7 +22,6 @@
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/bin/$(MACH64)/gnugo
file path=usr/bin/gnugo
file path=usr/share/info/dir
file path=usr/share/info/gnugo.info
components/games/gnugo/patches/01-tests-awk.patch
New file
@@ -0,0 +1,20 @@
diff -puNr gnugo-3.8.orig/regression/eval.sh gnugo-3.8/regression/eval.sh
--- gnugo-3.8.orig/regression/eval.sh    2009-02-17 21:41:31.000000000 +0000
+++ gnugo-3.8/regression/eval.sh    2018-04-12 13:45:28.753815527 +0000
@@ -15,4 +15,4 @@ options3=$4  # May be omitted
 options4=$5  # May be omitted  FIXME: Do multiple options better.
 $GNUGO --quiet $options1 $options2 $options3 $options4 --mode gtp <$tstfile |\
-    awk -f $RD/regress.awk tst=$tstfile verbose=1
+    gawk -f $RD/regress.awk tst=$tstfile verbose=1
diff -puNr gnugo-3.8.orig/regression/regress.sh gnugo-3.8/regression/regress.sh
--- gnugo-3.8.orig/regression/regress.sh    2009-02-17 21:41:31.000000000 +0000
+++ gnugo-3.8/regression/regress.sh    2018-04-12 13:45:17.510391825 +0000
@@ -19,6 +19,6 @@ shift
 cd $srcdir
 $GNUGO --quiet "$@" --mode gtp < $tstfile \
-    | awk -f regress.awk tst=$tstfile url=$GNUGO_REGRESSION_URL
+    | gawk -f regress.awk tst=$tstfile url=$GNUGO_REGRESSION_URL
 # regress.sh ends here
components/gnugo/gnugo.p5m
File was deleted