ports/170382: [patch] Update games/naev and games/naev-data to 0.5.3

Kevin Zheng kevinz5000 at gmail.com
Sun Aug 5 01:30:12 UTC 2012


>Number:         170382
>Category:       ports
>Synopsis:       [patch] Update games/naev and games/naev-data to 0.5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 05 01:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        FreeBSD 9.0-RELEASE-p3 i386
>Organization:
>Environment:
FreeBSD sigma.local 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
A new upstream version (0.5.3) of games/naev was released. Here are the changes I've made:

 - Update PORTVERSION to 0.5.3
 - Remove Google Code from MASTER_SITES (says Naev's download page)
 - Change comment to "2D action/rpg space trading combat game"
 - Add libvorbis to LIB_DEPENDS (see README)
 - Remove USE_AUTOTOOLS (doesn't need it, compiles fine without it)
 - Move stuff to pkg-plist
 - Update port description, remove pkg-message
 - Minor whitespace fixes (in my opinion)
 - Use port's own 'make install' instead of 'do-install'ing it
 - Update WWW site to "http://naev.org/"
 - Also update needed data files (games/naev-data)

This also installs a nice desktop icon and launcher.
>How-To-Repeat:
Install games/naev and gawk at the fact that there's something out of date.-
>Fix:
Apply the following patches on games/naev and games/naev-data.

Patch attached with submission follows:

diff -ruN /usr/ports/games/naev/Makefile naev/Makefile
--- /usr/ports/games/naev/Makefile	2012-07-29 06:17:02.000000000 -0500
+++ naev/Makefile	2012-08-04 20:07:19.000000000 -0500
@@ -6,21 +6,19 @@
 #
 
 PORTNAME=	naev
-PORTVERSION=	0.5.2
-PORTREVISION=	1
+PORTVERSION=	0.5.3
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
-		${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	acm at FreeBSD.org
-COMMENT=	2D action/rpg space game
+COMMENT=	2D action/rpg space trading combat game
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
-		freetype:${PORTSDIR}/print/freetype2
 RUN_DEPENDS=	${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data
+LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
+		png15:${PORTSDIR}/graphics/png \
+		vorbis:${PORTSDIR}/audio/libvorbis
 
-USE_AUTOTOOLS=	automake:env aclocal:env autoconf:env
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 USE_GL=		gl
@@ -33,8 +31,6 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAN6=		naev.6
-PLIST_FILES=	bin/${PORTNAME}
-SUB_FILES=	pkg-message
 
 OPTIONS=	OPENAL 		"Use the OpenAL sound backend"	on \
 		SDL_MIXER	"Use the SDL_mixer sound backend"	on
@@ -42,24 +38,17 @@
 .include <bsd.port.options.mk>
 
 .if defined(WITH_OPENAL)
-USE_OPENAL=		yes
+USE_OPENAL=	yes
 CONFIGURE_ARGS+=	--with-openal=yes
 .else
 CONFIGURE_ARGS+=	--with-openal=no
 .endif
 
 .if defined(WITH_SDL_MIXER)
-USE_SDL+=		mixer
+USE_SDL+=	mixer
 CONFIGURE_ARGS+=	--with-sdlmixer=yes
 .else
 CONFIGURE_ARGS+=	--with-sdlmixer=no
 .endif
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${PREFIX}/man/man6
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>
diff -ruN /usr/ports/games/naev/distinfo naev/distinfo
--- /usr/ports/games/naev/distinfo	2012-03-30 22:45:37.000000000 -0500
+++ naev/distinfo	2012-08-04 20:07:19.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (naev/naev-0.5.2.tar.bz2) = bdee2ba049d2707c0d0c971dda2855e4b44f2b73c4ece960daec46171856542f
-SIZE (naev/naev-0.5.2.tar.bz2) = 992571
+SHA256 (naev/naev-0.5.3.tar.bz2) = b2d026abb099bcb884e13a26b1bce4273f094830690340468f752a3b9b64c719
+SIZE (naev/naev-0.5.3.tar.bz2) = 997522
diff -ruN /usr/ports/games/naev/files/pkg-message.in naev/files/pkg-message.in
--- /usr/ports/games/naev/files/pkg-message.in	2012-03-30 22:45:38.000000000 -0500
+++ naev/files/pkg-message.in	1969-12-31 18:00:00.000000000 -0600
@@ -1,9 +0,0 @@
-###############################################################################
-
-The NAEV space game was installed
-
-1) You can find the conf.lua config file into your ~/.config/naev/ directory
-
-2) Enjoy it :)
-
-###############################################################################
diff -ruN /usr/ports/games/naev/pkg-descr naev/pkg-descr
--- /usr/ports/games/naev/pkg-descr	2009-04-28 19:11:21.000000000 -0500
+++ naev/pkg-descr	2012-08-04 20:07:19.000000000 -0500
@@ -1,4 +1,12 @@
-NAEV is a 2d action/rpg space game that combines elements from the action, rpg 
-and simulation genres.
+Naev is a space trading and combat game, inspired by Escape Velocity.
 
-WWW:	http://code.google.com/p/naev/
+Played from a top-down perspective with isometric sprites, the
+player is free to explore the galaxy as they see fit, trading or
+pirating their way to a vast fortune.
+
+Naev is set in a futuristic science fiction environment, in which
+the player finds himself in the wake of a massive galactic cataclysm
+which erupted from the Sol system and destroyed everything within
+tens of light-years, resulting in a massive, volatile nebula.
+
+WWW: http://naev.org/
diff -ruN /usr/ports/games/naev/pkg-plist naev/pkg-plist
--- /usr/ports/games/naev/pkg-plist	1969-12-31 18:00:00.000000000 -0600
+++ naev/pkg-plist	2012-08-04 20:07:19.000000000 -0500
@@ -0,0 +1,11 @@
+bin/naev
+share/applications/naev.desktop
+share/pixmaps/naev.png
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/README
+%%DOCSDIR%%/TODO
+%%DOCSDIR%%/LICENSE
+%%DATADIR%%/naev-confupdate.sh
+ at dirrmtry share/applications
+ at dirrm %%DOCSDIR%%
+ at dirrmtry %%DATADIR%%
diff -ruN /usr/ports/games/naev-data/Makefile naev-data/Makefile
--- /usr/ports/games/naev-data/Makefile	2012-03-30 22:45:38.000000000 -0500
+++ naev-data/Makefile	2012-08-04 20:07:22.000000000 -0500
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	data
-PORTVERSION=	0.5.2
+PORTVERSION=	0.5.3
 CATEGORIES=	games
-MASTER_SITES=	SF/${PKGNAMEPREFIX:S/-//}/${PKGNAMEPREFIX}${PORTVERSION} \
-		${MASTER_SITE_GOOGLE_CODE}
+MASTER_SITES=	SF/${PKGNAMEPREFIX:S/-//}/${PKGNAMEPREFIX}${PORTVERSION}
 PKGNAMEPREFIX=	naev-
 DISTNAME=	${PORTNAME:S/^/n/}-${PORTVERSION}
 EXTRACT_SUFX=	#
diff -ruN /usr/ports/games/naev-data/distinfo naev-data/distinfo
--- /usr/ports/games/naev-data/distinfo	2012-03-30 22:45:38.000000000 -0500
+++ naev-data/distinfo	2012-08-04 20:07:22.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (naev/ndata-0.5.2) = fff31d7d165e33ef567e84cdc47787596df4da1362900628c1eff4eb949dfdc3
-SIZE (naev/ndata-0.5.2) = 244690305
+SHA256 (naev/ndata-0.5.3) = a6f1abb3b173fab7b8cfaf1c4057caa4880235bc5eca489d0ac7d4ae4acf9028
+SIZE (naev/ndata-0.5.3) = 244956464
diff -ruN /usr/ports/games/naev-data/pkg-descr naev-data/pkg-descr
--- /usr/ports/games/naev-data/pkg-descr	2009-04-28 19:11:21.000000000 -0500
+++ naev-data/pkg-descr	2012-08-04 20:07:22.000000000 -0500
@@ -1,4 +1,6 @@
-NAEV is a 2d action/rpg space game that combines elements from the action, rpg
-and simulation genres (data file).
+Naev is a space trading and combat game, inspired by Escape Velocity.
+This port installs the data file needed to play the game.
 
-WWW:    http://code.google.com/p/naev/
+For a full description, please see games/naev.
+
+WWW: http://naev.org/


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list