aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2008-03-24 22:49:59 +0800
committerdanfe <danfe@FreeBSD.org>2008-03-24 22:49:59 +0800
commit319f5a83bb9b25bff5b9de24f8a896b9b34b286e (patch)
tree10568a08ab04e6e8ed991840feaa5416c9948843
parent66024433f0c2d659bb3da7b465b765043e93f82b (diff)
downloadfreebsd-ports-gnome-319f5a83bb9b25bff5b9de24f8a896b9b34b286e.tar.gz
freebsd-ports-gnome-319f5a83bb9b25bff5b9de24f8a896b9b34b286e.tar.zst
freebsd-ports-gnome-319f5a83bb9b25bff5b9de24f8a896b9b34b286e.zip
- Drop USE_X_PREFIX
- Typo fix in pkg-descr - Cleanup Makefile
-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/