Date: Wed, 18 Aug 1999 14:12:17 +0400 (MSD) From: Andrey Zakhvatov <andy@icc.surw.chel.su> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13221: New port: xmines-1.0 Message-ID: <199908181012.OAA01321@icc.surw.chel.su>
next in thread | raw e-mail | index | archive | help
>Number: 13221 >Category: ports >Synopsis: New port: xmines-1.0 >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: Wed Aug 18 03:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Andrey Zakhvatov >Release: FreeBSD 3.1-RELEASE i386 >Organization: South Ural Railway ICC >Environment: >Description: This is a port of xmines-1.0, yet another minesweeper game for X Window System. # 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: # # xmines-1.0 # xmines-1.0/Makefile # xmines-1.0/files # xmines-1.0/files/md5 # xmines-1.0/patches # xmines-1.0/patches/patch-aa # xmines-1.0/patches/patch-ab # xmines-1.0/pkg # xmines-1.0/pkg/PLIST # xmines-1.0/pkg/COMMENT # xmines-1.0/pkg/DESCR # echo c - xmines-1.0 mkdir -p xmines-1.0 > /dev/null 2>&1 echo x - xmines-1.0/Makefile sed 's/^X//' >xmines-1.0/Makefile << 'END-of-xmines-1.0/Makefile' X# New ports collection makefile for: xmines X# Version required: 1.0 X# Date created: 18 August 1999 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= xmines XPKGNAME= xmines-1.0 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= games/strategy X XMAINTAINER= andy@icc.surw.chel.su X XUSE_X_PREFIX= yes X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/xmines X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmines X.endif X X.include <bsd.port.mk> END-of-xmines-1.0/Makefile echo c - xmines-1.0/files mkdir -p xmines-1.0/files > /dev/null 2>&1 echo x - xmines-1.0/files/md5 sed 's/^X//' >xmines-1.0/files/md5 << 'END-of-xmines-1.0/files/md5' XMD5 (xmines.tar.gz) = ffad10ec9b09ed61093d15b0cf79367f END-of-xmines-1.0/files/md5 echo c - xmines-1.0/patches mkdir -p xmines-1.0/patches > /dev/null 2>&1 echo x - xmines-1.0/patches/patch-aa sed 's/^X//' >xmines-1.0/patches/patch-aa << 'END-of-xmines-1.0/patches/patch-aa' X--- Makefile Fri Dec 3 17:22:38 1993 X+++ /home/andy/tmp/wrk/Makefile Wed Aug 18 13:51:45 1999 X@@ -3,20 +3,20 @@ X # X # make clean removes all temporary files. X X-CFLAGS = -O X-CC = gcc X-INCLUDE = /usr/X386/include X-LIBRARY = /usr/X386/lib X-BIN = /usr/X386/bin X-SCOREFILES = /usr/X386/lib/X11/games X+#CFLAGS = -O X+CC ?= gcc X+INCLUDE = ${X11BASE}/include X+LIBRARY = ${X11BASE}/lib X+BIN = ${X11BASE}/bin X+SCOREFILES = ${X11BASE}/share/xmines X X .c.o: X $(CC) $(CFLAGS) -I $(INCLUDE) -c $< X X-all: xbombs X+all: xmines X X-xbombs: xmines.o X11.o score.o X- $(CC) -L $(LIBRARY) -o xbombs xmines.o score.o X11.o -lX11 X+xmines: xmines.o X11.o score.o X+ $(CC) -L $(LIBRARY) -o xmines xmines.o score.o X11.o -lX11 X X X11.o: covered.pat flag.pat gray.pat highlight.pat marked.pat mine.pat ohno.pat shades.pat smiley.pat uncovered.pat uncoveredcolor.pat X X@@ -24,5 +24,6 @@ X rm -f *.o X X install: X- install -g games -o games -m 0664 scores/scores $(SCOREFILES)/xbomb-scores X- install -g games -o games -m 2755 xbombs $(BIN) X+ mkdir -p $(SCOREFILES) X+ install -g games -o games -m 0666 scores/scores $(SCOREFILES)/scores X+ install -g games -o games -m 0755 xmines $(BIN) END-of-xmines-1.0/patches/patch-aa echo x - xmines-1.0/patches/patch-ab sed 's/^X//' >xmines-1.0/patches/patch-ab << 'END-of-xmines-1.0/patches/patch-ab' X--- score.c Fri Dec 3 17:18:35 1993 X+++ /home/andy/tmp/wrk/score.c Wed Aug 18 13:21:33 1999 X@@ -6,7 +6,7 @@ X X X FILE *scoreFile; X-#define SCOREfILE "/usr/X386/lib/X11/games/xbomb-scores" X+#define SCOREfILE "/usr/X11R6/share/xmines/scores" X #define NUMsCORES 10 X #define NAMEsIZE 50 X #define SCOREfORMAT "%5d %s\n" END-of-xmines-1.0/patches/patch-ab echo c - xmines-1.0/pkg mkdir -p xmines-1.0/pkg > /dev/null 2>&1 echo x - xmines-1.0/pkg/PLIST sed 's/^X//' >xmines-1.0/pkg/PLIST << 'END-of-xmines-1.0/pkg/PLIST' Xbin/xmines X@mode 666 Xshare/xmines/scores X@mode Xshare/doc/xmines/README X@dirrm share/doc/xmines X@dirrm share/xmines END-of-xmines-1.0/pkg/PLIST echo x - xmines-1.0/pkg/COMMENT sed 's/^X//' >xmines-1.0/pkg/COMMENT << 'END-of-xmines-1.0/pkg/COMMENT' XMinesweeper game for X Window System END-of-xmines-1.0/pkg/COMMENT echo x - xmines-1.0/pkg/DESCR sed 's/^X//' >xmines-1.0/pkg/DESCR << 'END-of-xmines-1.0/pkg/DESCR' Xminesweep-like minesweeper game for X Window System END-of-xmines-1.0/pkg/DESCR exit >How-To-Repeat: >Fix: Please, check and commit this port. >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?199908181012.OAA01321>