diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-11-06 14:55:25 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-11-06 14:55:25 +0000 |
commit | 73acfb12730c331c6bea0ccd8e5f35ae10e3ddde (patch) | |
tree | 667a5dc6005d66d6d6664bc135464756a9eaebd6 /games/doomlegacy | |
parent | 3ef0144ff951166526756e8eb219a3005a62e57f (diff) |
- Compress legacy.wad distfile (deflate 65%)
- Minor cosmetic Makefile changes
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=307071
Diffstat (limited to 'games/doomlegacy')
-rw-r--r-- | games/doomlegacy/Makefile | 23 | ||||
-rw-r--r-- | games/doomlegacy/distinfo | 4 |
2 files changed, 13 insertions, 14 deletions
diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile index 869af59540db..e0b2e5c6780f 100644 --- a/games/doomlegacy/Makefile +++ b/games/doomlegacy/Makefile @@ -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/nasm 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} diff --git a/games/doomlegacy/distinfo b/games/doomlegacy/distinfo index 700e9fb43258..6b6e8a02b5cf 100644 --- a/games/doomlegacy/distinfo +++ b/games/doomlegacy/distinfo @@ -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 |