diff options
author | Steve Price <steve@FreeBSD.org> | 1999-04-19 04:21:27 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-04-19 04:21:27 +0000 |
commit | 113c308a1bec635f1afd290f7c9c3e38b290718a (patch) | |
tree | acdbb834fa95119f6a3a3fcfddb8418aa4e78d09 /games | |
parent | 113be388dc8a81f8a61b7952d11b37d691f6303a (diff) | |
download | ports-113c308a1bec635f1afd290f7c9c3e38b290718a.tar.gz ports-113c308a1bec635f1afd290f7c9c3e38b290718a.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/xtet42/Makefile | 32 | ||||
-rw-r--r-- | games/xtet42/distinfo | 1 | ||||
-rw-r--r-- | games/xtet42/files/patch-aa | 20 | ||||
-rw-r--r-- | games/xtet42/files/patch-ab | 31 | ||||
-rw-r--r-- | games/xtet42/pkg-comment | 1 | ||||
-rw-r--r-- | games/xtet42/pkg-descr | 18 | ||||
-rw-r--r-- | games/xtet42/pkg-plist | 6 |
7 files changed, 109 insertions, 0 deletions
diff --git a/games/xtet42/Makefile b/games/xtet42/Makefile new file mode 100644 index 000000000000..84464ee23c5f --- /dev/null +++ b/games/xtet42/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: xtet42 +# Version required: 2.21 +# Date created: 14 Feb 1999 +# Whom: gmarco@scotty.masternet.it +# +# $Id$ +# + +DISTNAME= xtet42-2.21 +CATEGORIES= games +MASTER_SITES= http://www.pvv.ntnu.no/~oyvindmo/xtet42/ + +MAINTAINER= freebsd@scotty.masternet.it + +USE_X_PREFIX= yes +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --enable-setgid=games + +MAN6= xtet42.6 + +do-install: + ${MKDIR} ${PREFIX}/lib/X11/xtet42 + @chown games:games ${PREFIX}/lib/X11/xtet42 + @chmod 775 ${PREFIX}/lib/X11/xtet42 + ${INSTALL} -c -m 2755 -g games ${WRKSRC}/xtet42 ${PREFIX}/bin + ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore + ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore.single ${PREFIX}/lib/X11/xtet42/.xtet42.hiscore.single + ${INSTALL} -c -m 664 -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.unlock + ${INSTALL} -c -m 664 -g games /dev/null ${PREFIX}/lib/X11/xtet42/.xtet42.log + ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${PREFIX}/man/man6 + +.include <bsd.port.mk> diff --git a/games/xtet42/distinfo b/games/xtet42/distinfo new file mode 100644 index 000000000000..72cca0a77816 --- /dev/null +++ b/games/xtet42/distinfo @@ -0,0 +1 @@ +MD5 (xtet42-2.21.tar.gz) = 20683a78fb3a18c4493f313ee7ce3cd7 diff --git a/games/xtet42/files/patch-aa b/games/xtet42/files/patch-aa new file mode 100644 index 000000000000..a085b28b9444 --- /dev/null +++ b/games/xtet42/files/patch-aa @@ -0,0 +1,20 @@ +--- Makefile.in.orig Mon Feb 15 00:36:53 1999 ++++ Makefile.in Mon Feb 15 00:41:28 1999 +@@ -24,7 +24,7 @@ + libdir = @libdir@ + localstatedir = @localstatedir@ + mandir = @mandir@ +-hiscoredir = $(localstatedir)/$(PACKAGE) ++hiscoredir = $(PREFIX)/lib/X11/$(PACKAGE) + + _Ver = $(VERSION) + _Lock = $(hiscoredir)/.xtet42.lock +@@ -37,6 +37,8 @@ + -D_Hiscore=\"$(_Hiscore)\" -D_Hione=\"$(_Hione)\" \ + -D_Log=\"$(_Log)\" -D_Ver=\"$(_Ver)\" + ++ ++all: xtet42 + + xtet42: $(OBJS) + $(CC) $(LDFLAGS) -o xtet42 $(OBJS) diff --git a/games/xtet42/files/patch-ab b/games/xtet42/files/patch-ab new file mode 100644 index 000000000000..34d979a68251 --- /dev/null +++ b/games/xtet42/files/patch-ab @@ -0,0 +1,31 @@ +--- xtet42.c.orig Mon Feb 15 00:37:09 1999 ++++ xtet42.c Mon Feb 15 00:39:51 1999 +@@ -67,23 +67,23 @@ + #endif + + #ifndef _Lock +-#define _Lock "/local/games/lib/xtet42/.xtet42.lock" ++#define _Lock "/usr/X11R6/lib/X11/xtet42/.xtet42.lock" + #endif + + #ifndef _Unlock +-#define _Unlock "/local/games/lib/xtet42/.xtet42.unlock" ++#define _Unlock "/usr/X11R6/lib/X11/xtet42/.xtet42.unlock" + #endif + + #ifndef _Log +-#define _Log "/local/games/lib/xtet42/.xtet42.log" ++#define _Log "/usr/X11R6/lib/X11/xtet42/.xtet42.log" + #endif + + #ifndef _Hiscore +-#define _Hiscore "/local/games/lib/xtet42/.xtet42.hiscore" ++#define _Hiscore "/usr/X11R6/lib/X11/xtet42/.xtet42.hiscore" + #endif + + #ifndef _Hione +-#define _Hione "/local/games/lib/xtet42/.xtet42.hiscore.single" ++#define _Hione "/usr/X11R6/lib/X11/xtet42/.xtet42.hiscore.single" + #endif + + static int bricks[7][4][4][4]= diff --git a/games/xtet42/pkg-comment b/games/xtet42/pkg-comment new file mode 100644 index 000000000000..57ee7a849c0c --- /dev/null +++ b/games/xtet42/pkg-comment @@ -0,0 +1 @@ +A one or two player t*tris game. diff --git a/games/xtet42/pkg-descr b/games/xtet42/pkg-descr new file mode 100644 index 000000000000..db2e68fa3a07 --- /dev/null +++ b/games/xtet42/pkg-descr @@ -0,0 +1,18 @@ +Xtet42 is a one or two player version of T*tris. The game was written +by Hugo Eide Gunnarsen in 1991. The game is very fun and very +addictive. It is also astonishingly pretty to be an old X11-game. + +In january 1999 I picked up the code to get rid of a few bugs and +limitations that annoyed me. I also converted the build-mechanism to +GNU autoconf. + +The result is xtet42-2.21. + +Please report bugs to : Steinar Hamre <steinarh@pvv.ntnu.no> + +--- + +Homepage: http://www.pvv.ntnu.no/~oyvindmo/xtet42 +Distfile : xtet42-2.21.tar.gz (38kb) + +- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it) diff --git a/games/xtet42/pkg-plist b/games/xtet42/pkg-plist new file mode 100644 index 000000000000..200c93a59621 --- /dev/null +++ b/games/xtet42/pkg-plist @@ -0,0 +1,6 @@ +bin/xtet42 +lib/X11/xtet42/.xtet42.hiscore.single +lib/X11/xtet42/.xtet42.hiscore +lib/X11/xtet42/.xtet42.unlock +lib/X11/xtet42/.xtet42.log +@dirrm lib/X11/xtet42 |