blob: 71b8fe3e8e2edc24c4e0a57a05c915607b3cf1f6 (
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
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.33 2009/06/30 00:07:16 joerg Exp $
DISTNAME= omega-0.90.4-src
PKGNAME= omega-0.90.4
PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= http://www.alcyone.com/binaries/omega/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.alcyone.com/max/projects/omega/
COMMENT= Complex rogue-like game of exploration with a sense of humor
PKG_DESTDIR_SUPPORT= user-destdir
SETGIDGAME= yes
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/omega
BUILD_TARGET= # empty
.include "../../mk/bsd.prefs.mk"
SPECIAL_PERMS= bin/Omega ${SETGID_GAMES_PERMS}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 share/omega share/doc/omega
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/omega ${DESTDIR}${PREFIX}/bin/Omega
${INSTALL_MAN} ${WRKSRC}/docs/omega.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
${INSTALL_DATA} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/share/omega
${RM} ${DESTDIR}${PREFIX}/share/omega/license.old
${CHMOD} 0660 ${DESTDIR}${PREFIX}/share/omega/omega.hi
${CHMOD} 0660 ${DESTDIR}${PREFIX}/share/omega/omega.log
${CP} ${DESTDIR}${PREFIX}/share/omega/omega.hi \
${DESTDIR}${PREFIX}/share/omega/omegahi.bak
cd ${WRKSRC}; for f in \
buglist.txt docs/compile.all docs/readme.1st \
docs/omega.txt docs/readme3 docs/readme4; \
do \
${INSTALL_DATA} $${f} ${DESTDIR}${PREFIX}/share/doc/omega; \
done
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|