2010-06-26 00:12:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2010/06/25 22:12:31 joerg Exp $
|
1999-01-23 18:00:14 +01:00
|
|
|
|
|
|
|
DISTNAME= um5.5.2
|
|
|
|
PKGNAME= moria-5.5.2
|
2010-06-26 00:12:31 +02:00
|
|
|
PKGREVISION= 1
|
1999-01-23 18:00:14 +01:00
|
|
|
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
|
|
|
|
2010-06-26 00:12:31 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/umoria
|
2007-03-07 00:25:47 +01:00
|
|
|
MAKE_FLAGS+= CURSES=-lncurses
|
2004-01-20 13:07:06 +01:00
|
|
|
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
|
|
|
|
2010-06-26 00:12:31 +02:00
|
|
|
SETGIDGAME= yes
|
|
|
|
CONF_FILES_PERMS+= /dev/null /var/games/moria.scores \
|
|
|
|
${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
|
|
|
|
SPECIAL_PERMS= bin/moria ${SETGID_GAMES_PERMS}
|
|
|
|
|
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
|
|
|
|
2007-03-07 00:25:47 +01:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
1999-01-23 18:00:14 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|