Fix fetching of source files and mark as no longer BROKEN.

This commit is contained in:
Stefan Eßer 2010-10-08 16:47:57 +00:00
parent 0958cff210
commit d0eec247f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262626

View file

@ -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>