aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnomechess
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 17:38:49 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-10 17:38:49 +0800
commit042b0a3dc5d99fb48ab8e88668e98de7916fb4ef (patch)
tree0e3e0bfda213fc39357ea43cabc72f2852aafb9c /games/gnomechess
parent66f97c5933e2e35f49218aa9483ec7a06a241f04 (diff)
downloadfreebsd-ports-graphics-042b0a3dc5d99fb48ab8e88668e98de7916fb4ef.tar.gz
freebsd-ports-graphics-042b0a3dc5d99fb48ab8e88668e98de7916fb4ef.tar.zst
freebsd-ports-graphics-042b0a3dc5d99fb48ab8e88668e98de7916fb4ef.zip
Update to 0.3.2.
Diffstat (limited to 'games/gnomechess')
-rw-r--r--games/gnomechess/Makefile9
-rw-r--r--games/gnomechess/distinfo2
-rw-r--r--games/gnomechess/files/patch-aa38
-rw-r--r--games/gnomechess/files/patch-ab11
-rw-r--r--games/gnomechess/files/patch-ac11
-rw-r--r--games/gnomechess/pkg-plist22
6 files changed, 31 insertions, 62 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index 1bf721b63f6..169887c254f 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomechess
-PORTVERSION= 0.2.4
+PORTVERSION= 0.3.2
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-chess
@@ -24,4 +24,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-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/gnomechess/distinfo b/games/gnomechess/distinfo
index df20dc68de6..dc04e1c3d42 100644
--- a/games/gnomechess/distinfo
+++ b/games/gnomechess/distinfo
@@ -1 +1 @@
-MD5 (gnome-chess-0.2.4.tar.gz) = 905c82c0f80d5cb8a77282d1c6083c43
+MD5 (gnome-chess-0.3.2.tar.gz) = cf4ec2e5bdac5b8960be7ace32a8f610
diff --git a/games/gnomechess/files/patch-aa b/games/gnomechess/files/patch-aa
deleted file mode 100644
index 1f32f019761..00000000000
--- a/games/gnomechess/files/patch-aa
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.orig Sat Nov 6 16:57:13 1999
-+++ configure Sat Jan 29 01:50:47 2000
-@@ -2103,7 +2103,7 @@
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-- PTHREAD_LIB="-lc_r"
-+ PTHREAD_LIB=""
- else
- echo "$ac_t""no" 1>&6
- echo $ac_n "checking for pthread_create""... $ac_c" 1>&6
-@@ -3856,7 +3856,7 @@
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- CATOBJEXT=.mo
-- DATADIRNAME=lib
-+ DATADIRNAME=share
- fi
- rm -f conftest*
- INSTOBJEXT=.mo
-@@ -4244,13 +4244,13 @@
- fi
-
-
-- USE_INCLUDED_LIBINTL=yes
-+# USE_INCLUDED_LIBINTL=yes
- CATOBJEXT=.gmo
- INSTOBJEXT=.mo
- DATADIRNAME=share
-- INTLDEPS='$(top_builddir)/intl/libintl.a'
-- INTLLIBS=$INTLDEPS
-- LIBS=`echo $LIBS | sed -e 's/-lintl//'`
-+# INTLDEPS='$(top_builddir)/intl/libintl.a'
-+# INTLLIBS=$INTLDEPS
-+# LIBS=`echo $LIBS | sed -e 's/-lintl//'`
- nls_cv_header_intl=intl/libintl.h
- nls_cv_header_libgt=intl/libgettext.h
- fi
diff --git a/games/gnomechess/files/patch-ab b/games/gnomechess/files/patch-ab
deleted file mode 100644
index 549bb667dce..00000000000
--- a/games/gnomechess/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Sat Nov 6 16:58:14 1999
-+++ Makefile.in Sat Jan 29 01:51:02 2000
-@@ -115,7 +115,7 @@
- Icon_DATA = gnome-chess.png
- Mime_DATA = gnome-chess.keys gnome-chess.mime
-
--Gamesdir = $(datadir)/gnome/apps/Games
-+Gamesdir = $(datadir)/apps/Games
- Icondir = $(datadir)/pixmaps
- Mimedir = $(datadir)/mime-info
-
diff --git a/games/gnomechess/files/patch-ac b/games/gnomechess/files/patch-ac
deleted file mode 100644
index a5e6af8d4c8..00000000000
--- a/games/gnomechess/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Sat Nov 6 16:58:16 1999
-+++ src/Makefile.in Sat Jan 29 01:51:50 2000
-@@ -113,7 +113,7 @@
-
- bin_PROGRAMS = gnome-chess
-
--INCLUDES = -DGNOMELOCALEDIR=\""$(datadir)/locale"\" -DGNOMEDATADIR=\""$(datadir)"\" -I$(includedir) $(GNOME_INCLUDEDIR)
-+INCLUDES = -DGNOMELOCALEDIR=\""$(prefix)/share/locale"\" -DGNOMEDATADIR=\""$(datadir)"\" -I$(includedir) $(GNOME_INCLUDEDIR)
-
-
- gnome_chess_SOURCES = debug.c position.c timer.c movgen.c cho1.c movlist.c ckis.c board.c misc.c main.c disk.c pgn.c cfgfiles.c serverlist.c gtkutil.c menu.c prefs.c child.c engine.c engine_local.c engine_null.c zvt.c engine_ics_scan.l engine_ics.c dialog_login.c level.c gnome_chess.h debug.h cfgfiles.h sound.c serverlist.h gtkutil.h board.h ckis.h menu.h prefs.h pro.h position.h timer.h engine.h engine_local.h zvt.h engine_ics_scan.h engine_ics.h dialog_login.h child.h disk.h movlist.h pgn.h cho1.h makros.h sound.h engine_null.h
diff --git a/games/gnomechess/pkg-plist b/games/gnomechess/pkg-plist
index 7f513d45bc9..716bfa8f0c8 100644
--- a/games/gnomechess/pkg-plist
+++ b/games/gnomechess/pkg-plist
@@ -1,5 +1,9 @@
bin/gnome-chess
share/gnome/apps/Games/gnome-chess.desktop
+share/gnome/gnome-chess/glade/level.glade
+share/gnome/gnome-chess/glade/login.glade
+share/gnome/gnome-chess/glade/prefs.glade
+share/gnome/gnome-chess/glade/promotion.glade
share/gnome/mime-info/gnome-chess.keys
share/gnome/mime-info/gnome-chess.mime
share/gnome/pixmaps/gnome-chess.png
@@ -10,19 +14,37 @@ share/gnome/pixmaps/gnome-chess/P.png
share/gnome/pixmaps/gnome-chess/Q.png
share/gnome/pixmaps/gnome-chess/R.png
share/gnome/pixmaps/gnome-chess/b.png
+share/gnome/pixmaps/gnome-chess/end.png
share/gnome/pixmaps/gnome-chess/k.png
share/gnome/pixmaps/gnome-chess/n.png
+share/gnome/pixmaps/gnome-chess/next.png
share/gnome/pixmaps/gnome-chess/p.png
+share/gnome/pixmaps/gnome-chess/prev.png
share/gnome/pixmaps/gnome-chess/q.png
share/gnome/pixmaps/gnome-chess/r.png
+share/gnome/pixmaps/gnome-chess/start.png
+share/locale/az/LC_MESSAGES/gnome-chess.mo
+share/locale/ca/LC_MESSAGES/gnome-chess.mo
share/locale/da/LC_MESSAGES/gnome-chess.mo
share/locale/de/LC_MESSAGES/gnome-chess.mo
+share/locale/el/LC_MESSAGES/gnome-chess.mo
share/locale/es/LC_MESSAGES/gnome-chess.mo
share/locale/fr/LC_MESSAGES/gnome-chess.mo
+share/locale/ga/LC_MESSAGES/gnome-chess.mo
+share/locale/gl/LC_MESSAGES/gnome-chess.mo
+share/locale/it/LC_MESSAGES/gnome-chess.mo
+share/locale/ja/LC_MESSAGES/gnome-chess.mo
+share/locale/lt/LC_MESSAGES/gnome-chess.mo
share/locale/nl/LC_MESSAGES/gnome-chess.mo
share/locale/no/LC_MESSAGES/gnome-chess.mo
share/locale/pl/LC_MESSAGES/gnome-chess.mo
share/locale/pt_BR/LC_MESSAGES/gnome-chess.mo
+share/locale/ro/LC_MESSAGES/gnome-chess.mo
share/locale/ru/LC_MESSAGES/gnome-chess.mo
share/locale/sv/LC_MESSAGES/gnome-chess.mo
+share/locale/tr/LC_MESSAGES/gnome-chess.mo
+share/locale/uk/LC_MESSAGES/gnome-chess.mo
+share/locale/zh_TW.Big5/LC_MESSAGES/gnome-chess.mo
@dirrm share/gnome/pixmaps/gnome-chess
+@dirrm share/gnome/gnome-chess/glade
+@dirrm share/gnome/gnome-chess