aboutsummaryrefslogtreecommitdiff
path: root/games/xmines
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /games/xmines
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
Notes
Diffstat (limited to 'games/xmines')
-rw-r--r--games/xmines/Makefile4
-rw-r--r--games/xmines/files/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index d9c7b9229221..20fa6b200587 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xmines
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
@@ -16,7 +16,7 @@ DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Minesweeper game for the X Window System
-USE_X_PREFIX= yes
+USE_XORG= x11 xt
post-install:
.if !defined(NOPORTDOCS)
diff --git a/games/xmines/files/patch-aa b/games/xmines/files/patch-aa
index b31bdc3f5e28..d1543859aee3 100644
--- a/games/xmines/files/patch-aa
+++ b/games/xmines/files/patch-aa
@@ -12,8 +12,8 @@
-SCOREFILES = /usr/X386/lib/X11/games
+CFLAGS += -DSCOREfILE=\"$(SCOREFILES)/scores\"
+CC ?= gcc
-+INCLUDE = ${X11BASE}/include
-+LIBRARY = ${X11BASE}/lib
++INCLUDE = ${LOCALBASE}/include
++LIBRARY = ${LOCALBASE}/lib
+BIN = ${PREFIX}/bin
+SCOREFILES = ${PREFIX}/share/xmines