aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-08-02 16:14:21 +0800
committerdanfe <danfe@FreeBSD.org>2013-08-02 16:14:21 +0800
commit23050cd4825aeb2688e46d668ba0f001456e1cd0 (patch)
treed70c4d564555b040111957e60d07d72db96af2cd /games
parent0986ef4dc00d72e076aae3534976e375029c6bda (diff)
downloadfreebsd-ports-gnome-23050cd4825aeb2688e46d668ba0f001456e1cd0.tar.gz
freebsd-ports-gnome-23050cd4825aeb2688e46d668ba0f001456e1cd0.tar.zst
freebsd-ports-gnome-23050cd4825aeb2688e46d668ba0f001456e1cd0.zip
- 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
Diffstat (limited to 'games')
-rw-r--r--games/naev/Makefile15
-rw-r--r--games/naev/pkg-descr6
2 files changed, 12 insertions, 9 deletions
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 <bsd.port.mk>
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/