From nobody@FreeBSD.org  Thu May  5 17:57:45 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A454D1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 May 2011 17:57:45 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 9199D8FC1B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 May 2011 17:57:45 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p45Hvjh5078263
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 May 2011 17:57:45 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p45HvjNO078262;
	Thu, 5 May 2011 17:57:45 GMT
	(envelope-from nobody)
Message-Id: <201105051757.p45HvjNO078262@red.freebsd.org>
Date: Thu, 5 May 2011 17:57:45 GMT
From: Kalten <kalten@gmx.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: games/fairymax-devel latest version of games/fairymax
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         156834
>Category:       ports
>Synopsis:       New port: games/fairymax-devel latest version of games/fairymax
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 05 18:00:20 UTC 2011
>Closed-Date:    Mon Nov 18 14:09:46 UTC 2013
>Last-Modified:  Mon Nov 18 16:10:00 UTC 2013
>Originator:     Kalten
>Release:        8.2-RELEASE
>Organization:
>Environment:
FreeBSD freeHugin.Walhalla.Leben 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Slave port of games/fairymax with the latest version of fairymax in the author's git repository.

Needs PR:ports/156833 to be done first.

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=156833

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fairymax-devel
#	fairymax-devel/Makefile
#
echo c - fairymax-devel
mkdir -p fairymax-devel > /dev/null 2>&1
echo x - fairymax-devel/Makefile
sed 's/^X//' >fairymax-devel/Makefile << 'a4c5b58b41af49a3fd3f453103211697'
X# New ports collection makefile for:	fairymax, devel-version
X# Date created:				5 May 2011
X# Whom:					Kalten <kalten@gmx.at>
X#
X# $FreeBSD:$
X#
X
XPORTVERSION=	4.8Q.3
XPORTREVISION=	0
XDISTNAME=	fairymax-507c6ba
X# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=507c6ba03ed2b868a3b0bd3a82c2e4c44d6d33ce;sf=tgz
X
XMAINTAINER=	kalten@gmx.at
XCOMMENT=	Like games/fairymax but later version
X
XCONFLICTS=	fairymax-4.8Q fairymax-4.8Q_[1-9]* fairymax-4.8Q.[4-9] fairymax-4.8Q.[1-9][0-9][0-9]*
X
XMASTERDIR=	${.CURDIR}/../fairymax
XNO_LATEST_LINK=	yes
X
X.include "${MASTERDIR}/Makefile"
a4c5b58b41af49a3fd3f453103211697
exit



>Release-Note:
>Audit-Trail:

