From owner-svn-ports-all@FreeBSD.ORG Mon Jun 23 23:00:53 2014 Return-Path: Delivered-To: svn-ports-all@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 ESMTPS id 71F39181; Mon, 23 Jun 2014 23:00:53 +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 526052ECE; Mon, 23 Jun 2014 23:00:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5NN0rEJ006549; Mon, 23 Jun 2014 23:00:53 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5NN0pQg006538; Mon, 23 Jun 2014 23:00:51 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201406232300.s5NN0pQg006538@svn.freebsd.org> From: "Jason E. Hale" Date: Mon, 23 Jun 2014 23:00:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359017 - in head/games/trojka: . 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.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: Mon, 23 Jun 2014 23:00:53 -0000 Author: jhale Date: Mon Jun 23 23:00:51 2014 New Revision: 359017 URL: http://svnweb.freebsd.org/changeset/ports/359017 QAT: https://qat.redports.org/buildarchive/r359017/ Log: - Support staging - Add LICENSE - Rename generic patches Approved by: portmgr (blanket approval) Added: head/games/trojka/files/patch-Makefile - copied, changed from r359013, head/games/trojka/files/patch-aa head/games/trojka/files/patch-sys_custom.h - copied unchanged from r359013, head/games/trojka/files/patch-ac head/games/trojka/files/patch-system.c - copied unchanged from r359013, head/games/trojka/files/patch-ab head/games/trojka/files/patch-trojka.6 - copied unchanged from r359013, head/games/trojka/files/patch-ad Deleted: head/games/trojka/files/patch-aa head/games/trojka/files/patch-ab head/games/trojka/files/patch-ac head/games/trojka/files/patch-ad Modified: head/games/trojka/Makefile head/games/trojka/files/pkg-message.in head/games/trojka/pkg-plist Modified: head/games/trojka/Makefile ============================================================================== --- head/games/trojka/Makefile Mon Jun 23 22:29:07 2014 (r359016) +++ head/games/trojka/Makefile Mon Jun 23 23:00:51 2014 (r359017) @@ -10,11 +10,11 @@ DISTNAME= ${PORTNAME} MAINTAINER= e@ik.nu COMMENT= Game of skill -MAN6= trojka.6 -SUB_FILES= pkg-message +LICENSE= TROJKA +LICENSE_NAME= Trojka Copyright +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +LICENSE_FILE= ${WRKSRC}/COPYRIGHT -NO_STAGE= yes -post-install: - @${CAT} ${PKGMESSAGE} +SUB_FILES= pkg-message .include Copied and modified: head/games/trojka/files/patch-Makefile (from r359013, head/games/trojka/files/patch-aa) ============================================================================== --- head/games/trojka/files/patch-aa Mon Jun 23 21:44:09 2014 (r359013, copy source) +++ head/games/trojka/files/patch-Makefile Mon Jun 23 23:00:51 2014 (r359017) @@ -17,11 +17,11 @@ install: - cp trojka /usr/games -+ install -c -d -m 0755 $(SCOREDIR) -+ install -c -m 2755 -g games -s trojka $(PREFIX)/bin -+ install -c -m 0644 COPYRIGHT README $(SCOREDIR) -+ install -c -m 0664 -g games /dev/null $(SCOREFILE) -+ install -c -m 0444 trojka.6.out $(PREFIX)/man/man6/trojka.6 ++ install -c -d -m 0755 $(DESTDIR)$(SCOREDIR) ++ install -c -s trojka $(DESTDIR)$(PREFIX)/bin ++ install -c -m 0644 README $(DESTDIR)$(SCOREDIR) ++ install -c -m 0664 /dev/null $(DESTDIR)$(SCOREFILE) ++ install -c -m 0444 trojka.6.out $(DESTDIR)$(PREFIX)/man/man6/trojka.6 + +trojka.6.out: trojka.6 + sed "s|%%PREFIX%%|$(PREFIX)|" trojka.6 > trojka.6.out Copied: head/games/trojka/files/patch-sys_custom.h (from r359013, head/games/trojka/files/patch-ac) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trojka/files/patch-sys_custom.h Mon Jun 23 23:00:51 2014 (r359017, copy of r359013, head/games/trojka/files/patch-ac) @@ -0,0 +1,12 @@ +--- sys_custom.h.orig Mon Jul 17 21:02:18 2000 ++++ sys_custom.h Mon Jul 17 21:02:41 2000 +@@ -7,7 +7,9 @@ + #ifndef _sys_custom_ + #define _sys_custom_ + ++#ifndef SCOREFILE + #define SCOREFILE "/usr/games/lib/trojka.scores" ++#endif + + #define UMASK 0666 /* creation mask for hiscorefile */ + Copied: head/games/trojka/files/patch-system.c (from r359013, head/games/trojka/files/patch-ab) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trojka/files/patch-system.c Mon Jun 23 23:00:51 2014 (r359017, copy of r359013, head/games/trojka/files/patch-ab) @@ -0,0 +1,30 @@ +--- system.c.orig Sat Oct 21 05:16:20 1995 ++++ system.c Mon Jul 17 21:09:48 2000 +@@ -23,6 +23,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + + #include "trojka.h" + +@@ -42,7 +45,7 @@ + + char getkey() /* get key from keyboard */ + { +-#if SUNOS | HPUX | LINUX ++#if SUNOS | HPUX | LINUX | __FreeBSD__ + long count; + char ch; + +@@ -119,7 +122,7 @@ + int delay(millisecs) + int millisecs; + { +-#if SUNOS | LINUX ++#if SUNOS | LINUX | __FreeBSD__ + usleep(millisecs * 1200); /* usleep does microsecs; need millisecs */ + #endif + #ifdef HPUX Copied: head/games/trojka/files/patch-trojka.6 (from r359013, head/games/trojka/files/patch-ad) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/trojka/files/patch-trojka.6 Mon Jun 23 23:00:51 2014 (r359017, copy of r359013, head/games/trojka/files/patch-ad) @@ -0,0 +1,11 @@ +--- trojka.6.orig Mon Jul 17 21:03:06 2000 ++++ trojka.6 Mon Jul 17 21:03:36 2000 +@@ -40,7 +40,7 @@ + + .SH FILES + .nf +-/usr/local/games/lib/trojka.scores The Trojka hiscore file ++%%PREFIX%%/share/trojka/trojka.scores The Trojka hiscore file + + .SH HISTORY + First version written in 1989 for MS-Dog. Not long thereafter (in 1990) Modified: head/games/trojka/files/pkg-message.in ============================================================================== --- head/games/trojka/files/pkg-message.in Mon Jun 23 22:29:07 2014 (r359016) +++ head/games/trojka/files/pkg-message.in Mon Jun 23 23:00:51 2014 (r359017) @@ -3,5 +3,5 @@ You now have suid binary (2755): %%PREFIX%%/bin/trojka -Scores will not be writed if you don't set suid. +Scores will not be saved if you don't set suid. ============================================================ Modified: head/games/trojka/pkg-plist ============================================================================== --- head/games/trojka/pkg-plist Mon Jun 23 22:29:07 2014 (r359016) +++ head/games/trojka/pkg-plist Mon Jun 23 23:00:51 2014 (r359017) @@ -1,5 +1,11 @@ +@mode 2755 +@group games bin/trojka -%%DATADIR%%/COPYRIGHT +@group +@mode +man/man6/trojka.6.gz %%DATADIR%%/README +@group games %%DATADIR%%/trojka.scores +@group @dirrm %%DATADIR%%