Add new port games/oldrunner:

Oldrunner is a remake of Broderbund's Loderunner which contains the 150
original game levels. It is written in C and has a textmode interface.

WWW:	http://culot.org/public/Code/oldrunner.html

PR:		ports/148789
Submitted by:	Frederic Culot <frederic at culot.org>
This commit is contained in:
Max Brazhnikov 2010-07-24 21:34:59 +00:00
parent 5d36bd60ed
commit 034bba9002
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258178
4 changed files with 50 additions and 0 deletions

36
games/oldrunner/Makefile Normal file
View file

@ -0,0 +1,36 @@
# New ports collection makefile for: oldrunner
# Date created: 20 July 2010
# Whom: Frederic Culot <frederic@culot.org>
#
# $FreeBSD$
#
PORTNAME= oldrunner
PORTVERSION= 20100717
CATEGORIES= games
MASTER_SITES= ftp://ftp2.culot.org/culot/
MAINTAINER= frederic@culot.org
COMMENT= A textmode remake of Broderbund's LodeRunner
HAS_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
MAN6= oldrunner.6
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl
PLIST_DIRS= ${DATADIR_REL}
post-patch:
${REINPLACE_CMD} -e '/LEVELS_PATH/s,/usr/local/share/oldrunner,${DATADIR},g' \
${WRKSRC}/cfg.h
do-install:
${MKDIR} ${DATADIR}
${INSTALL_PROGRAM} ${WRKSRC}/oldrunner ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/levels/original.lvl ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/oldrunner.6 ${MANPREFIX}/man/man6
.include <bsd.port.mk>

3
games/oldrunner/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (oldrunner-20100717.tar.gz) = f41ae6a41be9b86a3129ff01af47d323
SHA256 (oldrunner-20100717.tar.gz) = bb10a0ac1d151093f6054f7279c6dd926166c0e42616608361d32f9d0802719e
SIZE (oldrunner-20100717.tar.gz) = 41258

View file

@ -0,0 +1,7 @@
--- cfg.h.orig 2010-07-20 12:04:52.252243199 +0200
+++ cfg.h 2010-07-20 13:51:34.642563477 +0200
@@ -59,3 +59,4 @@
*
* #define LEVELS_PATH "/usr/local/share/games/oldrunner/levels"
*/
+#define LEVELS_PATH "/usr/local/share/oldrunner"

View file

@ -0,0 +1,4 @@
Oldrunner is a remake of Broderbund's Loderunner which contains the 150
original game levels. It is written in C and has a textmode interface.
WWW: http://culot.org/public/Code/oldrunner.html