aboutsummaryrefslogtreecommitdiff
path: root/games/wmfortune
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/wmfortune
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'games/wmfortune')
-rw-r--r--games/wmfortune/Makefile5
-rw-r--r--games/wmfortune/files/patch-Makefile4
2 files changed, 4 insertions, 5 deletions
diff --git a/games/wmfortune/Makefile b/games/wmfortune/Makefile
index f2da82ee2b52..6d186bebe125 100644
--- a/games/wmfortune/Makefile
+++ b/games/wmfortune/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wmfortune
PORTVERSION= 0.241
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games windowmaker afterstep
MASTER_SITES= http://dockapps.org/files/90/128/
@@ -16,8 +16,7 @@ COMMENT= A dockapp that outputs fortune messages
PLIST_FILES= bin/wmfortune
USE_GMAKE= yes
-USE_XPM= yes
-USE_X_PREFIX= yes
+USE_XORG= xpm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmfortune ${PREFIX}/bin
diff --git a/games/wmfortune/files/patch-Makefile b/games/wmfortune/files/patch-Makefile
index b90d32a36b73..45e2de14aaae 100644
--- a/games/wmfortune/files/patch-Makefile
+++ b/games/wmfortune/files/patch-Makefile
@@ -8,8 +8,8 @@ $FreeBSD$
-############################
+CC ?= gcc
+CFLAGS += -c -Wall
-+INCDIR = -I${X11BASE}/include -I/usr/local/include
-+LIBDIR = -L${X11BASE}/lib
++INCDIR = -I${LOCALBASE}/include -I/usr/local/include
++LIBDIR = -L${LOCALBASE}/lib
+LIBS = -lXpm -lXext -lX11
+OBJS = wmfortune.o dockapp.o