Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 00:29:25 +0930 (CST)
From:      mark@kyne.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26294: New port: games/greed: A unique text puzzle game
Message-ID:  <200104021459.f32ExPb45630@aeris.kyne.com.au>

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

>Number:         26294
>Category:       ports
>Synopsis:       New port: games/greed: A unique text puzzle game
>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:   Mon Apr 02 08:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mark Pulford
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
none
>Environment:

>Description:

Greed is a unique text puzzle game where the object is to move around
the game field clearing the most numbers.

>How-To-Repeat:

>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:
#
#	greed
#	greed/files
#	greed/files/patch-Makefile
#	greed/Makefile
#	greed/pkg-descr
#	greed/pkg-install
#	greed/pkg-plist
#	greed/distinfo
#	greed/pkg-comment
#
echo c - greed
mkdir -p greed > /dev/null 2>&1
echo c - greed/files
mkdir -p greed/files > /dev/null 2>&1
echo x - greed/files/patch-Makefile
sed 's/^X//' >greed/files/patch-Makefile << 'END-of-greed/files/patch-Makefile'
X--- Makefile.orig	Mon Apr  2 21:52:50 2001
X+++ Makefile	Mon Apr  2 21:54:08 2001
X@@ -13,14 +13,12 @@
X 
X # Prepend "c:" (or whatever drive you use) to the following paths for MSDOS
X # Location of high score file
X-SFILE=/usr/games/lib/greed.hs
X+SFILE=/var/games/greed.hs
X # Location of game executable
X BIN=/usr/games
X 
X # Flags for use with the Linux ncurses package (recommended)
X-CFLAGS = -O -s -DNOTBSD
X TERMLIB = -lncurses
X-CC = gcc
X 
X # Flags for use with stock curses
X # CFLAGS = -O -s
END-of-greed/files/patch-Makefile
echo x - greed/Makefile
sed 's/^X//' >greed/Makefile << 'END-of-greed/Makefile'
X# New ports collection makefile for:	greed
X# Date created:			Apr 2, 2001
X# Whom:				Mark Pulford Ğmark@kyne.com.au>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	greed
XPORTVERSION=	3.3
XCATEGORIES=	games
XMASTER_SITES=	http://www.tuxedo.org/~esr/greed/
X
XMAINTAINER=	mark@kyne.com.au
X
XALL_TARGET=	greed
XMAN6=		greed.6
X
Xdo-install:
X	${INSTALL_PROGRAM} -m 2555 -o root -g games ${WRKSRC}/greed ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/greed.6 ${PREFIX}/man/man6
X	${SH} pkg-install ${PKGNAME} POST-INSTALL
X
X.include <bsd.port.mk>
END-of-greed/Makefile
echo x - greed/pkg-descr
sed 's/^X//' >greed/pkg-descr << 'END-of-greed/pkg-descr'
XGreed is a unique text puzzle game where the object is to move around
Xthe game field clearing the most numbers.
X
XWWW: http://www.tuxedo.org/~esr/software.html
X
X- Mark Pulford
Xmark@kyne.com.au
END-of-greed/pkg-descr
echo x - greed/pkg-install
sed 's/^X//' >greed/pkg-install << 'END-of-greed/pkg-install'
X#!/bin/sh
X
XFILE="/var/games/greed.hs"
X[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0
X
Xecho "===>   Creating initial high score file $FILE"
Xtouch $FILE
Xchown root.games $FILE
Xchmod 664 $FILE
END-of-greed/pkg-install
echo x - greed/pkg-plist
sed 's/^X//' >greed/pkg-plist << 'END-of-greed/pkg-plist'
Xbin/greed
END-of-greed/pkg-plist
echo x - greed/distinfo
sed 's/^X//' >greed/distinfo << 'END-of-greed/distinfo'
XMD5 (greed-3.3.tar.gz) = 63d2afd398443caf31777b0356a00f17
END-of-greed/distinfo
echo x - greed/pkg-comment
sed 's/^X//' >greed/pkg-comment << 'END-of-greed/pkg-comment'
XA text puzzle game with the aim of clearing the game field
END-of-greed/pkg-comment
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?200104021459.f32ExPb45630>