aboutsummaryrefslogtreecommitdiff
path: root/games/mindguard
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:36:23 +0000
commitfda2e985daa21bcac7cf4e4882e560933d7ad5e8 (patch)
tree4ccb4a868e97ff347416395233e3825776b24951 /games/mindguard
parentd0cdca8bc326260560504ebb5d4b206942ca5125 (diff)
downloadports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.tar.gz
ports-fda2e985daa21bcac7cf4e4882e560933d7ad5e8.zip
Implement USE_GTK, part 1.
Notes
Notes: svn path=/head/; revision=33424
Diffstat (limited to 'games/mindguard')
-rw-r--r--games/mindguard/Makefile4
-rw-r--r--games/mindguard/files/patch-aa2
2 files changed, 3 insertions, 3 deletions
diff --git a/games/mindguard/Makefile b/games/mindguard/Makefile
index 7704dd8611c7..aef04d914bc9 100644
--- a/games/mindguard/Makefile
+++ b/games/mindguard/Makefile
@@ -13,9 +13,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= kris@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
-
USE_X_PREFIX= yes
+USE_GTK= yes
ALL_TARGET= # empty
@@ -45,4 +44,5 @@ do-install:
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/docs/$i ${X11BASE}/share/doc/mindguard
.endfor
+
.include <bsd.port.mk>
diff --git a/games/mindguard/files/patch-aa b/games/mindguard/files/patch-aa
index 53fdc5a311d7..2c37e8732b71 100644
--- a/games/mindguard/files/patch-aa
+++ b/games/mindguard/files/patch-aa
@@ -9,7 +9,7 @@
mindguard: mindguard.c
- $(CC) `gtk-config --cflags` mindguard.c -o mindguard `gtk-config --libs`
-+ $(CC) -DX11BASE=\"${X11BASE}\" `${X11BASE}/bin/gtk12-config --cflags` ${CFLAGS} mindguard.c -o mindguard `${X11BASE}/bin/gtk12-config --libs`
++ $(CC) -DX11BASE=\"${X11BASE}\" `${GTK_CONFIG} --cflags` ${CFLAGS} mindguard.c -o mindguard `${GTK_CONFIG} --libs`
clean:
rm -f mindguard