aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-10-26 11:45:17 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-10-26 11:45:17 +0000
commit870fc65203a11b12f365e47980900b04535e5f5c (patch)
tree7afc05e6164cacf0fba4ed306b7d153173f44420
parenta6c57946f00fb07cf5ebf69a64667106978a63e2 (diff)
downloadports-870fc65203a11b12f365e47980900b04535e5f5c.tar.gz
ports-870fc65203a11b12f365e47980900b04535e5f5c.zip
Notes
-rw-r--r--games/uhexen/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/games/uhexen/Makefile b/games/uhexen/Makefile
index 6cb3c9802e56..bc8f3b3fa227 100644
--- a/games/uhexen/Makefile
+++ b/games/uhexen/Makefile
@@ -10,29 +10,25 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/U-hexen%20version%20${PORTVERSION}
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>