From: Kalten <kalten@gmx.at>
To: bug-followup@FreeBSD.org,kalten@gmx.at
Cc:  
Subject: Re: ports/156834: New port: games/fairymax-devel latest version of games/fairymax
Date: Fri, 06 May 2011 01:33:40 +0200

 Given up master-/slave port variant (see PR:ports/156833) as suggested
 by johans.
 New version (very similar to games/fairymax) in attachment. (Replacing
 old version). Again the question of -O2 flags as in ports/156833
 mentioned (maybe better not on but off by default?)
 
 I hope, it is OK.
 
 Greetings, Kalten
 
 --- fairymax-devel.shar begins here ---
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	fairymax-devel
 #	fairymax-devel/Makefile
 #	fairymax-devel/distinfo
 #	fairymax-devel/files
 #	fairymax-devel/files/patch-Makefile
 #	fairymax-devel/files/patch-fairymax.pod
 #	fairymax-devel/pkg-descr
 #
 echo c - fairymax-devel
 mkdir -p fairymax-devel > /dev/null 2>&1
 echo x - fairymax-devel/Makefile
 sed 's/^X//' >fairymax-devel/Makefile << 'a4c5b58b41af49a3fd3f453103211697'
 X# New ports collection makefile for:	fairymax-devel version
 X# Date created:				5 May 2011
 X# Whom:					Kalten <kalten@gmx.at>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	fairymax
 XPORTVERSION=	4.8Q.3
 XCATEGORIES=	games
 XMASTER_SITES=	http://freeheimdall.homeunix.org/files/
 XDISTNAME=	fairymax-507c6ba
 X# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=507c6ba03ed2b868a3b0bd3a82c2e4c44d6d33ce;sf=tgz
 X
 XMAINTAINER=	kalten@gmx.at
 XCOMMENT=	Like games/fairymax but later version
 X
 XCONFLICTS=	fairymax-4.8Q fairymax-4.8Q_[1-9]* fairymax-4.8Q.[4-9] fairymax-4.8Q.[1-9][0-9][0-9]*
 X
 XOPTIONS+=	OCFLAGS "Use optimized compiler flags" on
 X
 XDIST_SUBDIR=	${PORTNAME}
 X
 XPLIST_FILES=	bin/fairymax \
 X		bin/shamax \
 X		bin/maxqi \
 X		${DATADIR_REL}/fmax.ini \
 X		${DATADIR_REL}/qmax.ini
 XPLIST_DIRS=	${DATADIR_REL}
 X
 XMAN6=		fairymax.6
 XMLINKS=		fairymax.6 shamax.6 \
 X		fairymax.6 maxqi.6
 X
 XUSE_GMAKE=	yes
 XUSE_PERL5_BUILD=yes
 XMAKE_ARGS+=	INI_FILE_fmax=${DATADIR}/fmax.ini \
 X		INI_FILE_qmax=${DATADIR}/qmax.ini
 X
 X.include <bsd.port.options.mk>
 X
 X.if defined(WITHOUT_OCFLAGS)
 XCFLAGS+=
 X.else
 XCFLAGS+=	-O2
 X.endif
 X
 Xpost-patch:
 X	@${CP} ${WRKSRC}/fairymax.pod ${WRKSRC}/fairymax.pod.ori
 X	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g;s|%%DATADIR%%|${DATADIR}|g' \
 X		${WRKSRC}/fairymax.pod.ori > ${WRKSRC}/fairymax.pod
 X
 Xpost-build:
 X	@${CP} ${WRKSRC}/fmax.man ${WRKSRC}/fairymax.6
 X
 Xdo-install:
 X	${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${PREFIX}/bin
 X	${INSTALL_PROGRAM} ${WRKSRC}/shamax ${PREFIX}/bin
 X	${INSTALL_PROGRAM} ${WRKSRC}/maxqi ${PREFIX}/bin
 X	${MKDIR} ${DATADIR}
 X	${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${DATADIR}/fmax.ini
 X	${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${DATADIR}/qmax.ini
 X	${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
 X
 X.include <bsd.port.mk>
 a4c5b58b41af49a3fd3f453103211697
 echo x - fairymax-devel/distinfo
 sed 's/^X//' >fairymax-devel/distinfo << 'e8a14d22fd10bedfc2e520812264eac0'
 XSHA256 (fairymax/fairymax-507c6ba.tar.gz) = 18727b04bf4a3a9d1e3bac55a2729727735a9103f3beb03afb8bbbfd21a6112a
 XSIZE (fairymax/fairymax-507c6ba.tar.gz) = 34289
 e8a14d22fd10bedfc2e520812264eac0
 echo c - fairymax-devel/files
 mkdir -p fairymax-devel/files > /dev/null 2>&1
 echo x - fairymax-devel/files/patch-Makefile
 sed 's/^X//' >fairymax-devel/files/patch-Makefile << '97c0364a8a552f2bc8fbc63951d3e597'
 X--- Makefile.orig	2010-12-08 10:03:32.000000000 +0100
 X+++ Makefile	2011-04-23 17:09:50.000000000 +0200
 X@@ -1,21 +1,22 @@
 X srcdir = .
 X 
 X-CC=gcc
 X-CFLAGS += -O2
 X-
 X+CC?=gcc
 X+CFLAGS +=
 X+INI_FILE_fmax?="/usr/share/games/fairymax/fmax.ini"
 X+INI_FILE_qmax?="/usr/share/games/fairymax/qmax.ini"
 X 
 X ALL= fairymax shamax maxqi fairymax.6.gz
 X 
 X all: ${ALL}
 X 
 X fairymax: fairymax.c
 X-	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" fairymax.c -o fairymax
 X+	$(CC) $(CFLAGS) -DINI_FILE=\"${INI_FILE_fmax}\" fairymax.c -o fairymax
 X 
 X shamax: fairymax.c
 X-	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/fmax.ini\" -DSHATRANJ fairymax.c -o shamax
 X+	$(CC) $(CFLAGS) -DINI_FILE=\"${INI_FILE_fmax}\" -DSHATRANJ fairymax.c -o shamax
 X 
 X maxqi: maxqi.c
 X-	$(CC) $(CFLAGS) -DINI_FILE=\"/usr/share/games/fairymax/qmax.ini\" maxqi.c -o maxqi
 X+	$(CC) $(CFLAGS) -DINI_FILE=\"${INI_FILE_qmax}\" maxqi.c -o maxqi
 X 
 X install: ${ALL} ${srcdir}/data/*
 X 	cp -u ${srcdir}/fairymax $(DESTDIR)/usr/games
 97c0364a8a552f2bc8fbc63951d3e597
 echo x - fairymax-devel/files/patch-fairymax.pod
 sed 's/^X//' >fairymax-devel/files/patch-fairymax.pod << 'a4414852026e826e9d2bf72ed17373c0'
 X--- fairymax.pod.orig	2010-12-08 10:03:32.000000000 +0100
 X+++ fairymax.pod	2011-04-23 01:11:01.000000000 +0200
 X@@ -117,11 +117,20 @@
 X 
 X =back
 X 
 X+=head1 FILES
 X+
 X+%%DATADIR%%/fmax.ini
 X+
 X+%%DATADIR%%/qmax.ini
 X 
 X =head1 SEE ALSO
 X 
 X xboard(6)
 X 
 X+http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git
 X+
 X+http://home.hccnet.nl/h.g.muller/fairy.html
 X+
 X http://www.chessvariants.org/index/msdisplay.php?itemid=MSfairy-max
 X 
 X http://home.hccnet.nl/h.g.muller/max-src2.html
 a4414852026e826e9d2bf72ed17373c0
 echo x - fairymax-devel/pkg-descr
 sed 's/^X//' >fairymax-devel/pkg-descr << 'ebc4dfb5521893108b25e3668fb9b2f3'
 Xfairy-Max is a version of micro-Max  that reads the piece description
 Xfrom a file fmax.ini, so that arbitrary fairy pieces can be implemen-
 Xted. This version supports up to 15 piece types, and board sizes upto
 X12x8 board. A Linux port exists in the format of a debian package.
 X
 XYou can use it e.g. with games/xboard/:
 Xe.g.: xboard -boardSize Middling -variant courier -fcp fairymax
 X
 XGIT: http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git
 XWWW: http://home.hccnet.nl/h.g.muller/fairy.html
 ebc4dfb5521893108b25e3668fb9b2f3
 exit
 --- fairymax-devel.shar ends here ---
 -- 
State-Changed-From-To: open->feedback 
State-Changed-By: jadawin 
State-Changed-When: Tue Nov 5 15:42:17 UTC 2013 
State-Changed-Why:  
Hi. Can we close this PR sine games/fairymax seems to be more updated ? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156834 
State-Changed-From-To: feedback->closed 
State-Changed-By: jadawin 
State-Changed-When: Mon Nov 18 14:09:43 UTC 2013 
State-Changed-Why:  
No feedback since long time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156834 

From: Kalten <kalten@gmx.at>
To: jadawin@FreeBSD.org, bug-followup@FreeBSD.org, kalten@gmx.at
Cc:  
Subject: Re: ports/156834: New port: games/fairymax-devel latest version of games/fairymax
Date: Mon, 18 Nov 2013 17:03:54 +0100

 Hello!
 
 jadawin@FreeBSD.org writes:
 >> Hi. Can we close this PR sine games/fairymax seems to be more updated ?
 > No feedback since long time.
 I am very sorry for not responding earlier!
 You are right---there is no need for a -devel port as games/fairymax
 is not constrained to tagged git versions. :-)
 
 So yes, please keep this PR closed.
 
 ru,
  Kalten
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=156834
 -- 
>Unformatted:
