Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2002 23:21:04 +0900 (JST)
From:      UMENO Takashi <umeno@rr.iij4u.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43452: New Port: games/grhino - GRhino Othello/Reversi Program
Message-ID:  <200209281421.g8SEL4IX014585@belldandy.unnumbered.net>

next in thread | raw e-mail | index | archive | help

>Number:         43452
>Category:       ports
>Synopsis:       New Port: games/grhino - GRhino Othello/Reversi Program
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 28 07:30:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
personal
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Sat Sep 14 01:04:07 JST 2002 umeno@belldandy.unnumbered.net:/usr/src/sys/compile/SAKUYA14 i386


	
>Description:
	New Port: games/grhino - GRhino Othello/Reversi Program
	This send-pr will supersed PR: ports/43141
	(update to 0.7.0)
>How-To-Repeat:
	N/A
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	grhino
#	grhino/files
#	grhino/files/patch-aa
#	grhino/files/patch-ab
#	grhino/pkg-comment
#	grhino/pkg-plist
#	grhino/Makefile
#	grhino/pkg-descr
#	grhino/distinfo
#
echo c - grhino
mkdir -p grhino > /dev/null 2>&1
echo c - grhino/files
mkdir -p grhino/files > /dev/null 2>&1
echo x - grhino/files/patch-aa
sed 's/^X//' >grhino/files/patch-aa << 'END-of-grhino/files/patch-aa'
X--- pattern.cc.orig	Thu Aug  1 23:10:02 2002
X+++ pattern.cc	Tue Aug 20 23:34:37 2002
X@@ -25,6 +25,7 @@
X #include <fcntl.h>
X #include <sys/stat.h>
X #include <sys/types.h>
X+#include <string.h>
X 
X // These are not correct in terms of symmetry but provide better
X // opening moves
END-of-grhino/files/patch-aa
echo x - grhino/files/patch-ab
sed 's/^X//' >grhino/files/patch-ab << 'END-of-grhino/files/patch-ab'
X--- Makefile.in.orig	Tue Sep 24 23:30:09 2002
X+++ Makefile.in	Thu Sep 26 09:34:21 2002
X@@ -43,7 +43,7 @@
X etcdir		= @sysconfdir@
X localedir	= @datadir@/locale
X 
X-pattern_dir	= ${libdir}/${PACKAGE}-${VERSION}
X+pattern_dir	= @datadir@/${PACKAGE}/${VERSION}
X 
X CC		= @CC@
X CXX		= @CXX@
END-of-grhino/files/patch-ab
echo x - grhino/pkg-comment
sed 's/^X//' >grhino/pkg-comment << 'END-of-grhino/pkg-comment'
XGRhino Othello/Reversi Program
END-of-grhino/pkg-comment
echo x - grhino/pkg-plist
sed 's/^X//' >grhino/pkg-plist << 'END-of-grhino/pkg-plist'
Xbin/grhino
Xshare/gnome/grhino/%%VERSION%%/row1.bin
Xshare/gnome/grhino/%%VERSION%%/row2.bin
Xshare/gnome/grhino/%%VERSION%%/row3.bin
Xshare/gnome/grhino/%%VERSION%%/row4.bin
Xshare/gnome/grhino/%%VERSION%%/diag1.bin
Xshare/gnome/grhino/%%VERSION%%/diag2.bin
Xshare/gnome/grhino/%%VERSION%%/diag3.bin
Xshare/gnome/grhino/%%VERSION%%/diag4.bin
Xshare/gnome/grhino/%%VERSION%%/diag5.bin
Xshare/gnome/grhino/%%VERSION%%/corner5x2.bin
Xshare/gnome/grhino/%%VERSION%%/book.bin
X@dirrm share/gnome/grhino/%%VERSION%%
X@dirrm share/gnome/grhino
X
END-of-grhino/pkg-plist
echo x - grhino/Makefile
sed 's/^X//' >grhino/Makefile << 'END-of-grhino/Makefile'
X# New ports collection makefile for:	grhino
X# Date created:				21 Sep 2002
X# Whom:					UMENO Takashi <umeno@rr.iij4u.or.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	grhino
XPORTVERSION=	0.7.0
XCATEGORIES=	games gnome
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	rhino
X
XMAINTAINER=	umeno@rr.iij4u.or.jp
X
XUSE_X_PREFIX=	yes
XUSE_REINPLACE=	yes
XUSE_GNOME=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
XPLIST_SUB+=	VERSION=${PORTVERSION}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
X		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
X
X.include <bsd.port.mk>
END-of-grhino/Makefile
echo x - grhino/pkg-descr
sed 's/^X//' >grhino/pkg-descr << 'END-of-grhino/pkg-descr'
XGRhino Othello/Reversi Program 
X
XWWW: http://rhino.sourceforge.net/
END-of-grhino/pkg-descr
echo x - grhino/distinfo
sed 's/^X//' >grhino/distinfo << 'END-of-grhino/distinfo'
XMD5 (grhino-0.7.0.tar.gz) = 501614a2ef3d6a2ce2edd66fe7c1cb82
END-of-grhino/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209281421.g8SEL4IX014585>