diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-18 19:48:20 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-08-18 19:48:20 +0000 |
commit | 013a99fe9da03bb4f0ad631cfc54af1edbc01db6 (patch) | |
tree | ded66ff4dc09d55ded7d88c9e2c07042438b9123 /games/xmines | |
parent | MASTER_SITE update (diff) |
Imp[ort of xmines.
Xmines is yet another minesweeper-type game for the X
window system.
PR: 13221
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes:
svn path=/head/; revision=20793
Diffstat (limited to 'games/xmines')
-rw-r--r-- | games/xmines/Makefile | 25 | ||||
-rw-r--r-- | games/xmines/distinfo | 1 | ||||
-rw-r--r-- | games/xmines/files/patch-aa | 41 | ||||
-rw-r--r-- | games/xmines/files/patch-ab | 11 | ||||
-rw-r--r-- | games/xmines/pkg-comment | 1 | ||||
-rw-r--r-- | games/xmines/pkg-descr | 1 | ||||
-rw-r--r-- | games/xmines/pkg-plist | 7 |
7 files changed, 87 insertions, 0 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile new file mode 100644 index 000000000000..d40c7ef62c3d --- /dev/null +++ b/games/xmines/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: xmines +# Version required: 1.0 +# Date created: 18 August 1999 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= xmines +PKGNAME= xmines-1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= games/strategy + +MAINTAINER= andy@icc.surw.chel.su + +USE_X_PREFIX= yes + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/xmines + @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmines +.endif + +.include <bsd.port.mk> diff --git a/games/xmines/distinfo b/games/xmines/distinfo new file mode 100644 index 000000000000..760e4fa4b0b2 --- /dev/null +++ b/games/xmines/distinfo @@ -0,0 +1 @@ +MD5 (xmines.tar.gz) = ffad10ec9b09ed61093d15b0cf79367f diff --git a/games/xmines/files/patch-aa b/games/xmines/files/patch-aa new file mode 100644 index 000000000000..32068aeb0f3b --- /dev/null +++ b/games/xmines/files/patch-aa @@ -0,0 +1,41 @@ +--- Makefile Fri Dec 3 17:22:38 1993 ++++ /home/andy/tmp/wrk/Makefile Wed Aug 18 13:51:45 1999 +@@ -3,20 +3,20 @@ + # + # make clean removes all temporary files. + +-CFLAGS = -O +-CC = gcc +-INCLUDE = /usr/X386/include +-LIBRARY = /usr/X386/lib +-BIN = /usr/X386/bin +-SCOREFILES = /usr/X386/lib/X11/games ++#CFLAGS = -O ++CC ?= gcc ++INCLUDE = ${X11BASE}/include ++LIBRARY = ${X11BASE}/lib ++BIN = ${X11BASE}/bin ++SCOREFILES = ${X11BASE}/share/xmines + + .c.o: + $(CC) $(CFLAGS) -I $(INCLUDE) -c $< + +-all: xbombs ++all: xmines + +-xbombs: xmines.o X11.o score.o +- $(CC) -L $(LIBRARY) -o xbombs xmines.o score.o X11.o -lX11 ++xmines: xmines.o X11.o score.o ++ $(CC) -L $(LIBRARY) -o xmines xmines.o score.o X11.o -lX11 + + X11.o: covered.pat flag.pat gray.pat highlight.pat marked.pat mine.pat ohno.pat shades.pat smiley.pat uncovered.pat uncoveredcolor.pat + +@@ -24,5 +24,6 @@ + rm -f *.o + + install: +- install -g games -o games -m 0664 scores/scores $(SCOREFILES)/xbomb-scores +- install -g games -o games -m 2755 xbombs $(BIN) ++ mkdir -p $(SCOREFILES) ++ install -g games -o games -m 0666 scores/scores $(SCOREFILES)/scores ++ install -g games -o games -m 0755 xmines $(BIN) diff --git a/games/xmines/files/patch-ab b/games/xmines/files/patch-ab new file mode 100644 index 000000000000..6661c8c59f6e --- /dev/null +++ b/games/xmines/files/patch-ab @@ -0,0 +1,11 @@ +--- score.c Fri Dec 3 17:18:35 1993 ++++ /home/andy/tmp/wrk/score.c Wed Aug 18 13:21:33 1999 +@@ -6,7 +6,7 @@ + + + FILE *scoreFile; +-#define SCOREfILE "/usr/X386/lib/X11/games/xbomb-scores" ++#define SCOREfILE "/usr/X11R6/share/xmines/scores" + #define NUMsCORES 10 + #define NAMEsIZE 50 + #define SCOREfORMAT "%5d %s\n" diff --git a/games/xmines/pkg-comment b/games/xmines/pkg-comment new file mode 100644 index 000000000000..ffd0aec77e3f --- /dev/null +++ b/games/xmines/pkg-comment @@ -0,0 +1 @@ +Minesweeper game for the X Window System diff --git a/games/xmines/pkg-descr b/games/xmines/pkg-descr new file mode 100644 index 000000000000..2f6046a58ac3 --- /dev/null +++ b/games/xmines/pkg-descr @@ -0,0 +1 @@ +Minesweeper-like game for the X Window System diff --git a/games/xmines/pkg-plist b/games/xmines/pkg-plist new file mode 100644 index 000000000000..67a155451717 --- /dev/null +++ b/games/xmines/pkg-plist @@ -0,0 +1,7 @@ +bin/xmines +@mode 666 +share/xmines/scores +@mode +share/doc/xmines/README +@dirrm share/doc/xmines +@dirrm share/xmines |