aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2010-05-17 01:27:04 +0800
committernork <nork@FreeBSD.org>2010-05-17 01:27:04 +0800
commit6d07a9a504a8df09ab5fab4e74719838f12c5a75 (patch)
tree550e14e64b068c1b7323ea6211784db8f6c30ca6 /audio
parent42613819b027a11560f4e09820d308632d5217fa (diff)
downloadfreebsd-ports-gnome-6d07a9a504a8df09ab5fab4e74719838f12c5a75.tar.gz
freebsd-ports-gnome-6d07a9a504a8df09ab5fab4e74719838f12c5a75.tar.zst
freebsd-ports-gnome-6d07a9a504a8df09ab5fab4e74719838f12c5a75.zip
Fix locale dir, so re-enable language files on de, sv, tr and zh_TW.
Diffstat (limited to 'audio')
-rw-r--r--audio/gimmix/Makefile4
-rw-r--r--audio/gimmix/pkg-plist26
2 files changed, 16 insertions, 14 deletions
diff --git a/audio/gimmix/Makefile b/audio/gimmix/Makefile
index 08582a2c6530..137a4d923f7d 100644
--- a/audio/gimmix/Makefile
+++ b/audio/gimmix/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gimmix
PORTVERSION= 0.5.6
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= gimmix
@@ -27,6 +27,8 @@ USE_GMAKE= yes
MAN1= gimmix.1
+CONFIGURE_ENV= DATADIRNAME=share
+
post-patch:
${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
@${REINPLACE_CMD} -e 's,libmpd-1.0\/libmpd,libmpd,' \
diff --git a/audio/gimmix/pkg-plist b/audio/gimmix/pkg-plist
index eded5f76c803..ea702e6bf318 100644
--- a/audio/gimmix/pkg-plist
+++ b/audio/gimmix/pkg-plist
@@ -1,8 +1,8 @@
bin/gimmix
-lib/locale/de/LC_MESSAGES/gimmix.mo
-lib/locale/sv/LC_MESSAGES/gimmix.mo
-lib/locale/tr/LC_MESSAGES/gimmix.mo
-lib/locale/zh_TW/LC_MESSAGES/gimmix.mo
+share/locale/de/LC_MESSAGES/gimmix.mo
+share/locale/sv/LC_MESSAGES/gimmix.mo
+share/locale/tr/LC_MESSAGES/gimmix.mo
+share/locale/zh_TW/LC_MESSAGES/gimmix.mo
share/applications/gimmix.desktop
%%DATADIR%%/gimmix.glade
%%DATADIR%%/gimmix_firstrun.png
@@ -12,14 +12,14 @@ share/pixmaps/gimmix_logo_small.png
share/pixmaps/gimmix_playlist.png
@dirrm %%DATADIR%%
@dirrmtry share/applications
-@dirrmtry lib/locale/zh_TW/LC_MESSAGES
-@dirrmtry lib/locale/zh_TW
-@dirrmtry lib/locale/tr/LC_MESSAGES
-@dirrmtry lib/locale/tr
-@dirrmtry lib/locale/sv/LC_MESSAGES
-@dirrmtry lib/locale/sv
-@dirrmtry lib/locale/de/LC_MESSAGES
-@dirrmtry lib/locale/de
-@dirrmtry lib/locale
+@dirrmtry share/locale/zh_TW/LC_MESSAGES
+@dirrmtry share/locale/zh_TW
+@dirrmtry share/locale/tr/LC_MESSAGES
+@dirrmtry share/locale/tr
+@dirrmtry share/locale/sv/LC_MESSAGES
+@dirrmtry share/locale/sv
+@dirrmtry share/locale/de/LC_MESSAGES
+@dirrmtry share/locale/de
+@dirrmtry share/locale
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true