aboutsummaryrefslogtreecommitdiffstats
path: root/games/nlarn/Makefile
blob: cf258e5d112f1a78ddad9cc7d7af27f117e2ef6c (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
28
# Created by: Martin Tournoij <martin@arp242.net>
# $FreeBSD$

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

MAINTAINER= martin@arp242.net
COMMENT=    Roguelike game and as such a remake of the classic game Larn

LICENSE=    GPLv3

USE_LUA=    5.1
USE_GNOME=  glib20
USE_PKGCONFIG=  build
USE_GMAKE=  yes

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

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

.include <bsd.port.mk>