1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00

Add missing patch files

PR:		ports/87666
Submitted by:	Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
This commit is contained in:
Edwin Groothuis 2005-10-23 06:18:24 +00:00
parent da04a33ff0
commit 96c2bef4a2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146173
2 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,56 @@
--- 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

View File

@ -0,0 +1,12 @@
--- modules/Makefile.in Tue Oct 11 02:16:57 2005
+++ modules/Makefile.in Tue Oct 18 19:34:54 2005
@@ -295,7 +295,8 @@
if test -d translations; then \
cd translations && \
for trans in *.ts; do \
- if [ ! -e $${trans//\ts/qm} ] || test $$trans -nt $${trans//\ts/qm}; then \
+ trans_qm="$$(echo $${trans} | sed -e 's/\.ts$$/\.qm/')"; \
+ if [ ! -e $${trans_qm} ] || test $$trans -nt $${trans_qm}; then \
$(QT_LRELEASE_DIR)/lrelease $$trans; \
fi; \
done && \