1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/polish/kadu/files/patch-kadu_Makefile.in
Edwin Groothuis 96c2bef4a2 Add missing patch files
PR:		ports/87666
Submitted by:	Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
2005-10-23 06:18:24 +00:00

57 lines
3.4 KiB
Plaintext

--- kadu/Makefile.in Tue Oct 11 02:16:57 2005
+++ kadu/Makefile.in Tue Oct 18 20:35:30 2005
@@ -517,35 +517,24 @@
install-data-local:
$(mkinstalldirs) "$(DESTDIR)/$(includedir)/kadu/"
$(INSTALL_DATA) *.h "$(DESTDIR)/$(includedir)/kadu/"
- @if test -w "$(DESTDIR)$(datadir)"; then \
- $(mkinstalldirs) "$(DESTDIR)$(datadir)/applnk/Internet/"; \
- echo "[Desktop Entry]" > "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "Type=Application" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "Exec=$(bindir)/kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "Icon=kadu.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "MiniIcon=kadu-16.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "Terminal=0" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- echo "Name=Kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
- $(mkinstalldirs) "$(DESTDIR)$(datadir)/pixmaps/"; \
- $(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-48.png"; \
- $(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu.png"; \
- $(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-24.png"; \
- $(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-22.png"; \
- $(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-16.png"; \
- echo ""; \
- echo "Icons installed to $(DESTDIR)$(datadir)/pixmaps"; \
- echo "Link(kadu.desktop) installed to $(DESTDIR)$(datadir)/applnk/Internet"; \
- echo ""; \
- else \
- echo "";\
- echo " *******************************************************************"; \
- echo " * *"; \
- echo " * You don't have permission to write $(datadir) *"; \
- echo " * Icons and link(kadu.desktop) won't be installed *"; \
- echo " * *"; \
- echo " *******************************************************************"; \
- echo $(DESTDIR)"";\
- fi;
+ echo "[Desktop Entry]" > "$(srcdir)/kadu.desktop"
+ echo "Encoding=UTF-8" >> "$(srcdir)/kadu.desktop"
+ echo "Categories=Application;Network;" >> "$(srcdir)/kadu.desktop"
+ echo "Type=Application" >> "$(srcdir)/kadu.desktop"
+ echo "Exec=kadu" >> "$(srcdir)/kadu.desktop"
+ echo "Icon=kadu.png" >> "$(srcdir)/kadu.desktop"
+ echo "Terminal=false" >> "$(srcdir)/kadu.desktop"
+ echo "Name=Kadu" >> "$(srcdir)/kadu.desktop"
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
+ $(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/kadu.png"
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps
+ $(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/kadu.png"
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/24x24/apps
+ $(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/24x24/apps/kadu.png"
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/22x22/apps
+ $(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/22x22/apps/kadu.png"
+ $(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps
+ $(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/kadu.png"
uninstall-local:
rm -f "$(DESTDIR)/$(includedir)/kadu"/*.h