2004-01-20 13:07:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2004/01/20 12:15:41 agc Exp $
|
1999-01-23 18:00:14 +01:00
|
|
|
|
|
|
|
DISTNAME= um5.5.2
|
|
|
|
PKGNAME= moria-5.5.2
|
|
|
|
CATEGORIES= games
|
|
|
|
# The "offical" master site has lost the pub/Games directory.
|
|
|
|
#MASTER_SITES= ftp://ftp.cis.ksu.edu/pub/Games/Moria/source/
|
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/moria/source/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= simonb@NetBSD.org
|
2001-01-12 13:47:51 +01:00
|
|
|
HOMEPAGE= http://www-math.bgsu.edu/~grabine/moria.html
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= Rogue-like game with a different sense of scale than Rogue
|
1999-01-23 18:00:14 +01:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/umoria
|
|
|
|
|
1999-01-23 18:00:14 +01:00
|
|
|
do-configure:
|
2000-03-16 13:57:13 +01:00
|
|
|
@${RM} -f ${WRKSRC}/*.[ch] ${WRKSRC}/Makefile
|
2000-01-02 04:14:03 +01:00
|
|
|
@cd ${WRKSRC}; ${LN} -s source/* unix/* .
|
1999-01-23 18:00:14 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@if [ ! -f /var/games/moria.scores ]; then \
|
|
|
|
${CP} -p ${PREFIX}/share/games/moria/scores.dist \
|
|
|
|
/var/games/moria.scores ; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|