diff options
author | will <will@FreeBSD.org> | 2001-04-07 13:24:31 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-04-07 13:24:31 +0800 |
commit | 42753f19b82789702593b82446991e81bb5c4c50 (patch) | |
tree | 33ad457ad3f80a28ab476fc630dbbfb1102a5405 /games/greed | |
parent | ec2874672043253b7bb25f09e2edfea7bcc178d7 (diff) | |
download | freebsd-ports-gnome-42753f19b82789702593b82446991e81bb5c4c50.tar.gz freebsd-ports-gnome-42753f19b82789702593b82446991e81bb5c4c50.tar.zst freebsd-ports-gnome-42753f19b82789702593b82446991e81bb5c4c50.zip |
Add greed 3.3, a text puzzle game with the aim of clearing the game
field.
PR: 26294
Submitted by: Mark Pulford «mark@kyne.com.au>
Diffstat (limited to 'games/greed')
-rw-r--r-- | games/greed/Makefile | 23 | ||||
-rw-r--r-- | games/greed/distinfo | 1 | ||||
-rw-r--r-- | games/greed/files/patch-Makefile | 18 | ||||
-rw-r--r-- | games/greed/pkg-comment | 1 | ||||
-rw-r--r-- | games/greed/pkg-descr | 7 | ||||
-rw-r--r-- | games/greed/pkg-install | 9 | ||||
-rw-r--r-- | games/greed/pkg-plist | 1 |
7 files changed, 60 insertions, 0 deletions
diff --git a/games/greed/Makefile b/games/greed/Makefile new file mode 100644 index 000000000000..c2bbf76842f1 --- /dev/null +++ b/games/greed/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: greed +# Date created: Apr 2, 2001 +# Whom: Mark Pulford «mark@kyne.com.au> +# +# $FreeBSD$ +# + +PORTNAME= greed +PORTVERSION= 3.3 +CATEGORIES= games +MASTER_SITES= http://www.tuxedo.org/~esr/greed/ + +MAINTAINER= mark@kyne.com.au + +ALL_TARGET= greed +MAN6= greed.6 + +do-install: + ${INSTALL_PROGRAM} -m 2555 -o root -g games ${WRKSRC}/greed ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/greed.6 ${PREFIX}/man/man6 + ${SH} pkg-install ${PKGNAME} POST-INSTALL + +.include <bsd.port.mk> diff --git a/games/greed/distinfo b/games/greed/distinfo new file mode 100644 index 000000000000..e90541c8b713 --- /dev/null +++ b/games/greed/distinfo @@ -0,0 +1 @@ +MD5 (greed-3.3.tar.gz) = 63d2afd398443caf31777b0356a00f17 diff --git a/games/greed/files/patch-Makefile b/games/greed/files/patch-Makefile new file mode 100644 index 000000000000..098a193371b1 --- /dev/null +++ b/games/greed/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig Mon Apr 2 21:52:50 2001 ++++ Makefile Mon Apr 2 21:54:08 2001 +@@ -13,14 +13,12 @@ + + # Prepend "c:" (or whatever drive you use) to the following paths for MSDOS + # Location of high score file +-SFILE=/usr/games/lib/greed.hs ++SFILE=/var/games/greed.hs + # Location of game executable + BIN=/usr/games + + # Flags for use with the Linux ncurses package (recommended) +-CFLAGS = -O -s -DNOTBSD + TERMLIB = -lncurses +-CC = gcc + + # Flags for use with stock curses + # CFLAGS = -O -s diff --git a/games/greed/pkg-comment b/games/greed/pkg-comment new file mode 100644 index 000000000000..cdafadf4b1d3 --- /dev/null +++ b/games/greed/pkg-comment @@ -0,0 +1 @@ +A text puzzle game with the aim of clearing the game field diff --git a/games/greed/pkg-descr b/games/greed/pkg-descr new file mode 100644 index 000000000000..39079240d5b2 --- /dev/null +++ b/games/greed/pkg-descr @@ -0,0 +1,7 @@ +Greed is a unique text puzzle game where the object is to move around +the game field clearing the most numbers. + +WWW: http://www.tuxedo.org/~esr/software.html + +- Mark Pulford +mark@kyne.com.au diff --git a/games/greed/pkg-install b/games/greed/pkg-install new file mode 100644 index 000000000000..d891db4686b7 --- /dev/null +++ b/games/greed/pkg-install @@ -0,0 +1,9 @@ +#!/bin/sh + +FILE="/var/games/greed.hs" +[ "$2" != "POST-INSTALL" -o -f "$FILE" ] && exit 0 + +echo "===> Creating initial high score file $FILE" +touch $FILE +chown root.games $FILE +chmod 664 $FILE diff --git a/games/greed/pkg-plist b/games/greed/pkg-plist new file mode 100644 index 000000000000..0a9307f6c7e5 --- /dev/null +++ b/games/greed/pkg-plist @@ -0,0 +1 @@ +bin/greed |