diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 01:53:54 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-07-30 01:53:54 +0800 |
commit | 42e1d052cd9d135da30fd4ece32cdb15f0c377ca (patch) | |
tree | 9d3d88d541265db7cc93238d8a5384c0037debeb /games/grhino | |
parent | d759a2a0c7e333a2ca526e94875dbeac5feeeef3 (diff) | |
download | marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.gz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.bz2 marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.lz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.xz marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.tar.zst marcuscom-ports-42e1d052cd9d135da30fd4ece32cdb15f0c377ca.zip |
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9256 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/grhino')
-rw-r--r-- | games/grhino/Makefile | 32 | ||||
-rw-r--r-- | games/grhino/distinfo | 3 | ||||
-rw-r--r-- | games/grhino/files/patch-alphabeta.cc | 11 | ||||
-rw-r--r-- | games/grhino/files/patch-log_proc.h | 10 | ||||
-rw-r--r-- | games/grhino/pkg-descr | 3 | ||||
-rw-r--r-- | games/grhino/pkg-plist | 49 |
6 files changed, 108 insertions, 0 deletions
diff --git a/games/grhino/Makefile b/games/grhino/Makefile new file mode 100644 index 000000000..4a08ea808 --- /dev/null +++ b/games/grhino/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: grhino +# Date created: 21 Sep 2002 +# Whom: UMENO Takashi <umeno@rr.iij4u.or.jp> +# +# $FreeBSD$ +# + +PORTNAME= grhino +PORTVERSION= 0.16.0 +PORTREVISION= 2 +CATEGORIES= games gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= rhino + +MAINTAINER= umeno@rr.iij4u.or.jp +COMMENT= GRhino Othello/Reversi Program + +USE_X_PREFIX= 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} + +post-patch: + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/games/grhino/distinfo b/games/grhino/distinfo new file mode 100644 index 000000000..f1b5d124c --- /dev/null +++ b/games/grhino/distinfo @@ -0,0 +1,3 @@ +MD5 (grhino-0.16.0.tar.gz) = 51d975cc1645112d12bb5fd030db1f7f +SHA256 (grhino-0.16.0.tar.gz) = 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf +SIZE (grhino-0.16.0.tar.gz) = 1172321 diff --git a/games/grhino/files/patch-alphabeta.cc b/games/grhino/files/patch-alphabeta.cc new file mode 100644 index 000000000..de991ed45 --- /dev/null +++ b/games/grhino/files/patch-alphabeta.cc @@ -0,0 +1,11 @@ +--- alphabeta.cc.orig Mon May 3 15:05:35 2004 ++++ alphabeta.cc Wed May 5 04:07:31 2004 +@@ -18,6 +18,8 @@ + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + ++#include <string> ++#include <iostream> + #include "boardio.h" + #include "hash.h" + #include "alphabeta.h" diff --git a/games/grhino/files/patch-log_proc.h b/games/grhino/files/patch-log_proc.h new file mode 100644 index 000000000..3a6291836 --- /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-descr b/games/grhino/pkg-descr new file mode 100644 index 000000000..24af54587 --- /dev/null +++ b/games/grhino/pkg-descr @@ -0,0 +1,3 @@ +GRhino Othello/Reversi Program + +WWW: http://rhino.sourceforge.net/ diff --git a/games/grhino/pkg-plist b/games/grhino/pkg-plist new file mode 100644 index 000000000..c99d22e0a --- /dev/null +++ b/games/grhino/pkg-plist @@ -0,0 +1,49 @@ +bin/grhino +bin/gtp-rhino +share/grhino-%%VERSION%%/pattern/row1.bin +share/grhino-%%VERSION%%/pattern/row2.bin +share/grhino-%%VERSION%%/pattern/row3.bin +share/grhino-%%VERSION%%/pattern/row4.bin +share/grhino-%%VERSION%%/pattern/diag1.bin +share/grhino-%%VERSION%%/pattern/diag2.bin +share/grhino-%%VERSION%%/pattern/diag3.bin +share/grhino-%%VERSION%%/pattern/diag4.bin +share/grhino-%%VERSION%%/pattern/diag5.bin +share/grhino-%%VERSION%%/pattern/corner5x2.bin +share/grhino-%%VERSION%%/book/book.bin +share/grhino-%%VERSION%%/theme/small/black.xpm +share/grhino-%%VERSION%%/theme/small/black_last.xpm +share/grhino-%%VERSION%%/theme/small/bottom.xpm +share/grhino-%%VERSION%%/theme/small/empty.xpm +share/grhino-%%VERSION%%/theme/small/highlight_black.xpm +share/grhino-%%VERSION%%/theme/small/highlight_empty.xpm +share/grhino-%%VERSION%%/theme/small/highlight_white.xpm +share/grhino-%%VERSION%%/theme/small/hint_black.xpm +share/grhino-%%VERSION%%/theme/small/hint_white.xpm +share/grhino-%%VERSION%%/theme/small/left.xpm +share/grhino-%%VERSION%%/theme/small/right.xpm +share/grhino-%%VERSION%%/theme/small/top.xpm +share/grhino-%%VERSION%%/theme/small/white.xpm +share/grhino-%%VERSION%%/theme/small/white_last.xpm +share/gnome/help/grhino/C/grhino.xml +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 +share/gnome/help/grhino/C/figures/toolbar-edit.png +share/omf/grhino/grhino-C.omf +share/pixmaps/grhino.png +share/locale/en_GB/LC_MESSAGES/grhino.mo +@dirrm share/omf/grhino +@dirrm share/gnome/help/grhino/C/figures +@dirrm share/gnome/help/grhino/C +@dirrm share/gnome/help/grhino +@dirrm share/grhino-%%VERSION%%/theme/small +@dirrm share/grhino-%%VERSION%%/theme +@dirrm share/grhino-%%VERSION%%/book +@dirrm share/grhino-%%VERSION%%/pattern +@dirrm share/grhino-%%VERSION%% |