summaryrefslogtreecommitdiff
path: root/games/xworm/Makefile
blob: 3a33fdb5b09ac5e3f255ea6c3ff0441c19bfc639 (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
# $NetBSD: Makefile,v 1.18 2008/03/04 06:59:06 jlam Exp $

DISTNAME=	xworm102
PKGNAME=	xworm-1.02
PKGREVISION=	1
CATEGORIES=	games x11
MASTER_SITES=	http://www.ekran.no/archive/x/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Classic game with apples and hungry worm

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/XWorm
BUILD_TARGET=	bsd

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xworm ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/xworm
.for file in font grid raw
	${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${DESTDIR}${PREFIX}/share/xworm
.endfor

.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"