FreeBSD Bugzilla – Attachment 75383 Details for
Bug 108904
[NEW-PORT] games/brutalchess. Brutal Chess features full 3D graphics like Interplay's battle chess
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 10.01 KB, created by
gustau.perez
on 2007-02-07 22:50:18 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
gustau.perez
Created:
2007-02-07 22:50:18 UTC
Size:
10.01 KB
patch
obsolete
># 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: ># ># brutalchess ># brutalchess/Makefile ># brutalchess/distinfo ># brutalchess/pkg-plist ># brutalchess/pkg-descr ># brutalchess/files ># brutalchess/files/patch-aclocal.m4 ># brutalchess/files/patch-install.sh ># >echo c - brutalchess >mkdir -p brutalchess > /dev/null 2>&1 >echo x - brutalchess/Makefile >sed 's/^X//' >brutalchess/Makefile << 'END-of-brutalchess/Makefile' >X# New ports collection makefile for: Brutalchess >X# Date created: 2005-02-07 >X# Whom: Gustavo Perez Querol <gustau.perez@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= brutalchess >XPORTVERSION= 0.5.1 >XCATEGORIES= games >XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >XMASTER_SITE_SUBDIR= ${PORTNAME} >XDISTNAME= ${PORTNAME}-alpha-${PORTVERSION}-src >X >XMAINTAINER= gustau.perez@gmail.com >XCOMMENT= Nice looking OpenGL chess game >X >XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >X >XCONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL} >X >XUSE_GMAKE= yes >XUSE_AUTOTOOLS= libtool:15 >X >XUSE_GL= yes >XUSE_SDL= sdl image >X >Xpre-build: >X ${CHMOD} 0755 ${WRKSRC}/install-sh >X >XMANCOMPRESSED= yes >X >X.include <bsd.port.mk> >END-of-brutalchess/Makefile >echo x - brutalchess/distinfo >sed 's/^X//' >brutalchess/distinfo << 'END-of-brutalchess/distinfo' >XMD5 (brutalchess-alpha-0.5.1-src.tar.gz) = f600fd6181f7c69935dc4207aeb3a266 >XSHA256 (brutalchess-alpha-0.5.1-src.tar.gz) = c265e88e51b8813e0b9e7daebec8b9af80da91be92b3d0fde7aad4983daf2922 >XSIZE (brutalchess-alpha-0.5.1-src.tar.gz) = 7342080 >END-of-brutalchess/distinfo >echo x - brutalchess/pkg-plist >sed 's/^X//' >brutalchess/pkg-plist << 'END-of-brutalchess/pkg-plist' >Xbin/brutalchess >Xlibexec/md3view >Xlibexec/objview >X%%DATADIR%%/art/brutalchesslogo.png >X%%DATADIR%%/art/marblehugeblack.png >X%%DATADIR%%/art/marblehugewhite.png >X%%DATADIR%%/doc/AUTHORS >X%%DATADIR%%/doc/COPYING >X%%DATADIR%%/doc/ChangeLog >X%%DATADIR%%/doc/INSTALL >X%%DATADIR%%/doc/NEWS >X%%DATADIR%%/doc/README >X%%DATADIR%%/fonts/COOLVETI.TTF >X%%DATADIR%%/fonts/Ghostwri.ttf >X%%DATADIR%%/fonts/VeraMono.ttf >X%%DATADIR%%/fonts/ZEROES__.TTF >X%%DATADIR%%/models/bishop.obj >X%%DATADIR%%/models/debug.obj >X%%DATADIR%%/models/king.obj >X%%DATADIR%%/models/knight.obj >X%%DATADIR%%/models/pawn.obj >X%%DATADIR%%/models/queen.obj >X%%DATADIR%%/models/rook.obj >Xshare/nls/POSIX >Xshare/nls/en_US.US-ASCII >X@dirrm share/brutalchess/art >X@dirrm share/brutalchess/doc >X@dirrm share/brutalchess/fonts >X@dirrm share/brutalchess/models >END-of-brutalchess/pkg-plist >echo x - brutalchess/pkg-descr >sed 's/^X//' >brutalchess/pkg-descr << 'END-of-brutalchess/pkg-descr' >XBrutal Chess features full 3D graphics, an advanced particle engine, >X and several different levels of intelligent AI, inspired by the once >Xpopular "Battle Chess" released by Interplay circa 1988. >X >XWWW: http://brutalchess.sourceforge.net/ >END-of-brutalchess/pkg-descr >echo c - brutalchess/files >mkdir -p brutalchess/files > /dev/null 2>&1 >echo x - brutalchess/files/patch-aclocal.m4 >sed 's/^X//' >brutalchess/files/patch-aclocal.m4 << 'END-of-brutalchess/files/patch-aclocal.m4' >X--- aclocal.m4.orig Tue Feb 6 23:28:00 2007 >X+++ aclocal.m4 Tue Feb 6 23:28:12 2007 >X@@ -926,7 +926,7 @@ >X # restrict ourselves to GNU make (using the --version option ensures >X # this.) >X AC_DEFUN([AM_PROG_MKDIR_P], >X-[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then >X+[if mkdir -p . >/dev/null 2>&1 && test ! -d ./--version; then >X # Keeping the `.' argument allows $(mkdir_p) to be used without >X # argument. Indeed, we sometimes output rules like >X # $(mkdir_p) $(somedir) >END-of-brutalchess/files/patch-aclocal.m4 >echo x - brutalchess/files/patch-install.sh >sed 's/^X//' >brutalchess/files/patch-install.sh << 'END-of-brutalchess/files/patch-install.sh' >X--- install-sh.orig Sat Mar 11 01:36:44 2006 >X+++ install-sh Tue Feb 6 23:51:32 2007 >X@@ -0,0 +1,251 @@ >X+#!/bin/sh >X+# >X+# install - install a program, script, or datafile >X+# This comes from X11R5 (mit/util/scripts/install.sh). >X+# >X+# Copyright 1991 by the Massachusetts Institute of Technology >X+# >X+# Permission to use, copy, modify, distribute, and sell this software and its >X+# documentation for any purpose is hereby granted without fee, provided that >X+# the above copyright notice appear in all copies and that both that >X+# copyright notice and this permission notice appear in supporting >X+# documentation, and that the name of M.I.T. not be used in advertising or >X+# publicity pertaining to distribution of the software without specific, >X+# written prior permission. M.I.T. makes no representations about the >X+# suitability of this software for any purpose. It is provided "as is" >X+# without express or implied warranty. >X+# >X+# Calling this script install-sh is preferred over install.sh, to prevent >X+# `make' implicit rules from creating a file called install from it >X+# when there is no Makefile. >X+# >X+# This script is compatible with the BSD install script, but was written >X+# from scratch. It can only install one file at a time, a restriction >X+# shared with many OS's install programs. >X+ >X+ >X+# set DOITPROG to echo to test this script >X+ >X+# Don't use :- since 4.3BSD and earlier shells don't like it. >X+doit="${DOITPROG-}" >X+ >X+ >X+# put in absolute paths if you don't have them in your path; or use env. vars. >X+ >X+mvprog="${MVPROG-mv}" >X+cpprog="${CPPROG-cp}" >X+chmodprog="${CHMODPROG-chmod}" >X+chownprog="${CHOWNPROG-chown}" >X+chgrpprog="${CHGRPPROG-chgrp}" >X+stripprog="${STRIPPROG-strip}" >X+rmprog="${RMPROG-rm}" >X+mkdirprog="${MKDIRPROG-mkdir}" >X+ >X+transformbasename="" >X+transform_arg="" >X+instcmd="$mvprog" >X+chmodcmd="$chmodprog 0755" >X+chowncmd="" >X+chgrpcmd="" >X+stripcmd="" >X+rmcmd="$rmprog -f" >X+mvcmd="$mvprog" >X+src="" >X+dst="" >X+dir_arg="" >X+ >X+while [ x"$1" != x ]; do >X+ case $1 in >X+ -c) instcmd="$cpprog" >X+ shift >X+ continue;; >X+ >X+ -d) dir_arg=true >X+ shift >X+ continue;; >X+ >X+ -m) chmodcmd="$chmodprog $2" >X+ shift >X+ shift >X+ continue;; >X+ >X+ -o) chowncmd="$chownprog $2" >X+ shift >X+ shift >X+ continue;; >X+ >X+ -g) chgrpcmd="$chgrpprog $2" >X+ shift >X+ shift >X+ continue;; >X+ >X+ -s) stripcmd="$stripprog" >X+ shift >X+ continue;; >X+ >X+ -t=*) transformarg=`echo $1 | sed 's/-t=//'` >X+ shift >X+ continue;; >X+ >X+ -b=*) transformbasename=`echo $1 | sed 's/-b=//'` >X+ shift >X+ continue;; >X+ >X+ *) if [ x"$src" = x ] >X+ then >X+ src=$1 >X+ else >X+ # this colon is to work around a 386BSD /bin/sh bug >X+ : >X+ dst=$1 >X+ fi >X+ shift >X+ continue;; >X+ esac >X+done >X+ >X+if [ x"$src" = x ] >X+then >X+ echo "install: no input file specified" >X+ exit 1 >X+else >X+ true >X+fi >X+ >X+if [ x"$dir_arg" != x ]; then >X+ dst=$src >X+ src="" >X+ >X+ if [ -d $dst ]; then >X+ instcmd=: >X+ chmodcmd="" >X+ else >X+ instcmd=mkdir >X+ fi >X+else >X+ >X+# Waiting for this to be detected by the "$instcmd $src $dsttmp" command >X+# might cause directories to be created, which would be especially bad >X+# if $src (and thus $dsttmp) contains '*'. >X+ >X+ if [ -f $src -o -d $src ] >X+ then >X+ true >X+ else >X+ echo "install: $src does not exist" >X+ exit 1 >X+ fi >X+ >X+ if [ x"$dst" = x ] >X+ then >X+ echo "install: no destination specified" >X+ exit 1 >X+ else >X+ true >X+ fi >X+ >X+# If destination is a directory, append the input filename; if your system >X+# does not like double slashes in filenames, you may need to add some logic >X+ >X+ if [ -d $dst ] >X+ then >X+ dst="$dst"/`basename $src` >X+ else >X+ true >X+ fi >X+fi >X+ >X+## this sed command emulates the dirname command >X+dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` >X+ >X+# Make sure that the destination directory exists. >X+# this part is taken from Noah Friedman's mkinstalldirs script >X+ >X+# Skip lots of stat calls in the usual case. >X+if [ ! -d "$dstdir" ]; then >X+defaultIFS=' >X+' >X+IFS="${IFS-${defaultIFS}}" >X+ >X+oIFS="${IFS}" >X+# Some sh's can't handle IFS=/ for some reason. >X+IFS='%' >X+set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` >X+IFS="${oIFS}" >X+ >X+pathcomp='' >X+ >X+while [ $# -ne 0 ] ; do >X+ pathcomp="${pathcomp}${1}" >X+ shift >X+ >X+ if [ ! -d "${pathcomp}" ] ; >X+ then >X+ $mkdirprog "${pathcomp}" >X+ else >X+ true >X+ fi >X+ >X+ pathcomp="${pathcomp}/" >X+done >X+fi >X+ >X+if [ x"$dir_arg" != x ] >X+then >X+ $doit $instcmd $dst && >X+ >X+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && >X+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && >X+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && >X+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi >X+else >X+ >X+# If we're going to rename the final executable, determine the name now. >X+ >X+ if [ x"$transformarg" = x ] >X+ then >X+ dstfile=`basename $dst` >X+ else >X+ dstfile=`basename $dst $transformbasename | >X+ sed $transformarg`$transformbasename >X+ fi >X+ >X+# don't allow the sed command to completely eliminate the filename >X+ >X+ if [ x"$dstfile" = x ] >X+ then >X+ dstfile=`basename $dst` >X+ else >X+ true >X+ fi >X+ >X+# Make a temp file name in the proper directory. >X+ >X+ dsttmp=$dstdir/#inst.$$# >X+ >X+# Move or copy the file name to the temp name >X+ >X+ $doit $instcmd $src $dsttmp && >X+ >X+ trap "rm -f ${dsttmp}" 0 && >X+ >X+# and set any options; do chmod last to preserve setuid bits >X+ >X+# If any of these fail, we abort the whole thing. If we want to >X+# ignore errors from any of these, just make sure not to ignore >X+# errors from the above "$doit $instcmd $src $dsttmp" command. >X+ >X+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && >X+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && >X+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && >X+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && >X+ >X+# Now rename the file to the real destination. >X+ >X+ $doit $rmcmd -f $dstdir/$dstfile && >X+ $doit $mvcmd $dsttmp $dstdir/$dstfile >X+ >X+fi && >X+ >X+ >X+exit 0 >END-of-brutalchess/files/patch-install.sh >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 108904
: 75383