From 034bba9002e38c36e1a5953e84452ce166048fe3 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sat, 24 Jul 2010 21:34:59 +0000 Subject: 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 --- games/oldrunner/Makefile | 36 ++++++++++++++++++++++++++++++++++++ games/oldrunner/distinfo | 3 +++ games/oldrunner/files/patch-cfg.h | 7 +++++++ games/oldrunner/pkg-descr | 4 ++++ 4 files changed, 50 insertions(+) create mode 100644 games/oldrunner/Makefile create mode 100644 games/oldrunner/distinfo create mode 100644 games/oldrunner/files/patch-cfg.h create mode 100644 games/oldrunner/pkg-descr (limited to 'games') diff --git a/games/oldrunner/Makefile b/games/oldrunner/Makefile new file mode 100644 index 000000000000..8a9b86eb092e --- /dev/null +++ b/games/oldrunner/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: oldrunner +# Date created: 20 July 2010 +# Whom: Frederic Culot +# +# $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 diff --git a/games/oldrunner/distinfo b/games/oldrunner/distinfo new file mode 100644 index 000000000000..c3603ffaa676 --- /dev/null +++ b/games/oldrunner/distinfo @@ -0,0 +1,3 @@ +MD5 (oldrunner-20100717.tar.gz) = f41ae6a41be9b86a3129ff01af47d323 +SHA256 (oldrunner-20100717.tar.gz) = bb10a0ac1d151093f6054f7279c6dd926166c0e42616608361d32f9d0802719e +SIZE (oldrunner-20100717.tar.gz) = 41258 diff --git a/games/oldrunner/files/patch-cfg.h b/games/oldrunner/files/patch-cfg.h new file mode 100644 index 000000000000..8e8107a1e20a --- /dev/null +++ b/games/oldrunner/files/patch-cfg.h @@ -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" diff --git a/games/oldrunner/pkg-descr b/games/oldrunner/pkg-descr new file mode 100644 index 000000000000..b83b7c1e247b --- /dev/null +++ b/games/oldrunner/pkg-descr @@ -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 -- cgit v1.2.3