From owner-svn-ports-all@FreeBSD.ORG Thu Nov 14 20:51:44 2013 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 3FF5655D; Thu, 14 Nov 2013 20:51:44 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 155902CD3; Thu, 14 Nov 2013 20:51:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAEKphb7084184; Thu, 14 Nov 2013 20:51:43 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAEKphET084181; Thu, 14 Nov 2013 20:51:43 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311142051.rAEKphET084181@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Thu, 14 Nov 2013 20:51:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333789 - in head/games/xmines: . files 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.16 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: Thu, 14 Nov 2013 20:51:44 -0000 Author: danilo Date: Thu Nov 14 20:51:43 2013 New Revision: 333789 URL: http://svnweb.freebsd.org/changeset/ports/333789 Log: - Add stage support - Add DOCS option Modified: head/games/xmines/Makefile head/games/xmines/files/patch-aa head/games/xmines/pkg-plist Modified: head/games/xmines/Makefile ============================================================================== --- head/games/xmines/Makefile Thu Nov 14 20:36:55 2013 (r333788) +++ head/games/xmines/Makefile Thu Nov 14 20:51:43 2013 (r333789) @@ -17,13 +17,10 @@ CFLAGS+= -Wno-error=return-type PORTDOCS= README -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Modified: head/games/xmines/files/patch-aa ============================================================================== --- head/games/xmines/files/patch-aa Thu Nov 14 20:36:55 2013 (r333788) +++ head/games/xmines/files/patch-aa Thu Nov 14 20:51:43 2013 (r333789) @@ -36,6 +36,6 @@ install: - install -g games -o games -m 0664 scores/scores $(SCOREFILES)/xbomb-scores - install -g games -o games -m 2755 xbombs $(BIN) -+ mkdir -p $(SCOREFILES) -+ ${INSTALL} -g games -o games -m 0666 scores/scores $(SCOREFILES)/scores -+ ${INSTALL} -s -g games -o games -m 0755 xmines $(BIN) ++ mkdir -p ${DESTDIR}$(SCOREFILES) ++ ${INSTALL} -m 0666 scores/scores ${DESTDIR}$(SCOREFILES)/scores ++ ${INSTALL} -s -m 0755 xmines ${DESTDIR}$(BIN) Modified: head/games/xmines/pkg-plist ============================================================================== --- head/games/xmines/pkg-plist Thu Nov 14 20:36:55 2013 (r333788) +++ head/games/xmines/pkg-plist Thu Nov 14 20:51:43 2013 (r333789) @@ -1,3 +1,7 @@ +@group games +@owner games bin/xmines %%DATADIR%%/scores +@owner +@group @dirrm %%DATADIR%%