Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 14:55:25 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307071 - head/games/doomlegacy
Message-ID:  <201211061455.qA6EtPR6084308@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Nov  6 14:55:25 2012
New Revision: 307071
URL: http://svnweb.freebsd.org/changeset/ports/307071

Log:
  - Compress legacy.wad distfile (deflate 65%)
  - Minor cosmetic Makefile changes
  
  Feature safe:	yes

Modified:
  head/games/doomlegacy/Makefile
  head/games/doomlegacy/distinfo

Modified: head/games/doomlegacy/Makefile
==============================================================================
--- head/games/doomlegacy/Makefile	Tue Nov  6 14:55:05 2012	(r307070)
+++ head/games/doomlegacy/Makefile	Tue Nov  6 14:55:25 2012	(r307071)
@@ -8,9 +8,8 @@ CATEGORIES=	games
 MASTER_SITES=	http://doomlegacy.sourceforge.net/releases/ \
 		http://freebsd.nsu.ru/distfiles/:wad
 DISTNAME=	${PORTNAME}_${DISTVERSION}_src_r${SVN_REV}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX} legacy.wad:wad
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} legacy_wad${EXTRACT_SUFX}:wad
 DIST_SUBDIR=	${PORTNAME}
-EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Improved and extended version of Doom
@@ -41,27 +40,27 @@ BUILD_DEPENDS=	nasm:${PORTSDIR}/devel/na
 MAKE_ENV+=	USEASM=1
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|<malloc|<stdlib|' ${WRKSRC}/p_setup.c \
+post-patch: .SILENT
+	${REINPLACE_CMD} -e 's|<malloc|<stdlib|' ${WRKSRC}/p_setup.c \
 		${WRKSRC}/r_data.c ${WRKSRC}/w_wad.c
 # Unbreak the build when using optimized assembly routines
-	@${REINPLACE_CMD} -e 's|dc_transmap|dc_translucentmap| ; \
+	${REINPLACE_CMD} -e 's|dc_transmap|dc_translucentmap| ; \
 		s|colormaps|reg_&|' ${WRKSRC}/tmap.nas
 # Ensure that gathered memory stats are printed correctly
-	@${REINPLACE_CMD} -e 's|total, free|(int)total, (int)free|' \
+	${REINPLACE_CMD} -e 's|total, free|(int)total, (int)free|' \
 		${WRKSRC}/z_zone.c
 # Adjust config and save games directory name to be less ambiguous
-	@${REINPLACE_CMD} -e 's|\.legacy|.${PORTNAME}|' ${WRKSRC}/doomdef.h
+	${REINPLACE_CMD} -e 's|\.legacy|.${PORTNAME}|' ${WRKSRC}/doomdef.h
 # Change default value of DOOMWADDIR
-	@${REINPLACE_CMD} -e 's,\(doomwaddir = \)"\.",\1"${DMDIR}", ; \
+	${REINPLACE_CMD} -e 's,\(doomwaddir = \)"\.",\1"${DMDIR}", ; \
 		1306,1309d' ${WRKSRC}/d_main.c
-# Remove broken dependency file (wrong paths inside) and copy of GPL
-	@${RM} ${WRKSRC}/sdl.dep ; ${TOUCH} ${WRKSRC}/sdl.dep
-	@${RM} ${WRKSRC}/_doc/LICENSE.txt
+# Remove broken dependency file (wrong paths inside) and a copy of GPL
+	${RM} ${WRKSRC}/sdl.dep ; ${TOUCH} ${WRKSRC}/sdl.dep
+	${RM} ${WRKSRC}/_doc/LICENSE.txt
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/../bin/doomlegacy ${PREFIX}/bin
-	${INSTALL_DATA} ${_DISTDIR}/legacy.wad ${DMDIR}
+	${INSTALL_DATA} ${WRKDIR}/legacy.wad ${DMDIR}
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC}/_doc && ${COPYTREE_SHARE} . ${DOCSDIR}

Modified: head/games/doomlegacy/distinfo
==============================================================================
--- head/games/doomlegacy/distinfo	Tue Nov  6 14:55:05 2012	(r307070)
+++ head/games/doomlegacy/distinfo	Tue Nov  6 14:55:25 2012	(r307071)
@@ -1,4 +1,4 @@
 SHA256 (doomlegacy/doomlegacy_1.44_alpha3_src_r845.zip) = d5ac03ceab68f586ce7282fab1975bbbdbd83b093dd3fa55a8e5317892f61436
 SIZE (doomlegacy/doomlegacy_1.44_alpha3_src_r845.zip) = 2530660
-SHA256 (doomlegacy/legacy.wad) = 3670caff9432155487be2622b7e77ee6fe356f21fd09e8733bf95b58d2df5f5f
-SIZE (doomlegacy/legacy.wad) = 952918
+SHA256 (doomlegacy/legacy_wad.zip) = dd805018a60d3e1b54da88ad6d082ae6bb9f790447a3f8d8b8f227b9ffa22240
+SIZE (doomlegacy/legacy_wad.zip) = 338333



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211061455.qA6EtPR6084308>