From owner-svn-ports-head@FreeBSD.ORG Tue Nov 5 00:53:19 2013 Return-Path: Delivered-To: svn-ports-head@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 ESMTP id BC4A5CAA; Tue, 5 Nov 2013 00:53:19 +0000 (UTC) (envelope-from danilo@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A812F2FCB; Tue, 5 Nov 2013 00:53:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA50rJow018568; Tue, 5 Nov 2013 00:53:19 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA50rJis018567; Tue, 5 Nov 2013 00:53:19 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311050053.rA50rJis018567@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 5 Nov 2013 00:53:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332797 - head/games/pmars-sdl 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.14 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, 05 Nov 2013 00:53:19 -0000 Author: danilo Date: Tue Nov 5 00:53:19 2013 New Revision: 332797 URL: http://svnweb.freebsd.org/changeset/ports/332797 Log: - Use options helpers - Add stage support Modified: head/games/pmars-sdl/Makefile Modified: head/games/pmars-sdl/Makefile ============================================================================== --- head/games/pmars-sdl/Makefile Tue Nov 5 00:50:18 2013 (r332796) +++ head/games/pmars-sdl/Makefile Tue Nov 5 00:53:19 2013 (r332797) @@ -31,24 +31,10 @@ MAKE_ARGS= CFLAGS+="${CFLAGS}" \ PLIST_FILES= bin/${PORTNAME}${PKGNAMESUFFIX} -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MICWS94} -MAKE_ARGS+= CFLAGS+="-DEXT94" -.endif - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -MAKE_ARGS+= CFLAGS+="-O3 -fomit-frame-pointer" -.endif - -.if ${PORT_OPTIONS:MPERMUTATE} -MAKE_ARGS+= CFLAGS+="-DPERMUTATE" -.endif - -.if ${PORT_OPTIONS:MSMALLMEM} -MAKE_ARGS+= CFLAGS+="-DSMALLMEM" -.endif +ICWS94_MAKE_ARGS= CFLAGS+="-DEXT94" +OPTIMIZED_CFLAGS_MAKE_ARGS= CFLAGS+="-O3 -fomit-frame-pointer" +PERMUTATE_MAKE_ARGS= CFLAGS+="-DPERMUTATE" +SMALLMEM_MAKE_ARGS= CFLAGS+="-DSMALLMEM" post-patch: @${REINPLACE_CMD} -e \ @@ -60,6 +46,6 @@ post-patch: do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ - ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}) + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}) .include