summaryrefslogtreecommitdiff
path: root/games/xfreecell
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-12-22 21:17:25 +0000
committerhubertf <hubertf>2001-12-22 21:17:25 +0000
commit27674a6f3827d709617f989cf57732048572569c (patch)
tree9c190a484cb9ecbceeece938149713278da2877d /games/xfreecell
parent7e1939435679ed7ec5864a5ca628597349da9f16 (diff)
downloadpkgsrc-27674a6f3827d709617f989cf57732048572569c.tar.gz
Add xfreecell-1.0.5b
Submitted by Chris Ewert <chris@infolaunch.com> in PR 15036 This is a version of the popular one-player freecell card game for X.
Diffstat (limited to 'games/xfreecell')
-rw-r--r--games/xfreecell/DESCR2
-rw-r--r--games/xfreecell/Makefile18
-rw-r--r--games/xfreecell/PLIST3
-rw-r--r--games/xfreecell/distinfo6
-rw-r--r--games/xfreecell/patches/patch-aa37
-rw-r--r--games/xfreecell/patches/patch-ab21
6 files changed, 87 insertions, 0 deletions
diff --git a/games/xfreecell/DESCR b/games/xfreecell/DESCR
new file mode 100644
index 00000000000..f0e6f686201
--- /dev/null
+++ b/games/xfreecell/DESCR
@@ -0,0 +1,2 @@
+This is a version of the popular one-player freecell card game
+for X.
diff --git a/games/xfreecell/Makefile b/games/xfreecell/Makefile
new file mode 100644
index 00000000000..5af4e2a41c6
--- /dev/null
+++ b/games/xfreecell/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+DISTNAME= xfreecell-1.0.5b
+CATEGORIES= games
+MASTER_SITES= http://www2.giganet.net/~nakayama/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= chris@infolaunch.com
+HOMEPAGE= http://www2.giganet.net/~nakayama/
+COMMENT= Popular freecell card game for X
+
+USE_X11BASE= yes
+WRKSRC= ${WRKDIR}/xfreecell
+MAKEFILE= makefile
+
+NO_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xfreecell/PLIST b/games/xfreecell/PLIST
new file mode 100644
index 00000000000..c1ba4048d83
--- /dev/null
+++ b/games/xfreecell/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+bin/xfreecell
+man/man6/xfreecell.6
diff --git a/games/xfreecell/distinfo b/games/xfreecell/distinfo
new file mode 100644
index 00000000000..e26d3461b96
--- /dev/null
+++ b/games/xfreecell/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+SHA1 (xfreecell-1.0.5b.tgz) = b0453b09ea2211822a5f03f532097c9eb14db2a6
+Size (xfreecell-1.0.5b.tgz) = 49367 bytes
+SHA1 (patch-aa) = 9ae72142536bac8feb8e1ae1576cf56c2f30ae55
+SHA1 (patch-ab) = 5cdece49362d32b1673180268ffc2d4eb5bdfe6a
diff --git a/games/xfreecell/patches/patch-aa b/games/xfreecell/patches/patch-aa
new file mode 100644
index 00000000000..4a89188f7f4
--- /dev/null
+++ b/games/xfreecell/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+--- makefile.orig Sat Apr 3 15:42:49 1999
++++ makefile
+@@ -1,10 +1,10 @@
+ OBJECTS=card.o freecell.o option.o stack.o subwindows.o undo.o util.o gnmanager.o random.o
+ CC=g++
+-CFLAGS=-g -Wall -DSHAPE -DBOGUSRANDOM
+-LIBS=-lm -L. -lns -L/usr/X11R6/lib -lXext -lX11
++CFLAGS=-Wall -DSHAPE -DBOGUSRANDOM -I${X11BASE}/include
++LIBS=-lm -L. -lns -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXext -lX11
+ STATICDIR=xfreecell-static
+ DOCS=README CHANGES mshuffle.txt xfreecell.6
+-LIBDIR=/usr/local/lib/xfreecell
++LIBDIR=${PREFIX}/lib/xfreecell
+
+ all: $(OBJECTS) lib
+ $(CC) -o xfreecell $(CFLAGS) $(OBJECTS) $(LIBS)
+@@ -25,13 +25,13 @@
+
+ clean:
+ rm -f *~ *.o a.out xfreecell libns.a
+- make -C widget clean
++ gmake -C widget clean
+
+ lib:
+- make -C widget lib
++ gmake -C widget lib
+
+ install: all
+- install xfreecell $(DESTDIR)/usr/local/bin
+- install xfreecell.6 $(DESTDIR)/usr/local/man/man6
++ install xfreecell $(DESTDIR)${PREFIX}/bin
++ install xfreecell.6 $(DESTDIR)${PREFIX}/man/man6
+ # install -d $(LIBDIR)
+-# install ms-compatible/MSNumbers $(DESTDIR)/usr/local/lib/xfreecell
++# install ms-compatible/MSNumbers $(DESTDIR)${PREFIX}/lib/xfreecell
diff --git a/games/xfreecell/patches/patch-ab b/games/xfreecell/patches/patch-ab
new file mode 100644
index 00000000000..0f583841292
--- /dev/null
+++ b/games/xfreecell/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+*** widget/makefile.orig Sun Aug 5 11:10:13 2001
+--- widget/makefile Sun Aug 5 10:49:28 2001
+***************
+*** 1,7 ****
+ OBJECTS=window.o plate.o string.o button.o label.o textfield.o container.o frame.o util.o scrollbar.o font.o main.o
+ #C=/usr/local/gcc-2.8.1/bin/g++
+ CC=g++
+! CFLAGS=-g -Wall
+ LIBS=-L/usr/X11R6/lib -lX11
+ LIBNAME=libns.a
+
+--- 1,7 ----
+ OBJECTS=window.o plate.o string.o button.o label.o textfield.o container.o frame.o util.o scrollbar.o font.o main.o
+ #C=/usr/local/gcc-2.8.1/bin/g++
+ CC=g++
+! CFLAGS=-g -Wall -I/usr/X11R6/include
+ LIBS=-L/usr/X11R6/lib -lX11
+ LIBNAME=libns.a
+