blob: 1df7d281b3e4994eebb623ba0ba7c1fd4875393a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.20 2017/10/15 03:16:07 maya Exp $
DISTNAME= um5.5.2
PKGNAME= moria-5.5.2
PKGREVISION= 6
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
MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://remarque.org/~grabiner/moria.html
#HOMEPAGE= http://www-math.bgsu.edu/~grabine/moria.html
COMMENT= Rogue-like game with a different sense of scale than Rogue
WRKSRC= ${WRKDIR}/umoria
MAKE_FLAGS+= CURSES=-l${BUILDLINK_LIBNAME.curses} VARBASE=${VARBASE}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
SETGIDGAME= yes
CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/moria.scores \
${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}
SPECIAL_PERMS= bin/moria ${SETGID_GAMES_PERMS}
do-configure:
@${RM} -f ${WRKSRC}/*.[ch] ${WRKSRC}/Makefile
@cd ${WRKSRC}; ${LN} -s source/* unix/* .
PKGSRC_USE_FORTIFY=no
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|