svn commit: r331675 - head/games/uhexen
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Oct 26 11:45:18 UTC 2013
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 at 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>
More information about the svn-ports-all
mailing list