From 8ad5767343775ea3950bfe38853007469c544a41 Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 14 Jun 2006 14:29:54 +0000 Subject: Fix extraction on 4.x PR: ports/98744 Submitted by: Benjamin Lutz Approved by: krion (mentor) --- games/linux-enemyterritory/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'games') diff --git a/games/linux-enemyterritory/Makefile b/games/linux-enemyterritory/Makefile index 48f255c1998..35b37db340d 100644 --- a/games/linux-enemyterritory/Makefile +++ b/games/linux-enemyterritory/Makefile @@ -19,6 +19,7 @@ COMMENT= Wolfenstein: Enemy Territory (Linux version) ONLY_FOR_ARCHS= i386 USE_LINUX= yes +USE_ZIP= yes NO_CDROM= Redistribution is limited, see license ETDIR= ${PREFIX}/lib/${PORTNAME} INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} @@ -27,9 +28,9 @@ PATCH_260B_DIR= Enemy Territory 2.60b do-extract: @${MKDIR} ${WRKSRC} @cd ${WRKSRC} && \ - ${TAIL} +374 ${_DISTDIR}/et-linux-2.60.x86.run | ${TAR} xfz - + ${TAIL} +374 ${_DISTDIR}et-linux-2.60.x86.run | ${TAR} xfz - @cd ${WRKSRC} && \ - ${TAR} xf ${_DISTDIR}/ET-2.60b.zip + ${UNZIP_CMD} -q ${_DISTDIR}ET-2.60b.zip post-patch: .for FILE in et etded -- cgit