aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/uhexen/Makefile13
-rw-r--r--games/uhexen/pkg-descr4
2 files changed, 8 insertions, 9 deletions
diff --git a/games/uhexen/Makefile b/games/uhexen/Makefile
index 503b52a0746d..e18da10ec221 100644
--- a/games/uhexen/Makefile
+++ b/games/uhexen/Makefile
@@ -16,11 +16,10 @@ MAINTAINER= danfe@FreeBSD.org
COMMENT= Yet another port of Hexen, popular game from Raven Software
USE_SDL= mixer sdl
-USE_X_PREFIX= yes
USE_GMAKE= yes
-OPTIONS= WAD "Install demo-version WAD file" on \
- MUSIC "Enable support for in-game music" on
+OPTIONS= WAD "Install demo-version WAD file" on \
+ MUSIC "Enable support for in-game music" on
.include <bsd.port.pre.mk>
@@ -33,18 +32,18 @@ PLIST_SUB= WAD=""
PLIST_SUB= WAD="@comment "
.endif
-.if defined(WITH_MUSIC)
+.if !defined(WITHOUT_MUSIC)
RUN_DEPENDS+= ${LOCALBASE}/lib/timidity/goemon.cfg:${PORTSDIR}/audio/timidity
.endif
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
PLIST_FILES= bin/uhexen %%DATADIR%%/.keep_me %%WAD%%%%DATADIR%%/hexen.wad
PLIST_DIRS= %%DATADIR%%
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
post-extract:
.if !defined(WITHOUT_WAD)
- @${LOCALBASE}/bin/unzip -qo ${_DISTDIR}/hexen.zip \
+ @${LOCALBASE}/bin/unzip -qo ${DISTDIR}/hexen.zip \
-d ${WRKSRC}
.endif
diff --git a/games/uhexen/pkg-descr b/games/uhexen/pkg-descr
index d6d63bb5552f..a35f028e581c 100644
--- a/games/uhexen/pkg-descr
+++ b/games/uhexen/pkg-descr
@@ -1,4 +1,4 @@
-U-Hexen is yet another port of Hexen, popular game from Raven Softrware to
-Simple Directmedia Layer (SDL) library.
+U-Hexen is yet another port of Hexen, popular game from Raven Software to
+Simple DirectMedia Layer (SDL) library.
WWW: http://uhexen.sourceforge.net/