3b5afbbdfb
The game of moria is a single player dungeon simulation. A player may choose from a number of races and classes when creating a character, and then `run' that character over a period of days, weeks, even months, attempting to win the game by defeating the Balrog which lurks in the deeper levels. The player will begin his adventure on the town level where he may acquire supplies, weapons, armor, and magical devices by bartering with various shop owners. After preparing for his adventure, the player can descend into the dungeons of moria where fantastic adventures await his coming! WWW: http://www-math.bgsu.edu/~grabine/moria.html
36 lines
803 B
Makefile
36 lines
803 B
Makefile
# New ports collection makefile for: moria
|
|
# Date created: 6 August 2003
|
|
# Whom: glewis@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= moria
|
|
PORTVERSION= 5.5.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/moria/source/ \
|
|
ftp://ftp.greyhelm.com/pub/Games/Moria/source/
|
|
DISTNAME= um${PORTVERSION}
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
|
COMMENT= A dungeon exploration game
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MAN6= moria.6
|
|
WRKSRC= ${WRKDIR}/umoria
|
|
ALL_TARGET= moria
|
|
|
|
do-configure:
|
|
for i in ${WRKSRC}/source/config.h ${WRKSRC}/unix/Makefile; do \
|
|
${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" $$i; \
|
|
done
|
|
cd ${WRKSRC} && ${LN} -sf source/* unix/* .
|
|
|
|
post-install:
|
|
for i in ${MAN6}; do \
|
|
${INSTALL_MAN} ${WRKSRC}/doc/$$i ${PREFIX}/man/man6; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|