aboutsummaryrefslogtreecommitdiff
path: root/games/xfrisk
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-05-30 03:28:00 +0000
committerWill Andrews <will@FreeBSD.org>2000-05-30 03:28:00 +0000
commite3f6835c0d5344b8b57a26181ba4377d59139932 (patch)
treef7e6b1916172a1b34d58b8f9bbdc8f43a933c4bb /games/xfrisk
parent64592fa05fb58c1338f6ca81be68a4bc90d76cfc (diff)
downloadports-e3f6835c0d5344b8b57a26181ba4377d59139932.tar.gz
ports-e3f6835c0d5344b8b57a26181ba4377d59139932.zip
Notes
Diffstat (limited to 'games/xfrisk')
-rw-r--r--games/xfrisk/Makefile15
-rw-r--r--games/xfrisk/distinfo2
-rw-r--r--games/xfrisk/files/patch-ab30
-rw-r--r--games/xfrisk/pkg-plist12
4 files changed, 46 insertions, 13 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index e9c389934b28..59d84c68949f 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -6,20 +6,21 @@
#
PORTNAME= xfrisk
-PORTVERSION= 1.00
+PORTVERSION= 1.2
CATEGORIES= games
-MASTER_SITES= $(MASTER_SITE_XCONTRIB)
-MASTER_SITE_SUBDIR= games/multiplayer
+MASTER_SITES= http://cvs.morphy.iki.fi/xfrisk/
DISTNAME= XFrisk-${PORTVERSION}
MAINTAINER= mph@freebsd.org
+LIB_DEPENDS= Xaw.6:${PORTSDIR}/x11-toolkits/Xaw3d
+
NO_CDROM= Possible trademark infringement
-USE_IMAKE= yes
+USE_X_PREFIX= yes
NO_INSTALL_MANPAGES= yes
-
-pre-configure:
- ${TOUCH} ${WRKSRC}/types.h
+WRKSRC= ${WRKDIR}/XFrisk
+USE_GMAKE= yes
+MAKE_ENV+= XDIR=${X11BASE}
.include <bsd.port.mk>
diff --git a/games/xfrisk/distinfo b/games/xfrisk/distinfo
index 7a5b3dd1fd55..c95f9b7f1e4e 100644
--- a/games/xfrisk/distinfo
+++ b/games/xfrisk/distinfo
@@ -1 +1 @@
-MD5 (XFrisk-1.00.tar.gz) = 76103b260e497ff5458a7121b0d974e0
+MD5 (XFrisk-1.2.tar.gz) = 1413bb21b0a886dde454462aaaa088d4
diff --git a/games/xfrisk/files/patch-ab b/games/xfrisk/files/patch-ab
new file mode 100644
index 000000000000..c954fd6ac92d
--- /dev/null
+++ b/games/xfrisk/files/patch-ab
@@ -0,0 +1,30 @@
+--- Makefile Sun Jan 23 14:01:55 2000
++++ Makefile.new Mon May 29 23:12:10 2000
+@@ -55,9 +55,9 @@
+ ####################
+ # C compiler options
+ # GNU gcc is recommended.
+-CC=gcc
++CC?=gcc
+ # Use these with gcc
+-CFLAGS=-g -Wall -W -fno-common -pedantic
++CFLAGS+= -Wall -W -fno-common -pedantic
+
+ # If you don't have gcc, don't use -Wall -W -fno-common
+ #CFLAGS=-g
+@@ -81,13 +81,13 @@
+
+ ## Installation prefix
+ # Adjust to taste. Stuff gets installed here.
+-PREFIX=/usr/local
++PREFIX?=/usr/local
+ #PREFIX=/usr/local/X11
+
+ ## X11 location and options
+ # for X11R6
+ # Point this at your X tree.
+-XDIR=/usr/X11R6
++XDIR?=/usr/X11R6
+ #XDIR=/usr/local/X11
+ #XDIR=/usr/openwin
+
diff --git a/games/xfrisk/pkg-plist b/games/xfrisk/pkg-plist
index ed12e508f38f..5b09975639c3 100644
--- a/games/xfrisk/pkg-plist
+++ b/games/xfrisk/pkg-plist
@@ -1,8 +1,10 @@
bin/friskserver
bin/risk
bin/xfrisk
-lib/X11/app-defaults/XFrisk
-lib/X11/xfrisk/Help.risk
-lib/X11/xfrisk/Countries.risk
-lib/X11/xfrisk/World.risk
-@dirrm lib/X11/xfrisk
+bin/aiDummy
+bin/aiConway
+bin/aiColson
+lib/xfrisk/World.risk
+lib/xfrisk/Countries.risk
+lib/xfrisk/Help.risk
+@dirrm lib/xfrisk