aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-10-26 19:45:17 +0800
committerdanfe <danfe@FreeBSD.org>2013-10-26 19:45:17 +0800
commit5e2c780c2ed45ab78f81dbfcef5b8f7de2acfcaf (patch)
tree7afc05e6164cacf0fba4ed306b7d153173f44420
parentb4aba8c703de861fd444a4d9288bdb8b0fb11eff (diff)
downloadfreebsd-ports-gnome-5e2c780c2ed45ab78f81dbfcef5b8f7de2acfcaf.tar.gz
freebsd-ports-gnome-5e2c780c2ed45ab78f81dbfcef5b8f7de2acfcaf.tar.zst
freebsd-ports-gnome-5e2c780c2ed45ab78f81dbfcef5b8f7de2acfcaf.zip
Stagify and cleanup Makefile while here.
-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>