aboutsummaryrefslogtreecommitdiff
path: root/games/uhexen
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-03-24 14:49:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-03-24 14:49:59 +0000
commite8ad3eece31a600f11cc07e8dc46787b4b84a24a (patch)
tree9910c8b596d8a2664ed7f1208b7cec2b4aa439ab /games/uhexen
parent482ca749449b85c987c933c754243922148849e0 (diff)
downloadports-e8ad3eece31a600f11cc07e8dc46787b4b84a24a.tar.gz
ports-e8ad3eece31a600f11cc07e8dc46787b4b84a24a.zip
- Drop USE_X_PREFIX
- Typo fix in pkg-descr - Cleanup Makefile
Notes
Notes: svn path=/head/; revision=209688
Diffstat (limited to 'games/uhexen')
-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/