From owner-svn-ports-head@FreeBSD.ORG Tue Nov 5 00:39:46 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 267D2667; Tue, 5 Nov 2013 00:39:46 +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 142882F08; Tue, 5 Nov 2013 00:39:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA50djum012675; Tue, 5 Nov 2013 00:39:45 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA50djH9012674; Tue, 5 Nov 2013 00:39:45 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311050039.rA50djH9012674@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 5 Nov 2013 00:39:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332794 - head/games/phalanx 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:39:46 -0000 Author: danilo Date: Tue Nov 5 00:39:45 2013 New Revision: 332794 URL: http://svnweb.freebsd.org/changeset/ports/332794 Log: - Convert USE_GMAKE to USES - Add DOCS option - Add stage support Modified: head/games/phalanx/Makefile Modified: head/games/phalanx/Makefile ============================================================================== --- head/games/phalanx/Makefile Tue Nov 5 00:33:17 2013 (r332793) +++ head/games/phalanx/Makefile Tue Nov 5 00:39:45 2013 (r332794) @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${DISTNAME:S/-beta//} -USE_GMAKE= yes +USES= gmake MAKEFILE= makefile MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= # empty @@ -34,16 +34,15 @@ PLIST_FILES= bin/phalanx \ %%DATADIR%%/sbook.phalanx PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.phalanx ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.phalanx ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include