aboutsummaryrefslogtreecommitdiffstats
path: root/games/gretools
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-16 10:32:56 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-16 10:32:56 +0800
commitf3ec22a4c899b84a6f5c475449b5224de1dfbb93 (patch)
treee8b78a65552bf197db0db6fce3e9c538be846a35 /games/gretools
parentbafc5ccfbcd68d455935b491e96c8a32359a4b71 (diff)
downloadfreebsd-ports-gnome-f3ec22a4c899b84a6f5c475449b5224de1dfbb93.tar.gz
freebsd-ports-gnome-f3ec22a4c899b84a6f5c475449b5224de1dfbb93.tar.zst
freebsd-ports-gnome-f3ec22a4c899b84a6f5c475449b5224de1dfbb93.zip
- Use shebangfix
- Convert USE_GMAKE to USES - Add stage support
Diffstat (limited to 'games/gretools')
-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%%