aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/grhino/Makefile13
-rw-r--r--games/grhino/distinfo4
-rw-r--r--games/grhino/files/patch-configure16
-rw-r--r--games/grhino/files/patch-log_proc.h10
-rw-r--r--games/grhino/pkg-plist10
5 files changed, 38 insertions, 15 deletions
diff --git a/games/grhino/Makefile b/games/grhino/Makefile
index 4fb6657f4468..28898ff75ab8 100644
--- a/games/grhino/Makefile
+++ b/games/grhino/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= grhino
-PORTVERSION= 0.12.0
-PORTREVISION= 4
+PORTVERSION= 0.15.0
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rhino
@@ -18,20 +17,16 @@ COMMENT= GRhino Othello/Reversi Program
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GNOME= gnomeprefix libgnomeui
+USE_GCC= 3.4+
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+INSTALLS_OMF= yes
PLIST_SUB+= VERSION=${PORTVERSION}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Incomplete pkg-plist on 4.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/grhino/distinfo b/games/grhino/distinfo
index 452e472a3932..b21eeba9e908 100644
--- a/games/grhino/distinfo
+++ b/games/grhino/distinfo
@@ -1,2 +1,2 @@
-MD5 (grhino-0.12.0.tar.gz) = 1dda78d51a02d9cdefc9765f03c93242
-SIZE (grhino-0.12.0.tar.gz) = 890606
+MD5 (grhino-0.15.0.tar.gz) = 9f510356c0cfafe32165a582d872655f
+SIZE (grhino-0.15.0.tar.gz) = 1149961
diff --git a/games/grhino/files/patch-configure b/games/grhino/files/patch-configure
new file mode 100644
index 000000000000..806009649b02
--- /dev/null
+++ b/games/grhino/files/patch-configure
@@ -0,0 +1,16 @@
+--- configure.orig Fri Apr 15 16:03:04 2005
++++ configure Mon May 16 20:14:22 2005
+@@ -6931,12 +6931,11 @@
+ #ifdef __cplusplus
+ "C"
+ #endif
+-const char *_nl_expand_alias ();
+ int
+ main ()
+ {
+ bindtextdomain ("", "");
+-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
++return (int) gettext ("") + _nl_msg_cat_cntr
+ ;
+ return 0;
+ }
diff --git a/games/grhino/files/patch-log_proc.h b/games/grhino/files/patch-log_proc.h
new file mode 100644
index 000000000000..3a6291836b16
--- /dev/null
+++ b/games/grhino/files/patch-log_proc.h
@@ -0,0 +1,10 @@
+--- log_proc.h.orig Fri Apr 15 23:03:04 2005
++++ log_proc.h Fri Apr 29 15:36:28 2005
+@@ -39,6 +39,7 @@
+ #undef N_
+ #endif
+
++#define _INTL_REDIRECT_MACROS
+ #include <libintl.h>
+ #define _(x) gettext(x)
+ #define N_(x) x
diff --git a/games/grhino/pkg-plist b/games/grhino/pkg-plist
index 36b8a3f91013..86f6632266fa 100644
--- a/games/grhino/pkg-plist
+++ b/games/grhino/pkg-plist
@@ -1,4 +1,5 @@
bin/grhino
+bin/gtp-rhino
share/gnome/grhino-%%VERSION%%/pattern/row1.bin
share/gnome/grhino-%%VERSION%%/pattern/row2.bin
share/gnome/grhino-%%VERSION%%/pattern/row3.bin
@@ -11,6 +12,7 @@ share/gnome/grhino-%%VERSION%%/pattern/diag5.bin
share/gnome/grhino-%%VERSION%%/pattern/corner5x2.bin
share/gnome/grhino-%%VERSION%%/book/book.bin
share/gnome/grhino-%%VERSION%%/theme/small/black.xpm
+share/gnome/grhino-%%VERSION%%/theme/small/black_last.xpm
share/gnome/grhino-%%VERSION%%/theme/small/bottom.xpm
share/gnome/grhino-%%VERSION%%/theme/small/empty.xpm
share/gnome/grhino-%%VERSION%%/theme/small/hint_black.xpm
@@ -19,18 +21,18 @@ share/gnome/grhino-%%VERSION%%/theme/small/left.xpm
share/gnome/grhino-%%VERSION%%/theme/small/right.xpm
share/gnome/grhino-%%VERSION%%/theme/small/top.xpm
share/gnome/grhino-%%VERSION%%/theme/small/white.xpm
+share/gnome/grhino-%%VERSION%%/theme/small/white_last.xpm
+share/gnome/help/grhino/C/grhino.xml
share/gnome/help/grhino/C/grhino-C.omf
share/gnome/help/grhino/C/legal.xml
+share/gnome/help/grhino/C/figures/gamelist.png
share/gnome/help/grhino/C/figures/history.png
share/gnome/help/grhino/C/figures/mainwindow.png
share/gnome/help/grhino/C/figures/pattern.png
share/gnome/help/grhino/C/figures/prefs-ai.png
share/gnome/help/grhino/C/figures/prefs-board.png
share/gnome/help/grhino/C/figures/prefs-theme.png
-@comment share/locale/en_GB/LC_MESSAGES/grhino.mo
-@exec scrollkeeper-install -q %D/share/gnome/help/grhino/C/grhino-C.omf 2>/dev/null || /usr/bin/true
-@unexec scrollkeeper-uninstall -q %D/share/gnome/help/grhino/C/grhino-C.omf 2>/dev/null || /usr/bin/true
-share/gnome/help/grhino/C/grhino.xml
+share/locale/en_GB/LC_MESSAGES/grhino.mo
@dirrm share/gnome/help/grhino/C/figures
@dirrm share/gnome/help/grhino/C
@dirrm share/gnome/help/grhino