Date: Fri, 24 Sep 1999 21:28:43 -0400 (EDT) From: Will Andrews <andrews@technologist.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13942: new port: games/wmminichess Message-ID: <199909250128.VAA41899@shadow.blackdawn.com>
next in thread | raw e-mail | index | archive | help
>Number: 13942 >Category: ports >Synopsis: new port: games/wmminichess >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 24 18:30:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Will Andrews >Release: FreeBSD 3.3-STABLE i386 >Organization: none >Environment: FreeBSD shadow.blackdawn.com 3.3-STABLE FreeBSD 3.3-STABLE #0: Mon Sep 20 02:19:49 EDT 1999 root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW i386 >Description: Neat chess game here. Note that I've made the port name "wmminichess" as opposed to the game's name "miniCHESS" per what seems to be the "standard" for windowmaker dockapps - having a "wm" prefixed seems the status quo. >How-To-Repeat: Use the shar to import the new port of wmminichess. >Fix: # 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: # # wmminichess # wmminichess/files # wmminichess/files/md5 # wmminichess/pkg # wmminichess/pkg/PLIST # wmminichess/pkg/DESCR # wmminichess/pkg/COMMENT # wmminichess/patches # wmminichess/patches/patch-aa # wmminichess/Makefile # echo c - wmminichess mkdir -p wmminichess > /dev/null 2>&1 echo c - wmminichess/files mkdir -p wmminichess/files > /dev/null 2>&1 echo x - wmminichess/files/md5 sed 's/^X//' >wmminichess/files/md5 << 'END-of-wmminichess/files/md5' XMD5 (miniCHESS-0.8.tar.gz) = 173422ee5651032e4d150ddc6e9f17c8 END-of-wmminichess/files/md5 echo c - wmminichess/pkg mkdir -p wmminichess/pkg > /dev/null 2>&1 echo x - wmminichess/pkg/PLIST sed 's/^X//' >wmminichess/pkg/PLIST << 'END-of-wmminichess/pkg/PLIST' Xbin/minichess Xshare/wmminichess/README Xshare/wmminichess/COPYING Xshare/wmminichess/TODO X@dirrm share/wmminichess END-of-wmminichess/pkg/PLIST echo x - wmminichess/pkg/DESCR sed 's/^X//' >wmminichess/pkg/DESCR << 'END-of-wmminichess/pkg/DESCR' XminiCHESS, or as I've christened it in this port, wmminichess, Xis a rather interesting dockapp that puts the power of gnuchess Xin a windowmaker dockapp. X XHowever, be warned: X X [quote] X X miniCHESS was born out of boredom. I warn you... if your a chess Xenthusiast and play a lot then please use xboard or some other chess Xgui. Even though miniCHESS has that kinda cool factor, it does get hard Xon the eyes. I like using miniCHESS for games in which I'm in no hurry Xto finish and go on for a couple days. Sorry but miniCHESS has no Xsave/restore features yet. X X [end quote] X XThe README in /usr/X11R6/share/wmminichess/ should explain how to Xplay. It really does a nice job of that. X XWWW: http://www.electricrain.com/edavis/miniCHESS/ XAuthor: Eric Davis <ead@pobox.com> X X- Will <andrews@technologist.com> END-of-wmminichess/pkg/DESCR echo x - wmminichess/pkg/COMMENT sed 's/^X//' >wmminichess/pkg/COMMENT << 'END-of-wmminichess/pkg/COMMENT' XWindowMaker chess dockapp game. END-of-wmminichess/pkg/COMMENT echo c - wmminichess/patches mkdir -p wmminichess/patches > /dev/null 2>&1 echo x - wmminichess/patches/patch-aa sed 's/^X//' >wmminichess/patches/patch-aa << 'END-of-wmminichess/patches/patch-aa' X--- Makefile Thu Jul 29 00:59:39 1999 X+++ Makefile.new Fri Sep 24 21:04:03 1999 X@@ -20,34 +20,43 @@ X # (See COPYING / GPL-2.0) X # X X+# PREFIX on FreeBSD X+PREFIX = /usr/X11R6 X+LOCAL = /usr/local X+ X+# Other stuff. X+SHARE_DIR = $(PREFIX)/share/wmminichess X+INSTALL_DATA = install -c -o root -g wheel -m 644 X+INSTALL_PROGRAM = install -c -s -o root -g wheel -m 755 X X # Specify the location of gnuchessx on your system. X-GNUCHESS = /usr/local/bin/gnuchessx X+GNUCHESS = $(LOCAL)/bin/gnuchessx X X # Where do you want the binary installed? X-DESTDIR = /usr/local/bin X+DESTDIR = $(PREFIX)/bin X X # What do you want to name the binary? X BIN_NAME = minichess X X-# Uncomment this line if your using Solaris. X-#SOLARIS_LIBS = -lsocket X- X-CFLAGS = -ansi -I/usr/X11R6/include X-LIBDIR = -L/usr/X11R6/lib X-LIBS = -lXpm -lXext -lX11 $(SOLARIS_LIBS) X+CFLAGS = -ansi -I$(PREFIX)/include X+LIBDIR = -L$(PREFIX)/lib X+LIBS = -lXpm -lXext -lX11 X OBJS = chess.o xgen.o X X .c.o: X gcc $(CFLAGS) -DENGINE=\"$(GNUCHESS)\" -c $< -o $*.o X X+all: $(BIN_NAME) X+ X $(BIN_NAME): $(OBJS) X gcc $(CFLAGS) -o $(BIN_NAME) $(OBJS) $(LIBDIR) $(LIBS) X X clean: X rm -f $(OBJS) $(BIN_NAME) X X-install: X- cp -f $(BIN_NAME) $(DESTDIR) X- chmod 755 $(DESTDIR)/$(BIN_NAME) X- X+install: $(BIN_NAME) X+ $(MKDIR) $(SHARE_DIR) X+ $(INSTALL_PROGRAM) $(BIN_NAME) $(DESTDIR) X+ $(INSTALL_DATA) README $(SHARE_DIR) X+ $(INSTALL_DATA) TODO $(SHARE_DIR) X+ $(INSTALL_DATA) COPYING $(SHARE_DIR) END-of-wmminichess/patches/patch-aa echo x - wmminichess/Makefile sed 's/^X//' >wmminichess/Makefile << 'END-of-wmminichess/Makefile' X# New ports collection makefile for: (wm)miniCHESS X# Version required: 0.8 X# Date created: 24 Sep 1999 X# Whom: Will Andrews <andrews@technologist.com> X# X# $FreeBSD$ X# X XDISTNAME= miniCHESS-0.8 XPKGNAME= wmminichess-0.8 XCATEGORIES= games XMASTER_SITES= http://www.electricrain.com/edavis/miniCHESS/ X XMAINTAINER= andrews@technologist.com X XLIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm XRUN_DEPENDS= ${LOCALBASE}/bin/gnuchessx:${PORTSDIR}/games/gnuchess X XUSE_GMAKE= YES XUSE_X_PREFIX= YES XMAKE_ENV= PREFIX="${PREFIX}" INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ X LOCAL="${LOCALBASE}" MKDIR="${MKDIR}" \ X INSTALL_DATA="${INSTALL_DATA}" X X.include <bsd.port.mk> END-of-wmminichess/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909250128.VAA41899>