1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/nlarn/Makefile
Antoine Brodin 45e0e63759 Unbreak, it seems it wants lua51
Reported by:	pkg-fallout
2014-06-01 21:11:50 +00:00

27 lines
629 B
Makefile

# 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
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>