Add an OPTIONS entry that installs a .desktop entry for mozilla. I used the
contents of epiphany.desktop to generate the translations. I hope none of my fellow GNOME Translation Project team members object to having their translations bastardized like this. I don't know whether .desktop entries can contain comments, so there's nothing attributing their work in there right now. I'll let this percolate in here for a bit, and if successful, I'll add it to moz-devel, firefox, and thunderbird.
This commit is contained in:
parent
4c5e6dd66f
commit
08f8a4b2b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124876
2 changed files with 181 additions and 1 deletions
|
@ -109,7 +109,8 @@ OPTIONS=XFT "Enable Xft font anti-aliasing" on \
|
|||
XMLTERM "Enable the XMLTerm module" on \
|
||||
JAVASCRIPT_DEBUGGER "Enable the DTD and JavaScript debuggers" off \
|
||||
OPTIMIZED_CFLAGS "Enable -O2 optimizations" off \
|
||||
SMB "Enable smb:// URI support using gnomevfs" off
|
||||
SMB "Enable smb:// URI support using gnomevfs" off \
|
||||
MENU_ENTRY "Add mozilla to the GNOME menu" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -264,6 +265,9 @@ post-patch:
|
|||
< ${MASTERDIR}/pkg-install.in > ${PKGINSTALL}
|
||||
@${SED} -e 's|%%MOZDIR%%|${PREFIX}/lib/${MOZILLA}|g' \
|
||||
< ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
|
||||
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
||||
< ${FILESDIR}/mozilla.desktop.in > \
|
||||
${WRKDIR}/mozilla.desktop
|
||||
|
||||
pre-configure:
|
||||
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
|
||||
|
@ -303,6 +307,9 @@ pre-install:
|
|||
${ECHO_CMD} lib/${MOZILLA}/mozilla-config >> ${PLIST}
|
||||
.if !defined(WITHOUT_MAILNEWS)
|
||||
@${CP} -RL ${WRKSRC}/dist/bin/defaults/isp ${FAKEDIR}/lib/${MOZILLA}/defaults
|
||||
.endif
|
||||
.if defined(WITH_MENU_ENTRY)
|
||||
${ECHO_CMD} share/gnome/applications/mozilla.desktop >> ${PLIST}
|
||||
.endif
|
||||
cd ${FAKEDIR}/lib/${MOZILLA} && ${FIND} -s * -type f -o -type l | \
|
||||
${SED} -e 's:^:lib/${MOZILLA}/:' >> ${PLIST} \
|
||||
|
@ -353,6 +360,10 @@ do-install:
|
|||
${CHMOD} 755 ${PREFIX}/include/${MOZILLA}
|
||||
cd ${FAKEDIR}/include/mozilla && ${FIND} . | \
|
||||
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/${MOZILLA}
|
||||
.if defined(WITH_MENU_ENTRY)
|
||||
${INSTALL_DATA} ${WRKDIR}/mozilla.desktop \
|
||||
${PREFIX}/share/gnome/applications
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CHMOD} -R u-w ${PREFIX}/lib/${MOZILLA}/components
|
||||
|
|
169
www/mozilla/files/mozilla.desktop.in
Normal file
169
www/mozilla/files/mozilla.desktop.in
Normal file
|
@ -0,0 +1,169 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Mozilla Web Browser
|
||||
Name[az]=Mozilla Veb Səyyahı
|
||||
Name[bg]=Интернет браузър (Mozilla)
|
||||
Name[bs]=Mozilla web preglednik
|
||||
Name[ca]=Navegador web Mozilla
|
||||
Name[cs]=Prohlížeč WWW Mozilla
|
||||
Name[cy]=Y Porwr Gwe Mozilla
|
||||
Name[da]=Mozilla - internetbrowser
|
||||
Name[de]=Mozilla Webbrowser
|
||||
Name[el]=Περιηγητής Διαδικτύου Mozilla
|
||||
Name[en_CA]=Mozilla Web Browser
|
||||
Name[en_GB]=Mozilla Web Browser
|
||||
Name[es]=Navegador Web Mozilla
|
||||
Name[et]=Mozilla veebibrauser
|
||||
Name[eu]=Mozilla web arakatzailea
|
||||
Name[fa]=مرورگر وب Mozilla
|
||||
Name[fi]=Mozilla, WWW-selain
|
||||
Name[fr]=Navigateur Web Mozilla
|
||||
Name[ga]=Brabhsálaí Lín Mozilla
|
||||
Name[he]=דפדפן Mozilla
|
||||
Name[hr]=Mozilla Web preglednik
|
||||
Name[hu]=Mozilla webböngésző
|
||||
Name[id]=Web Browser Mozilla
|
||||
Name[it]=Browser web Mozilla
|
||||
Name[ja]=Mozilla ウェブ・ブラウザ
|
||||
Name[ko]=Mozilla 웹 브라우저
|
||||
Name[li]=Mozilla Web Browser
|
||||
Name[lt]=Mozilla web naršyklė
|
||||
Name[mk]=Mozilla Веб Прелистувач
|
||||
Name[mn]=Mozilla веб хөтөч
|
||||
Name[ms]=Pelungsur Web Mozilla
|
||||
Name[nb]=Mozilla nettleser
|
||||
Name[nl]=Mozilla webbrowser
|
||||
Name[nn]=Mozilla nettlesar
|
||||
Name[no]=Mozilla nettleser
|
||||
Name[pl]=Przeglądarka WWW Mozilla
|
||||
Name[pt]=Navegador Web Mozilla
|
||||
Name[pt_BR]=Navegador Web Mozilla
|
||||
Name[ro]=Navigatorul Mozilla
|
||||
Name[sl]=Spletni brskalnik Mozilla
|
||||
Name[sq]=Mozilla - Shfletuesi Web
|
||||
Name[sv]=Webbläsaren Mozilla
|
||||
Name[tk]=Mozilla Web Ahtarçisi
|
||||
Name[tr]=Mozilla Web Tarayıcı
|
||||
Name[uk]=Переглядач web Mozilla
|
||||
Name[vi]=Trình Duyệt Web Mozilla
|
||||
Name[wa]=Betchteu waibe mozilla
|
||||
Name[zh_CN]=Mozilla Web 浏览器
|
||||
Name[zh_TW]=Mozilla 網頁瀏覽器
|
||||
GenericName=Mozilla Web Browser
|
||||
GenericName[az]=Mozilla Veb Səyyahı
|
||||
GenericName[bg]=Интернет браузър (Mozilla)
|
||||
GenericName[bs]=Mozilla web preglednik
|
||||
GenericName[ca]=Navegador web Mozilla
|
||||
GenericName[cs]=Prohlížeč WWW Mozilla
|
||||
GenericName[cy]=Y Porwr Gwe Mozilla
|
||||
GenericName[da]=Mozilla - internetbrowser
|
||||
GenericName[de]=Mozilla Webbrowser
|
||||
GenericName[el]=Περιηγητής Διαδικτύου Mozilla
|
||||
GenericName[en_CA]=Mozilla Web Browser
|
||||
GenericName[en_GB]=Mozilla Web Browser
|
||||
GenericName[es]=Navegador Web Mozilla
|
||||
GenericName[et]=Mozilla veebibrauser
|
||||
GenericName[eu]=Mozilla web arakatzailea
|
||||
GenericName[fa]=مرورگر وب Mozilla
|
||||
GenericName[fi]=Mozilla, WWW-selain
|
||||
GenericName[fr]=Navigateur Web Mozilla
|
||||
GenericName[ga]=Brabhsálaí Lín Mozilla
|
||||
GenericName[he]=דפדפן Mozilla
|
||||
GenericName[hr]=Mozilla Web preglednik
|
||||
GenericName[hu]=Mozilla webböngésző
|
||||
GenericName[id]=Web Browser Mozilla
|
||||
GenericName[it]=Browser web Mozilla
|
||||
GenericName[ja]=Mozilla ウェブ・ブラウザ
|
||||
GenericName[ko]=Mozilla 웹 브라우저
|
||||
GenericName[li]=Mozilla Web Browser
|
||||
GenericName[lt]=Mozilla web naršyklė
|
||||
GenericName[mk]=Mozilla Веб Прелистувач
|
||||
GenericName[mn]=Mozilla веб хөтөч
|
||||
GenericName[ms]=Pelungsur Web Mozilla
|
||||
GenericName[nb]=Mozilla nettleser
|
||||
GenericName[nl]=Mozilla webbrowser
|
||||
GenericName[nn]=Mozilla nettlesar
|
||||
GenericName[no]=Mozilla nettleser
|
||||
GenericName[pl]=Przeglądarka WWW Mozilla
|
||||
GenericName[pt]=Navegador Web Mozilla
|
||||
GenericName[pt_BR]=Navegador Web Mozilla
|
||||
GenericName[ro]=Navigatorul Mozilla
|
||||
GenericName[sl]=Spletni brskalnik Mozilla
|
||||
GenericName[sq]=Mozilla - Shfletuesi Web
|
||||
GenericName[sv]=Webbläsaren Mozilla
|
||||
GenericName[tk]=Mozilla Web Ahtarçisi
|
||||
GenericName[tr]=Mozilla Web Tarayıcı
|
||||
GenericName[uk]=Переглядач web Mozilla
|
||||
GenericName[vi]=Trình Duyệt Web Mozilla
|
||||
GenericName[wa]=Betchteu waibe mozilla
|
||||
GenericName[zh_CN]=Mozilla Web 浏览器
|
||||
GenericName[zh_TW]=Mozilla 網頁瀏覽器
|
||||
Comment=Browse the web
|
||||
Comment[ar]=تصفح الانترنت
|
||||
Comment[az]=Vebi gəzin
|
||||
Comment[be]=Вандраваць па павуціньню
|
||||
Comment[bg]=Сърфиране в интернет
|
||||
Comment[bn]=ওয়েব ব্রাউজ করুন
|
||||
Comment[bs]=Pregledaj na internetu
|
||||
Comment[ca]=Navegueu per la web
|
||||
Comment[cs]=Prohlížet WWW
|
||||
Comment[cy]=Pori'r we
|
||||
Comment[da]=Benyt internettet
|
||||
Comment[de]=Im Web surfen
|
||||
Comment[el]=Περιήγηση στον παγκόσμιο ιστό
|
||||
Comment[en_CA]=Browse the web
|
||||
Comment[en_GB]=Browse the web
|
||||
Comment[es]=Navegar por la web
|
||||
Comment[et]=Sirvi veebi
|
||||
Comment[eu]=Arakatu web-a
|
||||
Comment[fa]=مرور وب
|
||||
Comment[fi]=Selaa WWW:tä
|
||||
Comment[fr]=Naviguer sur Internet
|
||||
Comment[ga]=Brabhsáil an Líon
|
||||
Comment[gu]=વેબમાં શોધો
|
||||
Comment[he]=גלוש ברשת
|
||||
Comment[hi]=वेब ब्राउज़ करें
|
||||
Comment[hr]=Pregledaj Web
|
||||
Comment[hu]=A világháló böngészése
|
||||
Comment[id]=Jelajah web
|
||||
Comment[it]=Esplora il web
|
||||
Comment[ja]=ウェブを閲覧します
|
||||
Comment[ko]=웹을 돌아 다닙니다
|
||||
Comment[li]=Blajere op internet
|
||||
Comment[lt]=Naršyti internete
|
||||
Comment[mk]=Прелистувајте го вебот
|
||||
Comment[ml]=വലക്കെട്ട് തിരയുക
|
||||
Comment[mn]=Веб броузе хийх
|
||||
Comment[ms]=Layari web
|
||||
Comment[nb]=Surf på nettet
|
||||
Comment[nl]=Websurfen
|
||||
Comment[nn]=Surf på nettet
|
||||
Comment[no]=Surf på nettet
|
||||
Comment[pa]=ਵੈਬ ਬਰਾਊਜ਼
|
||||
Comment[pl]=Przeglądanie stron WWW
|
||||
Comment[pt]=Navegar na web
|
||||
Comment[pt_BR]=Navegar na web
|
||||
Comment[ro]=Navigare Internet
|
||||
Comment[ru]=Программа для просмотра веб-страниц
|
||||
Comment[sk]=Prehliadať internet
|
||||
Comment[sl]=Brskaj po spletu
|
||||
Comment[sq]=Eksploro web-in
|
||||
Comment[sr]=Прегледај веб
|
||||
Comment[sr@Latn]=Pregledaj veb
|
||||
Comment[sv]=Surfa på nätet
|
||||
Comment[ta]=வலையில் உலாவு
|
||||
Comment[th]=ใช้งานเว็บบราวเซอร์ Mozilla
|
||||
Comment[tk]=Webi Ahtar
|
||||
Comment[tr]=Web'e Gözat
|
||||
Comment[uk]=Програма перегляду web-сторінок
|
||||
Comment[vi]=Duyệt web
|
||||
Comment[wa]=Naivyî avå les waibes
|
||||
Comment[zh_CN]=浏览 Web
|
||||
Comment[zh_TW]=瀏覽網頁
|
||||
Exec=mozilla %U
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=%%PREFIX%%/lib/mozilla/chrome/icons/default/default.xpm
|
||||
Categories=Application;Network;
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;
|
Loading…
Reference in a new issue