diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2004-12-23 01:53:11 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2004-12-23 01:53:11 +0000 |
commit | 08f8a4b2b58c37d9680a320578d87c4e676d323e (patch) | |
tree | 0f80c9f1355052969f89692128ea5e9ea481f6ab /www/mozilla | |
parent | 4c5e6dd66f47f2189dcb00e34a054847dd1114ec (diff) | |
download | ports-08f8a4b2b58c37d9680a320578d87c4e676d323e.tar.gz ports-08f8a4b2b58c37d9680a320578d87c4e676d323e.zip |
Notes
Diffstat (limited to 'www/mozilla')
-rw-r--r-- | www/mozilla/Makefile | 13 | ||||
-rw-r--r-- | www/mozilla/files/mozilla.desktop.in | 169 |
2 files changed, 181 insertions, 1 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index ea66737e1b40..c4bb79df5ddf 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -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 \ @@ -304,6 +308,9 @@ pre-install: .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} \ && ${FIND} -d * -type d | \ @@ -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 diff --git a/www/mozilla/files/mozilla.desktop.in b/www/mozilla/files/mozilla.desktop.in new file mode 100644 index 000000000000..2c0e68dabd3c --- /dev/null +++ b/www/mozilla/files/mozilla.desktop.in @@ -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; |