2013-06-15 18:11:19 +02:00
|
|
|
# Created by: Frederic Culot <frederic@culot.org>
|
2010-07-24 23:34:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= oldrunner
|
2012-01-31 16:50:59 +01:00
|
|
|
PORTVERSION= 20120131
|
2010-07-24 23:34:59 +02:00
|
|
|
CATEGORIES= games
|
2013-06-15 18:11:19 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= culot
|
2010-07-24 23:34:59 +02:00
|
|
|
|
2010-10-20 07:53:20 +02:00
|
|
|
MAINTAINER= culot@FreeBSD.org
|
2014-02-28 14:52:18 +01:00
|
|
|
COMMENT= Textmode remake of Broderbund's LodeRunner
|
2010-07-24 23:34:59 +02:00
|
|
|
|
2014-02-28 14:52:18 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-01-06 12:50:52 +01:00
|
|
|
|
2014-02-28 14:52:18 +01:00
|
|
|
USES= gmake
|
2010-07-24 23:34:59 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2014-02-28 14:52:18 +01:00
|
|
|
PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl man/man6/oldrunner.6.gz
|
2014-12-22 22:38:23 +01:00
|
|
|
PLIST_DIRS= ${DATADIR_REL}
|
2010-07-24 23:34:59 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e '/LEVELS_PATH/s,/usr/local/share/oldrunner,${DATADIR},g' \
|
|
|
|
${WRKSRC}/cfg.h
|
|
|
|
|
|
|
|
do-install:
|
2014-02-28 14:52:18 +01:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/oldrunner ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/levels/original.lvl ${STAGEDIR}${DATADIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/oldrunner.6 ${STAGEDIR}${MANPREFIX}/man/man6
|
2010-07-24 23:34:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|