From owner-svn-ports-head@freebsd.org Tue May 3 10:11:31 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA39BB2B24F; Tue, 3 May 2016 10:11:31 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B4C4D1F26; Tue, 3 May 2016 10:11:31 +0000 (UTC) (envelope-from nemysis@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u43ABUZj085345; Tue, 3 May 2016 10:11:30 GMT (envelope-from nemysis@FreeBSD.org) Received: (from nemysis@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u43ABUAu085344; Tue, 3 May 2016 10:11:30 GMT (envelope-from nemysis@FreeBSD.org) Message-Id: <201605031011.u43ABUAu085344@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nemysis set sender to nemysis@FreeBSD.org using -f From: Rusmir Dusko Date: Tue, 3 May 2016 10:11:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414523 - head/games/rocksndiamonds-data X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2016 10:11:32 -0000 Author: nemysis Date: Tue May 3 10:11:30 2016 New Revision: 414523 URL: https://svnweb.freebsd.org/changeset/ports/414523 Log: - After ports r411856 post-extract-script can be simplified a bit. PR: 208291 Submitted by: jbeich Modified: head/games/rocksndiamonds-data/Makefile Modified: head/games/rocksndiamonds-data/Makefile ============================================================================== --- head/games/rocksndiamonds-data/Makefile Tue May 3 09:29:20 2016 (r414522) +++ head/games/rocksndiamonds-data/Makefile Tue May 3 10:11:30 2016 (r414523) @@ -23,15 +23,17 @@ DISTFILES= BD2K3-1.0.0.zip:levels \ Veysi_Orak_2006.zip DIST_SUBDIR= rocksndiamonds EXTRACT_ONLY= #empty +EXTRACT_ONLY_7z=Emerald_Mine_Club-2.1.1.7z MAINTAINER= nemysis@FreeBSD.org COMMENT= Additional Player Levels for Rocks'n'Diamonds and R'n'D jue -EXTRACT_DEPENDS+=${UNZIP_CMD}:archivers/unzip \ - 7z:archivers/p7zip +EXTRACT_DEPENDS+=${UNZIP_CMD}:${PORTSDIR}/archivers/unzip +USES= 7z:partial NO_BUILD= yes NO_WRKSUBDIR= yes +WRKSRC= ${WRKDIR}/${PORTNAME} # for EXTRACT_WRKDIR SUB_FILES= pkg-message pkg-deinstall @@ -76,9 +78,6 @@ DATADIR1= ${PREFIX}/share/rocksndiamonds .endif post-extract-script: - ${MKDIR} ${WRKDIR}/${PORTNAME} - 7z x ${_DISTDIR}/Emerald_Mine_Club-2.1.1.7z -o${WRKDIR}/${PORTNAME}/levels - .for l in BD2K3-1.0.0.zip Snake_Bite-1.0.0.zip Zelda-1.0.0.zip \ ZeldaII-1.0.0.zip Boulder_Dash_Dream-1.0.0.zip @${UNZIP_CMD} -qo -d ${WRKDIR}/${PORTNAME} ${_DISTDIR}/${l}