diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-10-30 23:24:11 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-10-30 23:24:11 +0800 |
commit | 5c04dbca3c3d182e64ab83d0200e61bfd7bebe80 (patch) | |
tree | c5d942549bb9333a4bc68d025bfb59d36f8028c4 | |
parent | 873bc8eee371272be89c3e227dd44eef45039ea8 (diff) | |
download | freebsd-ports-gnome-5c04dbca3c3d182e64ab83d0200e61bfd7bebe80.tar.gz freebsd-ports-gnome-5c04dbca3c3d182e64ab83d0200e61bfd7bebe80.tar.zst freebsd-ports-gnome-5c04dbca3c3d182e64ab83d0200e61bfd7bebe80.zip |
- Install NLS files into correct location
PR: 139939
Submitted by: "Denise H. G." <darcsis@gmail.com>
Patch by: Sylvio Cesar <scjamorim@bsd.com.br> (maintainer)
-rw-r--r-- | audio/soundconverter/Makefile | 5 | ||||
-rw-r--r-- | audio/soundconverter/pkg-plist | 137 |
2 files changed, 39 insertions, 103 deletions
diff --git a/audio/soundconverter/Makefile b/audio/soundconverter/Makefile index 1a16bb583377..19ab4122ef18 100644 --- a/audio/soundconverter/Makefile +++ b/audio/soundconverter/Makefile @@ -7,6 +7,7 @@ PORTNAME= soundconverter PORTVERSION= 1.4.4 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= BERLIOS @@ -28,7 +29,9 @@ INSTALLS_ICONS= yes MAN1= soundconverter.1 post-patch: - @${REINPLACE_CMD} -e 's|@GMSGFMT@|${LOCALBASE}/bin/msgfmt|' ${WRKSRC}/po/Makefile.in.in + @${REINPLACE_CMD} -e 's|@GMSGFMT@|${LOCALBASE}/bin/msgfmt|; \ + s|itlocaledir = .*|itlocaledir = ${LOCALBASE}/share/locale|g' \ + ${WRKSRC}/po/Makefile.in.in @${REINPLACE_CMD} -e 's|#!/usr/bin/python|#!/usr/bin/env python|' ${WRKSRC}/src/soundconverter.py .include <bsd.port.mk> diff --git a/audio/soundconverter/pkg-plist b/audio/soundconverter/pkg-plist index 7916712fe9d7..f8f9f3ad9997 100644 --- a/audio/soundconverter/pkg-plist +++ b/audio/soundconverter/pkg-plist @@ -3,41 +3,41 @@ @exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true bin/soundconverter -lib/locale/ar/LC_MESSAGES/soundconverter.mo -lib/locale/bg/LC_MESSAGES/soundconverter.mo -lib/locale/br/LC_MESSAGES/soundconverter.mo -lib/locale/ca/LC_MESSAGES/soundconverter.mo -lib/locale/cs/LC_MESSAGES/soundconverter.mo -lib/locale/da/LC_MESSAGES/soundconverter.mo -lib/locale/de/LC_MESSAGES/soundconverter.mo -lib/locale/el/LC_MESSAGES/soundconverter.mo -lib/locale/en_AU/LC_MESSAGES/soundconverter.mo -lib/locale/en_GB/LC_MESSAGES/soundconverter.mo -lib/locale/eo/LC_MESSAGES/soundconverter.mo -lib/locale/es/LC_MESSAGES/soundconverter.mo -lib/locale/et/LC_MESSAGES/soundconverter.mo -lib/locale/eu/LC_MESSAGES/soundconverter.mo -lib/locale/fa/LC_MESSAGES/soundconverter.mo -lib/locale/fi/LC_MESSAGES/soundconverter.mo -lib/locale/fr/LC_MESSAGES/soundconverter.mo -lib/locale/he/LC_MESSAGES/soundconverter.mo -lib/locale/hi/LC_MESSAGES/soundconverter.mo -lib/locale/hu/LC_MESSAGES/soundconverter.mo -lib/locale/it/LC_MESSAGES/soundconverter.mo -lib/locale/ja/LC_MESSAGES/soundconverter.mo -lib/locale/ms/LC_MESSAGES/soundconverter.mo -lib/locale/nl/LC_MESSAGES/soundconverter.mo -lib/locale/pl/LC_MESSAGES/soundconverter.mo -lib/locale/pt_BR/LC_MESSAGES/soundconverter.mo -lib/locale/ru/LC_MESSAGES/soundconverter.mo -lib/locale/sk/LC_MESSAGES/soundconverter.mo -lib/locale/sr/LC_MESSAGES/soundconverter.mo -lib/locale/sr@latin/LC_MESSAGES/soundconverter.mo -lib/locale/sv/LC_MESSAGES/soundconverter.mo -lib/locale/te/LC_MESSAGES/soundconverter.mo -lib/locale/tr/LC_MESSAGES/soundconverter.mo -lib/locale/vi/LC_MESSAGES/soundconverter.mo -lib/locale/zh_CN/LC_MESSAGES/soundconverter.mo +share/locale/ar/LC_MESSAGES/soundconverter.mo +share/locale/bg/LC_MESSAGES/soundconverter.mo +share/locale/br/LC_MESSAGES/soundconverter.mo +share/locale/ca/LC_MESSAGES/soundconverter.mo +share/locale/cs/LC_MESSAGES/soundconverter.mo +share/locale/da/LC_MESSAGES/soundconverter.mo +share/locale/de/LC_MESSAGES/soundconverter.mo +share/locale/el/LC_MESSAGES/soundconverter.mo +share/locale/en_AU/LC_MESSAGES/soundconverter.mo +share/locale/en_GB/LC_MESSAGES/soundconverter.mo +share/locale/eo/LC_MESSAGES/soundconverter.mo +share/locale/es/LC_MESSAGES/soundconverter.mo +share/locale/et/LC_MESSAGES/soundconverter.mo +share/locale/eu/LC_MESSAGES/soundconverter.mo +share/locale/fa/LC_MESSAGES/soundconverter.mo +share/locale/fi/LC_MESSAGES/soundconverter.mo +share/locale/fr/LC_MESSAGES/soundconverter.mo +share/locale/he/LC_MESSAGES/soundconverter.mo +share/locale/hi/LC_MESSAGES/soundconverter.mo +share/locale/hu/LC_MESSAGES/soundconverter.mo +share/locale/it/LC_MESSAGES/soundconverter.mo +share/locale/ja/LC_MESSAGES/soundconverter.mo +share/locale/ms/LC_MESSAGES/soundconverter.mo +share/locale/nl/LC_MESSAGES/soundconverter.mo +share/locale/pl/LC_MESSAGES/soundconverter.mo +share/locale/pt_BR/LC_MESSAGES/soundconverter.mo +share/locale/ru/LC_MESSAGES/soundconverter.mo +share/locale/sk/LC_MESSAGES/soundconverter.mo +share/locale/sr/LC_MESSAGES/soundconverter.mo +share/locale/sr@latin/LC_MESSAGES/soundconverter.mo +share/locale/sv/LC_MESSAGES/soundconverter.mo +share/locale/te/LC_MESSAGES/soundconverter.mo +share/locale/tr/LC_MESSAGES/soundconverter.mo +share/locale/vi/LC_MESSAGES/soundconverter.mo +share/locale/zh_CN/LC_MESSAGES/soundconverter.mo share/applications/soundconverter.desktop share/icons/hicolor/48x48/apps/soundconverter.png share/icons/hicolor/scalable/apps/soundconverter.svg @@ -48,77 +48,10 @@ share/icons/hicolor/scalable/apps/soundconverter.svg @dirrmtry share/icons/hicolor @dirrmtry share/icons @dirrmtry share/applications -@dirrmtry lib/locale/zh_CN/LC_MESSAGES -@dirrmtry lib/locale/zh_CN -@dirrmtry lib/locale/vi/LC_MESSAGES -@dirrmtry lib/locale/vi -@dirrmtry lib/locale/tr/LC_MESSAGES -@dirrmtry lib/locale/tr @dirrmtry lib/locale/te/LC_MESSAGES @dirrmtry lib/locale/te @dirrmtry lib/locale/sv_SE/LC_MESSAGES @dirrmtry lib/locale/sv_SE -@dirrmtry lib/locale/sv/LC_MESSAGES -@dirrmtry lib/locale/sv @dirrmtry lib/locale/sr@latin/LC_MESSAGES @dirrmtry lib/locale/sr@latin -@dirrmtry lib/locale/sr/LC_MESSAGES -@dirrmtry lib/locale/sr -@dirrmtry lib/locale/sk/LC_MESSAGES -@dirrmtry lib/locale/sk -@dirrmtry lib/locale/ru/LC_MESSAGES -@dirrmtry lib/locale/ru -@dirrmtry lib/locale/pt_BR/LC_MESSAGES -@dirrmtry lib/locale/pt_BR -@dirrmtry lib/locale/pl/LC_MESSAGES -@dirrmtry lib/locale/pl -@dirrmtry lib/locale/nl/LC_MESSAGES -@dirrmtry lib/locale/nl -@dirrmtry lib/locale/ms/LC_MESSAGES -@dirrmtry lib/locale/ms -@dirrmtry lib/locale/ja/LC_MESSAGES -@dirrmtry lib/locale/ja -@dirrmtry lib/locale/it/LC_MESSAGES -@dirrmtry lib/locale/it -@dirrmtry lib/locale/hu/LC_MESSAGES -@dirrmtry lib/locale/hu -@dirrmtry lib/locale/hi/LC_MESSAGES -@dirrmtry lib/locale/hi -@dirrmtry lib/locale/he/LC_MESSAGES -@dirrmtry lib/locale/he -@dirrmtry lib/locale/fr/LC_MESSAGES -@dirrmtry lib/locale/fr -@dirrmtry lib/locale/fi/LC_MESSAGES -@dirrmtry lib/locale/fi -@dirrmtry lib/locale/fa/LC_MESSAGES -@dirrmtry lib/locale/fa -@dirrmtry lib/locale/eu/LC_MESSAGES -@dirrmtry lib/locale/eu -@dirrmtry lib/locale/et/LC_MESSAGES -@dirrmtry lib/locale/et -@dirrmtry lib/locale/es/LC_MESSAGES -@dirrmtry lib/locale/es -@dirrmtry lib/locale/eo/LC_MESSAGES -@dirrmtry lib/locale/eo -@dirrmtry lib/locale/en_GB/LC_MESSAGES -@dirrmtry lib/locale/en_GB -@dirrmtry lib/locale/en_AU/LC_MESSAGES -@dirrmtry lib/locale/en_AU -@dirrmtry lib/locale/el/LC_MESSAGES -@dirrmtry lib/locale/el -@dirrmtry lib/locale/de/LC_MESSAGES -@dirrmtry lib/locale/de -@dirrmtry lib/locale/da/LC_MESSAGES -@dirrmtry lib/locale/da -@dirrmtry lib/locale/cs/LC_MESSAGES -@dirrmtry lib/locale/cs -@dirrmtry lib/locale/ca/LC_MESSAGES -@dirrmtry lib/locale/ca -@dirrmtry lib/locale/br/LC_MESSAGES -@dirrmtry lib/locale/br -@dirrmtry lib/locale/bg/LC_MESSAGES -@dirrmtry lib/locale/bg -@dirrmtry lib/locale/ar/LC_MESSAGES -@dirrmtry lib/locale/ar -@dirrmtry lib/locale @dirrm %%DATADIR%% |