summaryrefslogtreecommitdiff
path: root/games/xemeraldia/Makefile
blob: 405973419162c0ad15c7d0da7e342b195b5e8e05 (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
# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:50 hubertf Exp $
# FreeBSD Id: ports/games/xemeraldia/Makefile,v 1.17 1999/12/10 19:24:55 steve Exp

DISTNAME=	xemeraldia-0.3
PKGNAME=	xemeraldia-0.31
CATEGORIES=	games
MASTER_SITES=	ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/mar/

PATCH_SITES=	ftp://ftp.lab.kdd.co.jp/Usenet/fj.sources/1995/apr/
PATCHFILES=	xemeraldia-0.3to0.31.patch.gz
PATCH_DIST_STRIP=	-p1

MAINTAINER=	sakamoto@netbsd.org
COMMENT=	Game of breaking blocks

USE_IMAKE=	yes
ALL_TARGET=	xemeraldia

GAMES_DIR=	share/games
MAKE_ENV+=	GAMES_DIR="${GAMES_DIR}"
PLIST_SUBST=	GAMES_DIR="${GAMES_DIR}"

post-install:
	@${INSTALL_DATA_DIR} ${PREFIX}/${GAMES_DIR}/xemeraldia
	@${TOUCH} ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores
	@${CHMOD} 666 ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores

.include "../../mk/bsd.pkg.mk"