aboutsummaryrefslogtreecommitdiff
path: root/games/wmtictactoe
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/wmtictactoe
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'games/wmtictactoe')
-rw-r--r--games/wmtictactoe/Makefile5
-rw-r--r--games/wmtictactoe/files/patch-aa4
2 files changed, 4 insertions, 5 deletions
diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile
index 0156be20c240..efc22bed7664 100644
--- a/games/wmtictactoe/Makefile
+++ b/games/wmtictactoe/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wmtictactoe
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games windowmaker afterstep
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jim
@@ -19,8 +19,7 @@ COMMENT= A dockable TicTacToe game for WindowMaker and AfterStep
PLIST_FILES= bin/wmtictactoe
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe
-USE_X_PREFIX= yes
-USE_XPM= yes
+USE_XORG= xpm
post-install:
@${ECHO} "===> Run 'wmtictactoe --help' for the available options"
diff --git a/games/wmtictactoe/files/patch-aa b/games/wmtictactoe/files/patch-aa
index 634a6e7d67b4..9a25147bab6f 100644
--- a/games/wmtictactoe/files/patch-aa
+++ b/games/wmtictactoe/files/patch-aa
@@ -4,8 +4,8 @@
-LIBDIR = -L/usr/X11R6/lib
+CC ?= gcc
+CFLAGS += -c -Wall
-+INCLUDES = -I${X11BASE}/include
-+LIBDIR = -L${X11BASE}/lib
++INCLUDES = -I${LOCALBASE}/include
++LIBDIR = -L${LOCALBASE}/lib
LIBS = -lXpm -lXext -lX11
OBJS = wmtictactoe.o ../wmgeneral/wmgeneral.o