FreeBSD Bugzilla – Attachment 63950 Details for
Bug 95245
[new port] games/fxsudoku
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 7.44 KB, created by
edwin
on 2006-04-03 02:00:32 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
edwin
Created:
2006-04-03 02:00:32 UTC
Size:
7.44 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: ># ># fxsudoku/ ># fxsudoku/Makefile ># fxsudoku/distinfo ># fxsudoku/files ># fxsudoku/files/patch-gb ># fxsudoku/files/patch-build__configdetect ># fxsudoku/files/config.freebsd ># fxsudoku/files/patch-build__foxdetect ># fxsudoku/pkg-descr ># >echo c - fxsudoku/ >mkdir -p fxsudoku/ > /dev/null 2>&1 >echo x - fxsudoku/Makefile >sed 's/^X//' >fxsudoku/Makefile << 'END-of-fxsudoku/Makefile' >X# New ports collection makefile for: games/fxsudoku >X# Date created: 31 March 2006 >X# Whom: Edwin Groothuis <edwin@mavetju.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= fxsudoku >XPORTVERSION= 0.5.1 >XCATEGORIES= games >XMASTER_SITES= http://www.fifthplanet.net/files/ >X >XMAINTAINER= edwin@mavetju.org >XCOMMENT= An implementation of the Sudoku game >X >XLIB_DEPENDS= FOX-1.6.1:${PORTSDIR}/x11-toolkits/fox16 >X >XUSE_BZIP2= yes >XUSE_GMAKE= yes >XPLIST_FILES= bin/fxsudoku >X >Xpost-extract: >X ${CP} ${FILESDIR}/config.freebsd ${WRKSRC}/build >X >Xdo-build: >X cd ${WRKSRC} && MAKE=${GMAKE} ./gb >X >Xdo-install: >X cd ${WRKSRC} && MAKE=${GMAKE} ./gb install --prefix=${PREFIX} >X >X.include <bsd.port.mk> >END-of-fxsudoku/Makefile >echo x - fxsudoku/distinfo >sed 's/^X//' >fxsudoku/distinfo << 'END-of-fxsudoku/distinfo' >XMD5 (fxsudoku-0.5.1.tar.bz2) = 213c30d4d8bcac4f71d8ed06b389477c >XSHA256 (fxsudoku-0.5.1.tar.bz2) = 02e4292bf34506ca2021d594f736c47b62f3a86a9c04635ce24e8c3144c7563c >XSIZE (fxsudoku-0.5.1.tar.bz2) = 30845 >END-of-fxsudoku/distinfo >echo c - fxsudoku/files >mkdir -p fxsudoku/files > /dev/null 2>&1 >echo x - fxsudoku/files/patch-gb >sed 's/^X//' >fxsudoku/files/patch-gb << 'END-of-fxsudoku/files/patch-gb' >X--- gb.orig Mon Apr 3 00:53:45 2006 >X+++ gb Mon Apr 3 09:25:47 2006 >X@@ -1,4 +1,4 @@ >X-#!/bin/bash >X+#!/bin/sh >X #----------------------------------------------------------- >X # GOGGLES BUILD SYSTEM - 0.5.0 >X #----------------------------------------------------------- >X@@ -92,14 +92,14 @@ >X #Get the settings >X . "$CONFIG_FILE" >X >X-function print_help() { >X+print_help() { >X SHOWHELP=1 >X echo "Options:" >X echo " " >X echo -e " \033[32m$0\033[0m \033[1mBuild ${PACKAGE_NAME}\033[0m" >X echo -e " \033[32m$0 install\033[0m \033[1mInstall ${PACKAGE_NAME}\033[0m" >X echo -e " \033[32m$0 help\033[0m \033[1mShow this help page.\033[0m" >X- echo -e " \033[32m$0 clean\033[0m \033[1mRemove object files.\033[0m" >X+ echo -e " \033[32m$0 clean\033[0m \033[1mRemove object files.\03[0m" >X echo -e " \033[32m$0 rebuild\033[0m \033[1mClean and then build.\033[0m" >X echo " " >X echo "Build Options (./gb):" >END-of-fxsudoku/files/patch-gb >echo x - fxsudoku/files/patch-build__configdetect >sed 's/^X//' >fxsudoku/files/patch-build__configdetect << 'END-of-fxsudoku/files/patch-build__configdetect' >X--- build/configdetect.orig Mon Apr 3 08:58:08 2006 >X+++ build/configdetect Mon Apr 3 09:09:13 2006 >X@@ -18,7 +18,9 @@ >X else >X CONFIG_FILE="build/config.linux" >X fi >X-elif [ $OSNAME = "CYGWIN_NT-5.0"] ; then >X+elif [ $OSNAME = "FreeBSD" ] ; then >X+ CONFIG_FILE="build/config.freebsd" >X+elif [ $OSNAME = "CYGWIN_NT-5.0" ] ; then >X CONFIG_FILE="build/config.cygwin" >X elif [ $OSNAME = "HP-UX" ] && [ -f build/config.hpux ] ; then >X CONFIG_FILE="build/config.hpux" >X@@ -47,7 +49,7 @@ >X CONFIG_FILE=`echo "${arg}" | cut -d= -f2` >X if [ ! -f $CONFIG_FILE ] ; then >X echo " Error: ${CONFIG_FILE} doesn't exist." >X- exit -1 >X+ exit 255 >X fi >X ;; >X --enable-debug) >END-of-fxsudoku/files/patch-build__configdetect >echo x - fxsudoku/files/config.freebsd >sed 's/^X//' >fxsudoku/files/config.freebsd << 'END-of-fxsudoku/files/config.freebsd' >X#---------------------------------------------------------------------------------------------------------------- >X# Basic File extensions >Xexport BINEXT="" # Executable Extension >Xexport LIBEXT=".a" # Static Library Extension >Xexport DLLEXT=".so" # Dynamic Library Extension >Xexport OBJEXT=".o" # Object Extension >Xexport LIBPREFIX="lib" # Standard Library Prefix >Xexport LIBDIR="lib" # Name of the library directory >Xexport DEFAULT_PREFIX="/usr/local" >X >X# Compiler and Linker >Xexport CC="gcc" # C Compiler >Xexport CXX="g++" # C++ Compiler >Xexport LINK=$CXX # Executable Linker >Xexport DLLLINK="$CXX -shared" # Dynamic Library Linker >Xexport LIBLINK="ar cru" # Static Library Linker >Xexport DLLRPATH="-Wl,-rpath " # Search Path for Dynamic Libs >X >X# Compiler and Linker Flags >Xexport OUTPUTOBJ="-o" # Compiler flag to specify output object filename >Xexport OUTPUTBIN="-o " # Compiler flag to specify output executable filename >Xexport PICFLAG="" # Compiler flag to generate position independent code >X >Xif [ "$DEFS" = "-DDEBUG" ] ; then >X export CFLAGS="${CFLAGS:--Wall -g -pipe }" >X export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}" >X export LDFLAGS="" >Xelif [ "$DEFS" = "-DNDEBUG" ] ; then >X export CFLAGS="${CFLAGS:--Wall -O3 -pipe}" >X export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}" >X export LDFLAGS="-s" >Xelse >X export CFLAGS="${CFLAGS:--Wall -pipe}" >X export CXXFLAGS="${CXXFLAGS:--Wall -pipe}" >X export LDFLAGS="" >Xfi >X >Xexport CPPFLAGS="-I./include ${CPPFLAGS}" >Xexport LIBS="" >Xexport DEFS="${DEFS} -DLINUX" >X#---------------------------------------------------------------------------------------------------------------- >END-of-fxsudoku/files/config.freebsd >echo x - fxsudoku/files/patch-build__foxdetect >sed 's/^X//' >fxsudoku/files/patch-build__foxdetect << 'END-of-fxsudoku/files/patch-build__foxdetect' >X--- build/foxdetect.orig Mon Apr 3 09:08:19 2006 >X+++ build/foxdetect Mon Apr 3 09:08:58 2006 >X@@ -60,7 +60,7 @@ >X FOX_PREFIX="$LOCAL_PREFIX" >X else >X echo -e " Check FOX Library : \033[31mNot Found\033[0m" >X- exit -1 >X+ exit 255 >X fi >X fi >X >X@@ -96,7 +96,7 @@ >X echo -e " Check FOX Library : \033[32mFOUND\033[0m" >X else >X echo -e " Check FOX Library : \033[31mNot Found\033[0m" >X- exit -1 >X+ exit 255 >X fi >X >X # Check version >X@@ -104,7 +104,7 @@ >X echo -e " Check FOX version : \033[32m${FOX_VERSION}\033[0m" >X else >X echo -e " Check FOX version : \033[31m${FOX_VERSION}\033[0m (Please install latest FOX $MIN_FOX_MAJOR.$MIN_FOX_MINOR.x release)" >X- exit -1 >X+ exit 255 >X fi >X fi >X >X@@ -114,7 +114,7 @@ >X echo -e " Check FOX Header : \033[32mFOUND\033[0m" >X else >X echo -e " Check FOX Header : \033[31mNot Found\033[0m" >X- exit -1 >X+ exit 255 >X fi >X >X CPPFLAGS="${CPPFLAGS} ${FOX_INCLUDE}" >END-of-fxsudoku/files/patch-build__foxdetect >echo x - fxsudoku/pkg-descr >sed 's/^X//' >fxsudoku/pkg-descr << 'END-of-fxsudoku/pkg-descr' >Xfxsudoku is an implementation of the Sudoku game. >X >XThe aim of Sudoku is to enter a numerical digit from 1 through 9 >Xin each cell of a 99 grid made up of 33 subgrids (called "regions"), >Xstarting with various digits given in some cells (the "givens"). >XEach row, column, and region must contain only one instance of each >Xnumeral. Completing the puzzle requires patience and logical ability. >X >XAuthor: Sander Jansen <sander@knology.net> >XWWW: http://www.fifthplanet.net/ >END-of-fxsudoku/pkg-descr >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 95245
: 63950