summaryrefslogtreecommitdiff
path: root/games/zoom/Makefile
blob: 7b126759b98996ad1bb37e4eb8c3934eef841dfc (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.23 2011/01/13 13:37:54 wiz Exp $

DISTNAME=	zoom-1.0.3
PKGREVISION=	6
CATEGORIES=	games
MASTER_SITES=	http://www.logicalshift.co.uk/unix/zoom/

MAINTAINER=		dillo@NetBSD.org
HOMEPAGE=		http://www.logicalshift.demon.co.uk/unix/zoom/
COMMENT=		Plays Infocom-compatible games, with graphics support

USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake perl
GNU_CONFIGURE=		yes

.if ${MACHINE_ARCH} == "alpha"
GCC_REQD+=		3.0
.endif
UNLIMIT_RESOURCES+=	datasize

PKG_DESTDIR_SUPPORT=	user-destdir

DOCDIR=			${PREFIX}/share/doc/html/zoom

post-install:
	${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
	for f in colours.png configXwin.html configmac.html fonts.png \
		game.png generalset.png idx index.html intro.html \
		resources.png troubleshooting.html ui.png zicon.gif \
		zoom-icon.png zoom.html ztitle.html; \
	do \
		${INSTALL_DATA} ${WRKSRC}/manual/$$f ${DESTDIR}${DOCDIR}; \
	done

BUILDLINK_DEPMETHOD.libXt=	build

.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../fonts/t1lib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"