freebsd-ports/games/oldrunner/Makefile
Frederic Culot 02a06c807c Update my MAINTAINER address to culot@FreeBSD.org.
Approved by:	sahil@ (mentor)
2010-10-20 05:53:20 +00:00

36 lines
864 B
Makefile

# 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= culot@FreeBSD.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>