summaryrefslogtreecommitdiff
path: root/games/xevil/Makefile
blob: ecce47392cdf3c635bdc118fe67bf9ccf178e858 (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
# $NetBSD: Makefile,v 1.22 2012/10/06 11:55:00 asau Exp $

DISTNAME=	xevilsrc2.02r2
PKGNAME=	xevil-2.02
PKGREVISION=	2
CATEGORIES=	games x11
MASTER_SITES=	http://www.xevil.com/download/stable/
EXTRACT_SUFX=	.zip

MAINTAINER=	snj@pobox.com
HOMEPAGE=	http://www.xevil.com/
COMMENT=	Side scrolling, bloody action game

MAKE_JOBS_SAFE=		no

MAKE_FILE=	makefile

BUILD_TARGET=	pkgsrc
WRKSRC=		${WRKDIR}

MAKE_ENV+=	HOSTTYPE="pkgsrc"

USE_LANGUAGES=	c++

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/x11/PKGSRC/xevil ${DESTDIR}${PREFIX}/bin/xevil
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xevil
	${INSTALL_DATA} ${WRKSRC}/instructions/* ${DESTDIR}${PREFIX}/share/doc/xevil

SUBST_CLASSES+=		uname
SUBST_STAGE.uname=	pre-configure
SUBST_FILES.uname=	cmn/utils.cpp
SUBST_SED.uname=	-e 's,@UNAME@,${UNAME},g'

.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"