1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/games/oldrunner/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

34 lines
833 B
Makefile

# Created by: Frederic Culot <frederic@culot.org>
# $FreeBSD$
PORTNAME= oldrunner
PORTVERSION= 20120131
CATEGORIES= games
MASTER_SITES= LOCAL/culot
MAINTAINER= culot@FreeBSD.org
COMMENT= Textmode remake of Broderbund's LodeRunner
LICENSE= BSD2CLAUSE
USES= gmake
HAS_CONFIGURE= yes
MAKEFILE= GNUmakefile
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl man/man6/oldrunner.6.gz
PLIST_DIRS= ${DATADIR_REL}
post-patch:
${REINPLACE_CMD} -e '/LEVELS_PATH/s,/usr/local/share/oldrunner,${DATADIR},g' \
${WRKSRC}/cfg.h
do-install:
${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
.include <bsd.port.mk>