d4f5a60cd4
Makefile - adopt this port; portlint OK; - it now uses GitHub (following upstream's announce); - lua:51 changed to lua:53; - USES now has gnome (USE_GNOME= glib20); - unsilent patching and reinplaces. files/* - all patches removed after comparing with upstream code; - ran game locally on workstation, after building with new patch (OK). pkg-descr - updated WWW. https://nlarn.github.io/news/2018/09/08/release-0.7.3 Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D18857
30 lines
756 B
Makefile
30 lines
756 B
Makefile
# Created by: Martin Tournoij <martin@arp242.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= nlarn
|
|
DISTVERSIONPREFIX= NLarn-
|
|
DISTVERSION= 0.7.3
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= egypcio@FreeBSD.org
|
|
COMMENT= Roguelike game and as such a remake of the classic game Larn
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= gmake gnome lua:53 ncurses pkgconfig
|
|
USE_GNOME= glib20 introspection:build
|
|
USE_GITHUB= yes
|
|
|
|
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.md ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|