From owner-svn-ports-all@FreeBSD.ORG Sun May 11 01:40:06 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8C31D80; Sun, 11 May 2014 01:40:06 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 8C18A24FB; Sun, 11 May 2014 01:40:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4B1e6ad065409; Sun, 11 May 2014 01:40:06 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4B1e6Iw064892; Sun, 11 May 2014 01:40:06 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201405110140.s4B1e6Iw064892@svn.freebsd.org> From: Dmitry Marakasov Date: Sun, 11 May 2014 01:40:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353638 - in head/games: numptyphysics numptyphysics-npcomplete X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 01:40:06 -0000 Author: amdmi3 Date: Sun May 11 01:40:05 2014 New Revision: 353638 URL: http://svnweb.freebsd.org/changeset/ports/353638 QAT: https://qat.redports.org/buildarchive/r353638/ Log: - Support staging - Convert USE_BZIP2 to USES Modified: head/games/numptyphysics-npcomplete/Makefile head/games/numptyphysics-npcomplete/pkg-plist head/games/numptyphysics/Makefile Modified: head/games/numptyphysics-npcomplete/Makefile ============================================================================== --- head/games/numptyphysics-npcomplete/Makefile Sun May 11 01:39:40 2014 (r353637) +++ head/games/numptyphysics-npcomplete/Makefile Sun May 11 01:40:05 2014 (r353638) @@ -13,18 +13,17 @@ COMMENT= Level pack for Numpty Physics RUN_DEPENDS= numptyphysics:${PORTSDIR}/games/numptyphysics -USE_BZIP2= yes +USES= tar:bzip2 NO_BUILD= yes WRKSRC= ${WRKDIR}/npcomplete DATADIR= ${PREFIX}/share/numptyphysics -NO_STAGE= yes post-extract: # this level will crash the game @${RM} -f "${WRKSRC}/L02_bridge Gaps tut.nph" do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.nph ${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.nph ${STAGEDIR}${DATADIR} .include Modified: head/games/numptyphysics-npcomplete/pkg-plist ============================================================================== --- head/games/numptyphysics-npcomplete/pkg-plist Sun May 11 01:39:40 2014 (r353637) +++ head/games/numptyphysics-npcomplete/pkg-plist Sun May 11 01:40:05 2014 (r353638) @@ -90,3 +90,4 @@ %%DATADIR%%/ship.nph %%DATADIR%%/surfs_up.nph %%DATADIR%%/szymanowski1.nph +@dirrmtry %%DATADIR%% Modified: head/games/numptyphysics/Makefile ============================================================================== --- head/games/numptyphysics/Makefile Sun May 11 01:39:40 2014 (r353637) +++ head/games/numptyphysics/Makefile Sun May 11 01:40:05 2014 (r353638) @@ -12,7 +12,7 @@ MASTER_SITES= http://mirror.amdmi3.ru/di MAINTAINER= amdmi3@FreeBSD.org COMMENT= Drawing physics-based puzzle game -USE_BZIP2= yes +USES= tar:bzip2 desktop-file-utils GNU_CONFIGURE= yes USE_SDL= sdl image INSTALLS_ICONS= yes @@ -24,11 +24,9 @@ CPPFLAGS+= -I${LOCALBASE}/include -DINST WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= MOREFPS +OPTIONS_DEFAULT=MOREFPS MOREFPS_DESC= Smoother graphics support -OPTIONS_DEFAULT= MOREFPS - -NO_STAGE= yes .include post-patch: @@ -42,7 +40,7 @@ post-patch: @${REINPLACE_CMD} -e 's|^Exec=.*|Exec=${PORTNAME}|; /^X-Icon-Path/ d' \ ${WRKSRC}/data/${PORTNAME}.desktop -post-install: - @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} +post-build: + ${STRIP_CMD} ${WRKSRC}/${PORTNAME} .include