diff options
-rw-r--r-- | games/gnomechess/Makefile | 9 | ||||
-rw-r--r-- | games/gnomechess/distinfo | 2 | ||||
-rw-r--r-- | games/gnomechess/files/patch-aa | 38 | ||||
-rw-r--r-- | games/gnomechess/files/patch-ab | 11 | ||||
-rw-r--r-- | games/gnomechess/files/patch-ac | 11 | ||||
-rw-r--r-- | games/gnomechess/pkg-plist | 22 |
6 files changed, 31 insertions, 62 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile index 1bf721b63f69..169887c254f6 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 df20dc68de69..dc04e1c3d423 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 1f32f0197619..000000000000 --- 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 549bb667dceb..000000000000 --- 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 a5e6af8d4c83..000000000000 --- 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 7f513d45bc94..716bfa8f0c89 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 |