From 23050cd4825aeb2688e46d668ba0f001456e1cd0 Mon Sep 17 00:00:00 2001 From: danfe Date: Fri, 2 Aug 2013 08:14:21 +0000 Subject: - Unbreak the build: add missing dependency on audio/libvorbis, and fix the value of USE_GL (normally this goes unnoticed because SDL pulls libGLU.so by default via USE_GL=yes, but shows up if using OpenGL-less SDL package) - Convert USE_GMAKE, cleanup Makefile and port description while here --- games/naev/Makefile | 15 +++++++++------ games/naev/pkg-descr | 6 +++--- 2 files changed, 12 insertions(+), 9 deletions(-) (limited to 'games') diff --git a/games/naev/Makefile b/games/naev/Makefile index 380e09ce9133..3d199cc6660e 100644 --- a/games/naev/Makefile +++ b/games/naev/Makefile @@ -9,17 +9,18 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} \ DIST_SUBDIR= ${PORTNAME} MAINTAINER= acm@FreeBSD.org -COMMENT= 2D action/rpg space game +COMMENT= 2D action/RPG space game -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - freetype:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libvorbisfile.so:${PORTSDIR}/audio/libvorbis RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/ndata-${PORTVERSION}:${PORTSDIR}/games/naev-data +USES= gmake USE_AUTOTOOLS= automake:env aclocal:env autoconf:env USE_BZIP2= yes GNU_CONFIGURE= yes -USE_GL= gl -USE_GMAKE= yes +USE_GL= glu USE_GNOME= libxml2 USE_SDL= sdl image @@ -53,10 +54,12 @@ CONFIGURE_ARGS+= --with-sdlmixer=no .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6 post-install: + @${ECHO_MSG} @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} .include diff --git a/games/naev/pkg-descr b/games/naev/pkg-descr index 985f1c60e03a..584ae4cfd4af 100644 --- a/games/naev/pkg-descr +++ b/games/naev/pkg-descr @@ -1,4 +1,4 @@ -NAEV is a 2d action/rpg space game that combines elements from the action, rpg -and simulation genres. +NAEV is a 2D space game that combines elements from the action, RPG, and +simulation genres. -WWW: http://code.google.com/p/naev/ +WWW: http://code.google.com/p/naev/ -- cgit