1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Update to 0.3.2.

This commit is contained in:
Maxim Sobolev 2001-07-10 09:38:49 +00:00
parent abfb682fef
commit 4ac21daf7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45001
6 changed files with 31 additions and 62 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (gnome-chess-0.2.4.tar.gz) = 905c82c0f80d5cb8a77282d1c6083c43
MD5 (gnome-chess-0.3.2.tar.gz) = cf4ec2e5bdac5b8960be7ace32a8f610

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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