summaryrefslogtreecommitdiff
path: root/games/gtetrinet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gtetrinet/Makefile')
-rw-r--r--games/gtetrinet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index 10108f951eea..5dccc8912ed5 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -12,11 +12,13 @@ MASTER_SITE_SUBDIR= gtetrinet
MAINTAINER= bugg@bugg.strangled.net
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
-GTK_CONFIG= "${X11BASE}/bin/gtk12-config"
+USE_X_PREFIX= yes
USE_GMAKE= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
+USE_GNOME= yes
GNU_CONFIGURE= yes
+pre-patch:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
+
.include <bsd.port.mk>