summaryrefslogtreecommitdiff
path: root/games/zoom/Makefile
blob: fb621720944ee1b946bb553c44f02797ddfbada1 (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.3 2003/12/24 09:53:49 jmmv Exp $
#

DISTNAME=		zoom-1.0.1
PKGNAME=		${DISTNAME}pl1
CATEGORIES=		games
MASTER_SITES=		http://www.logicalshift.demon.co.uk/unix/zoom/

PATCH_SITES=		http://www.logicalshift.demon.co.uk/unix/zoom/
PATCHFILES=		zoom-1.0.1-1.0.1a.patch
PATCH_DIST_STRIP=	-p1

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

USE_BUILDLINK2=		yes
USE_PKGLOCALEDIR=	yes
USE_LIBTOOL=		yes
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
GNU_CONFIGURE=		yes
USE_X11=		yes
USE_GMAKE=		yes
USE_PERL5=		build

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

DOCDIR=			${LOCALBASE}/share/doc/html/zoom
post-install:
	${INSTALL_DATA_DIR} ${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 ${DOCDIR}; \
	done

.include "../../fonts/Xft2/buildlink2.mk"
.include "../../fonts/t1lib/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"