From owner-svn-ports-head@freebsd.org Sat Jan 9 00:20:35 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 C24FCA68886; Sat, 9 Jan 2016 00:20:35 +0000 (UTC) (envelope-from danilo@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 9D0D61A50; Sat, 9 Jan 2016 00:20:35 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u090KYZn040622; Sat, 9 Jan 2016 00:20:34 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u090KYOY040619; Sat, 9 Jan 2016 00:20:34 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201601090020.u090KYOY040619@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Sat, 9 Jan 2016 00:20:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405600 - in head/games/xbomb: . 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-head@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 09 Jan 2016 00:20:36 -0000 Author: danilo Date: Sat Jan 9 00:20:34 2016 New Revision: 405600 URL: https://svnweb.freebsd.org/changeset/ports/405600 Log: - Move highscores to /var/games - Modernize plist - Add license PR: 205628 Submitted by: amdmi3 Modified: head/games/xbomb/Makefile head/games/xbomb/files/patch-hiscore.c head/games/xbomb/pkg-plist Modified: head/games/xbomb/Makefile ============================================================================== --- head/games/xbomb/Makefile Fri Jan 8 23:41:25 2016 (r405599) +++ head/games/xbomb/Makefile Sat Jan 9 00:20:34 2016 (r405600) @@ -9,6 +9,9 @@ MASTER_SITES= http://www.gedanken.org.uk MAINTAINER= danilo@FreeBSD.org COMMENT= Minesweeper with a couple of grid types +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + USES= pkgconfig tar:tgz USE_XORG= xaw7 @@ -21,9 +24,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xbomb ${STAGEDIR}${PREFIX}/bin/xbomb ${INSTALL_MAN} ${WRKSRC}/xbomb.6 ${STAGEDIR}${MANPREFIX}/man/man6/xbomb.6 ${INSTALL_DATA} ${WRKSRC}/xbomb.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XBomb - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xbomb - @${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb3.hi - @${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb4.hi - @${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/xbomb/xbomb6.hi + @${MKDIR} ${STAGEDIR}/var/games/xbomb + @${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb3.hi.sample + @${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb4.hi.sample + @${TOUCH} ${STAGEDIR}/var/games/xbomb/xbomb6.hi.sample .include Modified: head/games/xbomb/files/patch-hiscore.c ============================================================================== --- head/games/xbomb/files/patch-hiscore.c Fri Jan 8 23:41:25 2016 (r405599) +++ head/games/xbomb/files/patch-hiscore.c Sat Jan 9 00:20:34 2016 (r405600) @@ -5,9 +5,9 @@ /*+ The names of the high score tables. +*/ -static char *filenames[NTYPES]={"/var/tmp/xbomb6.hi","/var/tmp/xbomb4.hi","/var/tmp/xbomb3.hi"}; -+static char *filenames[NTYPES]={LOCALBASE"/lib/X11/xbomb/xbomb6.hi", -+ LOCALBASE"/lib/X11/xbomb/xbomb4.hi", -+ LOCALBASE"/lib/X11/xbomb/xbomb3.hi"}; ++static char *filenames[NTYPES]={"/var/games/xbomb/xbomb6.hi", ++ "/var/games/xbomb/xbomb4.hi", ++ "/var/games/xbomb/xbomb3.hi"}; /*+ The names of the positions in the high score tables. +*/ static char pos[11][5]={"Top","2nd","3rd","4th","5th","6th","7th","8th","9th","10th","Lost"}; Modified: head/games/xbomb/pkg-plist ============================================================================== --- head/games/xbomb/pkg-plist Fri Jan 8 23:41:25 2016 (r405599) +++ head/games/xbomb/pkg-plist Sat Jan 9 00:20:34 2016 (r405600) @@ -1,15 +1,7 @@ -@group games -@mode 2755 -bin/xbomb -@mode -@group +@(,games,2755) bin/xbomb man/man6/xbomb.6.gz lib/X11/app-defaults/XBomb -@group games -@mode 664 -lib/X11/xbomb/xbomb3.hi -lib/X11/xbomb/xbomb4.hi -lib/X11/xbomb/xbomb6.hi -@mode -@group -@dirrmtry lib/X11/xbomb +@sample(,games,664) /var/games/xbomb/xbomb3.hi.sample +@sample(,games,664) /var/games/xbomb/xbomb4.hi.sample +@sample(,games,664) /var/games/xbomb/xbomb6.hi.sample +@dir /var/games/xbomb