aboutsummaryrefslogtreecommitdiff
path: root/games/xblast
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2010-10-08 16:47:57 +0000
committerStefan Eßer <se@FreeBSD.org>2010-10-08 16:47:57 +0000
commitd0eec247f015314f860bd45d3dee2032ab98e471 (patch)
tree9ac215d0b872acbfb10ceeafee59250bd53ea3b6 /games/xblast
parent0958cff2106b13566036b48dfc87c56a46178609 (diff)
downloadports-d0eec247f015314f860bd45d3dee2032ab98e471.tar.gz
ports-d0eec247f015314f860bd45d3dee2032ab98e471.zip
Notes
Diffstat (limited to 'games/xblast')
-rw-r--r--games/xblast/Makefile38
1 files changed, 22 insertions, 16 deletions
diff --git a/games/xblast/Makefile b/games/xblast/Makefile
index 22a8691c88b6..26d4f936b23e 100644
--- a/games/xblast/Makefile
+++ b/games/xblast/Makefile
@@ -9,22 +9,29 @@ PORTNAME= xblast
PORTVERSION= 2.10.4
PORTREVISION= 7
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/Sources/${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= ${IMAGES_DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= ${LEVELS_DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= ${MODELS_DISTNAME}${EXTRACT_SUFX}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}/Sources/${PORTVERSION} \
+ ${PORTNAME}/Images/${IMAGES_DATE} \
+ ${PORTNAME}/Levels/${LEVELS_DATE} \
+ ${PORTNAME}/Models/${MODELS_DATE}
.if !defined(WITHOUT_SOUND)
-DISTFILES+= ${MUSICS_DISTNAME}${EXTRACT_SUFX}
-DISTFILES+= ${SOUNDS_DISTNAME}${EXTRACT_SUFX}
+MASTER_SITE_SUBDIR+= ${PORTNAME}/Musics/${MUSICS_DATE} \
+ ${PORTNAME}/Sounds/${SOUNDS_DATE}
+PKGNAMESUFFIX= -nosound
+.endif
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ images-${IMAGES_DATE}${EXTRACT_SUFX} \
+ levels-${LEVELS_DATE}${EXTRACT_SUFX} \
+ models-${MODELS_DATE}${EXTRACT_SUFX}
+.if !defined(WITHOUT_SOUND)
+DISTFILES+= musics-${MUSICS_DATE}${EXTRACT_SUFX} \
+ sounds${EXTRACT_SUFX}
.endif
DIST_SUBDIR= xblast
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-player real-time strategy game for X11
-BROKEN= does not fetch
-
WANT_SDL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -42,11 +49,11 @@ LDFLAGS= -L${LOCALBASE}/lib
FONTSDIR= ${LOCALBASE}/lib/X11/fonts/bitstream-vera
-IMAGES_DISTNAME=images-2005-01-06
-LEVELS_DISTNAME=levels-2005-01-06
-MODELS_DISTNAME=models-2005-01-06
-MUSICS_DISTNAME=musics-2005-01-06
-SOUNDS_DISTNAME=sounds
+IMAGES_DATE= 2005-01-06
+LEVELS_DATE= 2005-01-06
+MODELS_DATE= 2005-01-06
+MUSICS_DATE= 2005-01-06
+SOUNDS_DATE= 2004-04-29
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
@@ -68,7 +75,6 @@ PLIST_SUB+= NOSDL="@comment "
.endif
.if defined(WITHOUT_SOUND) && defined(WITHOUT_SDL)
-PKGNAMESUFFIX= -nosound
CONFIGURE_ARGS+= --disable-sound
PLIST_SUB+= SOUND="@comment "
.else
@@ -121,6 +127,6 @@ do-install:
.endif
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
@${FIND} ${DATADIR} -type d -exec ${CHMOD} 755 {} \;
- @${FIND} ${DATADIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+ @${FIND} ${DATADIR} -type f -exec ${CHMOD} ${SHAREMODE} {} \;
.include <bsd.port.mk>