From owner-svn-ports-all@FreeBSD.ORG Thu Jun 19 05:34:09 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 C1D5DE9A; Thu, 19 Jun 2014 05:34:09 +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 A37EE282E; Thu, 19 Jun 2014 05:34:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5J5Y9kb003861; Thu, 19 Jun 2014 05:34:09 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5J5Y9Ll003858; Thu, 19 Jun 2014 05:34:09 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201406190534.s5J5Y9Ll003858@svn.freebsd.org> From: "Jason E. Hale" Date: Thu, 19 Jun 2014 05:34:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358340 - in head/games/xtris: . 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: Thu, 19 Jun 2014 05:34:09 -0000 Author: jhale Date: Thu Jun 19 05:34:08 2014 New Revision: 358340 URL: http://svnweb.freebsd.org/changeset/ports/358340 QAT: https://qat.redports.org/buildarchive/r358340/ Log: - Support staging (it was easier to define a new do-install target than further patching the source Makefile) - Add LICENSE (GPLv2) - Rename patch to reflect the file it applies to - Whitespace cleanup Approved by: portmgr (blanket approval) Added: head/games/xtris/files/patch-Makefile - copied, changed from r358338, head/games/xtris/files/patch-aa Deleted: head/games/xtris/files/patch-aa Modified: head/games/xtris/Makefile head/games/xtris/pkg-plist Modified: head/games/xtris/Makefile ============================================================================== --- head/games/xtris/Makefile Thu Jun 19 05:26:06 2014 (r358339) +++ head/games/xtris/Makefile Thu Jun 19 05:34:08 2014 (r358340) @@ -8,20 +8,25 @@ CATEGORIES= games ipv6 MASTER_SITES= http://www.iagora.com/~espel/xtris/ \ ftp://quatramaran.ens.fr/pub/orabidoo/ -PATCH_SITES= ftp://ftp.42.org/pub/orphan/ +PATCH_SITES= ftp://ftp.42.org/pub/orphan/ PATCHFILES= xtris-1.15-v6-19991218.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= sec@42.org COMMENT= Multi-player version of a popular game for the X Window system +LICENSE= GPLv2 + RESTRICTED= Possible trademark infringement WRKSRC= ${WRKDIR}/xtris USE_XORG= x11 xext -MAN6= xtris.6 xtserv.6 xtbot.6 - MAKE_ENV= IPV6_CFLAGS="-DINET6" -NO_STAGE= yes +do-install: +.for i in xtbot xtris xtserv + ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${i}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 +.endfor + .include Copied and modified: head/games/xtris/files/patch-Makefile (from r358338, head/games/xtris/files/patch-aa) ============================================================================== --- head/games/xtris/files/patch-aa Thu Jun 19 02:49:55 2014 (r358338, copy source) +++ head/games/xtris/files/patch-Makefile Thu Jun 19 05:34:08 2014 (r358340) @@ -1,11 +1,11 @@ ---- Makefile.orig Mon Jan 17 13:33:15 2000 -+++ Makefile Mon Jan 17 13:36:11 2000 +--- ./Makefile.orig 2014-06-19 00:53:36.000000000 -0400 ++++ ./Makefile 2014-06-19 01:00:11.000000000 -0400 @@ -8,27 +8,27 @@ ################### # change this to your favorite ANSI C compiler -CC = gcc -+CC? = gcc ++CC ?= cc # change this to the directory where you want the xtris binaries installed -BINDIR = /usr/local/bin @@ -25,8 +25,8 @@ # specify X11 cflags and libdir if your system needs it -XCFLAGS = #-I/usr/X11/include -XLIBDIR = #-L/usr/X11/lib -+XCFLAGS = -I${PREFIX}/include -+XLIBDIR = -L${PREFIX}/lib ++XCFLAGS = -I${LOCALBASE}/include ++XLIBDIR = -L${LOCALBASE}/lib # IPv6 Settings -IPV6_CFLAGS = #-DINET6 #-I/usr/inet6/include Modified: head/games/xtris/pkg-plist ============================================================================== --- head/games/xtris/pkg-plist Thu Jun 19 05:26:06 2014 (r358339) +++ head/games/xtris/pkg-plist Thu Jun 19 05:34:08 2014 (r358340) @@ -1,3 +1,6 @@ +bin/xtbot bin/xtris bin/xtserv -bin/xtbot +man/man6/xtbot.6.gz +man/man6/xtris.6.gz +man/man6/xtserv.6.gz