aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/gretools/Makefile5
-rw-r--r--games/gretools/pkg-plist10
2 files changed, 7 insertions, 8 deletions
diff --git a/games/gretools/Makefile b/games/gretools/Makefile
index 5bc0baf67536..854afb715a3c 100644
--- a/games/gretools/Makefile
+++ b/games/gretools/Makefile
@@ -13,14 +13,13 @@ COMMENT= GNOME vocabulary builder
LICENSE= GPLv2
-USES= pathfix pkgconfig
+USES= gmake pathfix pkgconfig shebangfix
+SHEBANG_FILES= ${WRKSRC}/gretools.py
USE_GNOME= gnomeprefix pygnome2
USE_PYTHON= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/python -t|/usr/bin/env python|g ; \
s|@prefix@|${LOCALBASE}|g ; s|@share@|share|g' \
diff --git a/games/gretools/pkg-plist b/games/gretools/pkg-plist
index ed74ae18bb9a..0f1eec4c7a20 100644
--- a/games/gretools/pkg-plist
+++ b/games/gretools/pkg-plist
@@ -4,8 +4,8 @@ bin/gretools
%%PYTHON_SITELIBDIR%%/gretools/gretools.pyc
%%PYTHON_SITELIBDIR%%/gretools/gretools.pyo
share/applications/gretools.desktop
-share/gretools/glade/gretools.glade
-share/gretools/lists/default.wl
+%%DATADIR%%/glade/gretools.glade
+%%DATADIR%%/lists/default.wl
share/gnome/help/gretools/C/figures/gretools_start_window.png
share/gnome/help/gretools/C/gretools.xml
share/gnome/help/gretools/C/legal.xml
@@ -15,9 +15,9 @@ share/pixmaps/gretools.png
@dirrm share/gnome/help/gretools/C/figures
@dirrm share/gnome/help/gretools/C
@dirrm share/gnome/help/gretools
-@dirrm share/gretools/lists
-@dirrm share/gretools/glade
-@dirrm share/gretools
+@dirrm %%DATADIR%%/lists
+@dirrm %%DATADIR%%/glade
+@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/gretools
@dirrmtry %%PYTHON_SITELIBDIR%%
@dirrmtry %%PYTHON_LIBDIR%%