- Use shebangfix

- Convert USE_GMAKE to USES
- Add stage support
This commit is contained in:
Danilo Egea Gondolfo 2013-11-16 02:32:56 +00:00
parent d5cca333e6
commit f936dcf1d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333969
2 changed files with 7 additions and 8 deletions

View file

@ -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' \

View file

@ -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%%