aboutsummaryrefslogtreecommitdiff
path: root/games/nlarn/Makefile
blob: d90f401f4ba6ac2550c80f0a7804d20c4bd1a084 (plain) (blame)
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
# Created by: Martin Tournoij <martin@arp242.net>
# $FreeBSD$

PORTNAME=	nlarn
PORTVERSION=	0.7.2
PORTREVISION=	1
CATEGORIES=	games
MASTER_SITES=	SF

MAINTAINER=	ports@toco-domains.de
COMMENT=	Roguelike game and as such a remake of the classic game Larn

LICENSE=	GPLv3

USES=		gmake lua:51 pkgconfig
USE_GNOME=	glib20

post-configure:
	@${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \
		${WRKSRC}/src/game.c

do-install:
	@${MKDIR} ${STAGEDIR}${DATADIR}
	${INSTALL_PROGRAM} ${WRKSRC}/nlarn ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}/

.include <bsd.port.mk>