svn commit: r491569 - in head/games/nlarn: . files

Vinícius Zavam egypcio at FreeBSD.org
Tue Jan 29 15:01:04 UTC 2019


Author: egypcio
Date: Tue Jan 29 15:01:03 2019
New Revision: 491569
URL: https://svnweb.freebsd.org/changeset/ports/491569

Log:
  games/nlarn: update 0.7.2_1 to 0.7.3
  
    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

Deleted:
  head/games/nlarn/files/
Modified:
  head/games/nlarn/Makefile
  head/games/nlarn/distinfo
  head/games/nlarn/pkg-descr
  head/games/nlarn/pkg-plist

Modified: head/games/nlarn/Makefile
==============================================================================
--- head/games/nlarn/Makefile	Tue Jan 29 14:56:44 2019	(r491568)
+++ head/games/nlarn/Makefile	Tue Jan 29 15:01:03 2019	(r491569)
@@ -2,26 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	nlarn
-PORTVERSION=	0.7.2
-PORTREVISION=	1
+DISTVERSIONPREFIX=	NLarn-
+DISTVERSION=	0.7.3
 CATEGORIES=	games
-MASTER_SITES=	SF
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	egypcio at FreeBSD.org
 COMMENT=	Roguelike game and as such a remake of the classic game Larn
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		gmake lua:51 ncurses pkgconfig
-USE_GNOME=	glib20
+USES=		gmake gnome lua:53 ncurses pkgconfig
+USE_GNOME=	glib20 introspection:build
+USE_GITHUB=	yes
 
 post-configure:
-	@${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \
+	${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}/
+	${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>

Modified: head/games/nlarn/distinfo
==============================================================================
--- head/games/nlarn/distinfo	Tue Jan 29 14:56:44 2019	(r491568)
+++ head/games/nlarn/distinfo	Tue Jan 29 15:01:03 2019	(r491569)
@@ -1,2 +1,3 @@
-SHA256 (nlarn-0.7.2.tar.gz) = 291fed77cb80261c5dfd375c702482f4d38415e3ce769b237ac22957d42dfbc8
-SIZE (nlarn-0.7.2.tar.gz) = 813829
+TIMESTAMP = 1547652196
+SHA256 (nlarn-nlarn-NLarn-0.7.3_GH0.tar.gz) = f604286374774d48cb96baa6fa09902e1d190e0f9ae47d80a7494a90a1eba7db
+SIZE (nlarn-nlarn-NLarn-0.7.3_GH0.tar.gz) = 912955

Modified: head/games/nlarn/pkg-descr
==============================================================================
--- head/games/nlarn/pkg-descr	Tue Jan 29 14:56:44 2019	(r491568)
+++ head/games/nlarn/pkg-descr	Tue Jan 29 15:01:03 2019	(r491569)
@@ -8,4 +8,4 @@ Very noticeable differences to the original so far inc
     - a real town
     - colour
 
-WWW: http://nlarn.sourceforge.net/
+WWW: https://nlarn.github.io/

Modified: head/games/nlarn/pkg-plist
==============================================================================
--- head/games/nlarn/pkg-plist	Tue Jan 29 14:56:44 2019	(r491568)
+++ head/games/nlarn/pkg-plist	Tue Jan 29 15:01:03 2019	(r491569)
@@ -1,5 +1,6 @@
 bin/nlarn
-%%DATADIR%%/README.txt
+%%DATADIR%%/FiraMono-Medium.otf
+%%DATADIR%%/README.md
 %%DATADIR%%/fortune
 %%DATADIR%%/maze
 %%DATADIR%%/maze_doc.txt


More information about the svn-ports-head mailing list