diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/wesnoth/Makefile | 6 | ||||
-rw-r--r-- | games/wesnoth/pkg-plist | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile index e4b2adc65..1483a9691 100644 --- a/games/wesnoth/Makefile +++ b/games/wesnoth/Makefile @@ -7,7 +7,7 @@ PORTNAME= wesnoth PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://www.wesnoth.org/files/ @@ -110,8 +110,8 @@ pre-everything:: .endif post-patch: - @${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${X11BASE}/share/gnome/applications|g ; \ - s|[$$][(]datadir[)]/icons|${X11BASE}/share/gnome/pixmaps|g' \ + @${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${LOCALBASE}/share/gnome/applications|g ; \ + s|[$$][(]datadir[)]/icons|${LOCALBASE}/share/gnome/pixmaps|g' \ ${WRKSRC}/icons/Makefile.in .include <bsd.port.post.mk> diff --git a/games/wesnoth/pkg-plist b/games/wesnoth/pkg-plist index c5d880d4d..b495531ad 100644 --- a/games/wesnoth/pkg-plist +++ b/games/wesnoth/pkg-plist @@ -4021,6 +4021,7 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo @dirrmtry man/hu @dirrmtry man/de/man6 @dirrmtry man/de +%%GNOME:%%@cwd %%LOCALBASE%% %%GNOME:%%share/gnome/applications/wesnoth.desktop %%GNOME:%%share/gnome/pixmaps/wesnoth-icon.png %%KDE:%%@cwd %%LOCALBASE%% |