From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 5 23:40:11 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A24E31065670 for ; Thu, 5 May 2011 23:40:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 90C278FC14 for ; Thu, 5 May 2011 23:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p45NeB3k004301 for ; Thu, 5 May 2011 23:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p45NeB33004300; Thu, 5 May 2011 23:40:11 GMT (envelope-from gnats) Date: Thu, 5 May 2011 23:40:11 GMT Message-Id: <201105052340.p45NeB33004300@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Kalten Cc: Subject: Re: ports/156834: New port: games/fairymax-devel latest version of games/fairymax X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kalten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 23:40:11 -0000 The following reply was made to PR ports/156834; it has been noted by GNATS. From: Kalten 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 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 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 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 --- --