aboutsummaryrefslogtreecommitdiffstats
path: root/games/gtetrinet
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:10:50 +0800
commit30fb8569371544b140cbfbe9d8d545a551b7a815 (patch)
treecf43db91e2cefcf20de68716f427d533c59601f6 /games/gtetrinet
parentcea38f8422a3eeac06b3ce4a5828580a5812d2cc (diff)
downloadfreebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.gz
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.tar.zst
freebsd-ports-gnome-30fb8569371544b140cbfbe9d8d545a551b7a815.zip
Implement USE_GNOME, part 1.
Diffstat (limited to 'games/gtetrinet')
-rw-r--r--games/gtetrinet/Makefile10
-rw-r--r--games/gtetrinet/pkg-plist12
2 files changed, 12 insertions, 10 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>
diff --git a/games/gtetrinet/pkg-plist b/games/gtetrinet/pkg-plist
index ecafe1e1e841..422a50138895 100644
--- a/games/gtetrinet/pkg-plist
+++ b/games/gtetrinet/pkg-plist
@@ -1,8 +1,8 @@
bin/gtetrinet
-share/gtetrinet/themes/default/blocks.png
-share/gtetrinet/themes/default/theme.cfg
-share/pixmaps/gtetrinet.png
+share/gnome/gtetrinet/themes/default/blocks.png
+share/gnome/gtetrinet/themes/default/theme.cfg
+share/gnome/pixmaps/gtetrinet.png
share/gnome/apps/Games/gtetrinet.desktop
-@dirrm share/gtetrinet/themes/default
-@dirrm share/gtetrinet/themes
-@dirrm share/gtetrinet
+@dirrm share/gnome/gtetrinet/themes/default
+@dirrm share/gnome/gtetrinet/themes
+@dirrm share/gnome/gtetrinet