aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-09-11 22:05:00 +0800
committersobomax <sobomax@FreeBSD.org>2001-09-11 22:05:00 +0800
commit41dbfd2d1fe937e51d9376ca9b6ab053d24b9517 (patch)
tree88f2e83be9cf604ab31b9f15bd6424107e492531 /games
parentcb632d7a549620b4b2e106098c33250fbdbd3f8a (diff)
downloadfreebsd-ports-gnome-41dbfd2d1fe937e51d9376ca9b6ab053d24b9517.tar.gz
freebsd-ports-gnome-41dbfd2d1fe937e51d9376ca9b6ab053d24b9517.tar.zst
freebsd-ports-gnome-41dbfd2d1fe937e51d9376ca9b6ab053d24b9517.zip
Add gnomoku 1.2, a Gomoku game for GNOME Desktop.
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/gnomoku/Makefile32
-rw-r--r--games/gnomoku/distinfo1
-rw-r--r--games/gnomoku/files/patch-Makefile.in14
-rw-r--r--games/gnomoku/files/patch-po::Makefile.in.in14
-rw-r--r--games/gnomoku/pkg-comment1
-rw-r--r--games/gnomoku/pkg-descr3
-rw-r--r--games/gnomoku/pkg-plist14
8 files changed, 80 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index b6208673a909..71479fde0449 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -97,6 +97,7 @@
SUBDIR += gnomekiss
SUBDIR += gnomememoryblocks
SUBDIR += gnomermind
+ SUBDIR += gnomoku
SUBDIR += gnuchess
SUBDIR += gnugo
SUBDIR += gnurobots
diff --git a/games/gnomoku/Makefile b/games/gnomoku/Makefile
new file mode 100644
index 000000000000..c79a3432a431
--- /dev/null
+++ b/games/gnomoku/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gnomoku
+# Date created: 21 May 2001
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnomoku
+PORTVERSION= 1.2
+CATEGORIES= games gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= stable/sources/${PORTNAME}
+
+MAINTAINER= gnome@FreeBSD.org
+
+LIB_DEPENDS= gnomemm.9:${PORTSDIR}/x11-toolkits/gnome--
+
+USE_X_PREFIX= yes
+#USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-fpermissive -I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/games/gnomoku/distinfo b/games/gnomoku/distinfo
new file mode 100644
index 000000000000..e6dfb2648fca
--- /dev/null
+++ b/games/gnomoku/distinfo
@@ -0,0 +1 @@
+MD5 (gnomoku-1.2.tar.gz) = 05375da587ae497b4c260648037cddd1
diff --git a/games/gnomoku/files/patch-Makefile.in b/games/gnomoku/files/patch-Makefile.in
new file mode 100644
index 000000000000..77f290bbd874
--- /dev/null
+++ b/games/gnomoku/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in 2001/09/11 13:48:15 1.1
++++ Makefile.in 2001/09/11 13:48:31
+@@ -114,7 +114,7 @@
+ # Main executable
+ gnomoku_SOURCES = ai.cc ai.h gnomoku.cc mainwin.cc mainwin.h opponent.h options.cc options.h point.cc point.h user.cc user.h
+
+-gnomoku_LDADD = $(GNOMEMM_LIBS) $(INTLLIBS) -lpthread
++gnomoku_LDADD = $(GNOMEMM_LIBS) $(INTLLIBS)
+ bin_PROGRAMS = gnomoku
+
+ # Desktop entry
diff --git a/games/gnomoku/files/patch-po::Makefile.in.in b/games/gnomoku/files/patch-po::Makefile.in.in
new file mode 100644
index 000000000000..0049d5105c1f
--- /dev/null
+++ b/games/gnomoku/files/patch-po::Makefile.in.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- po/Makefile.in.in 2001/09/11 13:53:23 1.1
++++ po/Makefile.in.in 2001/09/11 13:53:37
+@@ -106,7 +106,7 @@
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+- lang=`echo $$cat | sed 's/\.gmo$$//'`; \
++ lang=`echo $$cat | sed 's/\.mo$$//'`; \
+ dir=$(localedir)/$$lang/LC_MESSAGES; \
+ $(mkinstalldirs) $(DESTDIR)$$dir; \
+ if test -r $$cat; then \
diff --git a/games/gnomoku/pkg-comment b/games/gnomoku/pkg-comment
new file mode 100644
index 000000000000..efed18b300b7
--- /dev/null
+++ b/games/gnomoku/pkg-comment
@@ -0,0 +1 @@
+A Gomoku game for GNOME Desktop
diff --git a/games/gnomoku/pkg-descr b/games/gnomoku/pkg-descr
new file mode 100644
index 000000000000..40139d2819ce
--- /dev/null
+++ b/games/gnomoku/pkg-descr
@@ -0,0 +1,3 @@
+Gnomoku is a Gomoku game for GNOME Desktop.
+
+WWW: http://www.gnome.org/
diff --git a/games/gnomoku/pkg-plist b/games/gnomoku/pkg-plist
new file mode 100644
index 000000000000..62f0fb3e135c
--- /dev/null
+++ b/games/gnomoku/pkg-plist
@@ -0,0 +1,14 @@
+bin/gnomoku
+share/gnome/apps/Games/gnomoku.desktop
+share/gnome/pixmaps/gnomoku.png
+share/locale/de/LC_MESSAGES/gnomoku.mo
+share/locale/es/LC_MESSAGES/gnomoku.mo
+share/locale/fi/LC_MESSAGES/gnomoku.mo
+share/locale/fr/LC_MESSAGES/gnomoku.mo
+share/locale/hu/LC_MESSAGES/gnomoku.mo
+share/locale/it/LC_MESSAGES/gnomoku.mo
+share/locale/ja/LC_MESSAGES/gnomoku.mo
+share/locale/no/LC_MESSAGES/gnomoku.mo
+share/locale/ru/LC_MESSAGES/gnomoku.mo
+share/locale/uk/LC_MESSAGES/gnomoku.mo
+share/locale/zh_TW.Big5/LC_MESSAGES/gnomoku.mo