1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/nlarn/Makefile
2013-04-23 10:47:02 +00:00

29 lines
610 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= pkgconfig
USE_LUA= 5.1
USE_GNOME= glib20
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>