1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/oldrunner/Makefile
Frederic Culot 7d458745b3 - Set MASTER_SITES to MASTER_SITE_LOCAL due to the decommissioning of
my own ftp site
- Trim Makefile's header
- Pet portlint(1)
2013-06-15 16:11:19 +00:00

36 lines
816 B
Makefile

# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$
PORTNAME= oldrunner
PORTVERSION= 20120131
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= culot
MAINTAINER= culot@FreeBSD.org
COMMENT= A textmode remake of Broderbund's LodeRunner
LICENSE= BSD
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>