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/Makefile | |
parent | 3ef0144ff951166526756e8eb219a3005a62e57f (diff) | |
download | ports-73acfb12730c331c6bea0ccd8e5f35ae10e3ddde.tar.gz ports-73acfb12730c331c6bea0ccd8e5f35ae10e3ddde.zip |
Notes
Diffstat (limited to 'games/doomlegacy/Makefile')
-rw-r--r-- | games/doomlegacy/Makefile | 23 |
1 files changed, 11 insertions, 12 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} |