Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 11:45:17 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331675 - head/games/uhexen
Message-ID:  <201310261145.r9QBjHE8041992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Oct 26 11:45:17 2013
New Revision: 331675
URL: http://svnweb.freebsd.org/changeset/ports/331675

Log:
  Stagify and cleanup Makefile while here.

Modified:
  head/games/uhexen/Makefile

Modified: head/games/uhexen/Makefile
==============================================================================
--- head/games/uhexen/Makefile	Sat Oct 26 10:34:48 2013	(r331674)
+++ head/games/uhexen/Makefile	Sat Oct 26 11:45:17 2013	(r331675)
@@ -10,29 +10,25 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Yet another port of Hexen, popular game from Raven Software
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	mixer sdl
-MAKE_ENV+=	EXTRA_LIBS=-lm
+MAKE_ENV=	EXTRA_LIBS=-lm
+
+PLIST_FILES=	bin/uhexen
 
 OPTIONS_DEFINE=	MUSIC
 OPTIONS_DEFAULT=	MUSIC
 MUSIC_DESC=	In-game MIDI music support
+MUSIC_RUN_DEPENDS=	${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
 
-PLIST_FILES=	bin/uhexen
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "powerpc"
 BROKEN=		Does not compile on ${ARCH}
 .endif
 
-.if ${PORT_OPTIONS:MMUSIC}
-RUN_DEPENDS=	${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
-.endif
-
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include "${.CURDIR}/../doom-data/Makefile.include"
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310261145.r9QBjHE8041992>