View | Details | Raw Unified | Return to bug 87666
Collapse All | Expand All

(-)/usr/ports/polish/kadu/Makefile (-9 / +4 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=		kadu
8
PORTNAME=		kadu
9
PORTVERSION=		0.4.1
9
PORTVERSION=		0.4.2
10
PORTREVISION=		1
11
PORTEPOCH=		1
10
PORTEPOCH=		1
12
CATEGORIES=		polish net
11
CATEGORIES=		polish net
13
MASTER_SITES=		http://www.kadu.net/download/stable/
12
MASTER_SITES=		http://www.kadu.net/download/stable/
Lines 23-31 Link Here
23
USE_GMAKE=		yes
22
USE_GMAKE=		yes
24
USE_OPENSSL=		yes
23
USE_OPENSSL=		yes
25
GNU_CONFIGURE=		yes
24
GNU_CONFIGURE=		yes
26
CONFIGURE_ARGS+=	--with-existing-libgadu \
25
CONFIGURE_ARGS+=	--with-existing-libgadu="${LOCALBASE}" \
27
			--with-includes="${LOCALBASE}/include" \
28
			--with-libs="${LOCALBASE}/lib" \
29
			--program-transform-name=''
26
			--program-transform-name=''
30
CONFIGURE_ENV=		QTDIR="${QT_PREFIX}"
27
CONFIGURE_ENV=		QTDIR="${QT_PREFIX}"
31
28
Lines 42-50 Link Here
42
.endif
39
.endif
43
40
44
post-install:
41
post-install:
45
	${MKDIR} ${X11BASE}/share/gnome/apps/Internet
42
	${MKDIR} ${PREFIX}/share/applications
46
	${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${X11BASE}/share/gnome/apps/Internet
43
	${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${PREFIX}/share/applications
47
	${MKDIR} ${LOCALBASE}/share/applnk/Internet
48
	${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${LOCALBASE}/share/applnk/Internet
49
44
50
.include <bsd.port.post.mk>
45
.include <bsd.port.post.mk>
(-)/usr/ports/polish/kadu/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (kadu-0.4.1.tar.bz2) = 52c582fcc175b2af534c7ddab24e0b6b
1
MD5 (kadu-0.4.2.tar.bz2) = 77792981e2a0b67d86afea7d5d768463
2
SIZE (kadu-0.4.1.tar.bz2) = 1218351
2
SIZE (kadu-0.4.2.tar.bz2) = 1181463
(-)/usr/ports/polish/kadu/files/patch-Makefile.in (-64 lines)
Lines 1-64 Link Here
1
--- kadu/Makefile.in	Tue Jul 19 21:52:02 2005
2
+++ kadu/Makefile.in	Tue Aug  9 01:01:22 2005
3
@@ -515,42 +515,29 @@
4
 install-data-local:
5
 	$(mkinstalldirs) "$(DESTDIR)/$(includedir)/kadu/"
6
 	$(INSTALL_DATA) *.h "$(DESTDIR)/$(includedir)/kadu/"
7
-	@if test -w "$(DESTDIR)/usr/share"; then \
8
-		$(mkinstalldirs) "$(DESTDIR)/usr/share/applnk/Internet/"; \
9
-		echo "[Desktop Entry]" > "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
10
-		echo "Type=Application" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
11
-		echo "Exec=$(bindir)/kadu" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
12
-		echo "Icon=kadu.png" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
13
-		echo "MiniIcon=kadu-16.png" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
14
-		echo "Terminal=0" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
15
-		echo "Name=Kadu" >> "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"; \
16
-		$(mkinstalldirs) "$(DESTDIR)/usr/share/pixmaps/"; \
17
-		$(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)/usr/share/pixmaps/kadu-48.png"; \
18
-		$(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)/usr/share/pixmaps/kadu.png"; \
19
-		$(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)/usr/share/pixmaps/kadu-24.png"; \
20
-		$(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)/usr/share/pixmaps/kadu-22.png"; \
21
-		$(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)/usr/share/pixmaps/kadu-16.png"; \
22
-		echo ""; \
23
-		echo "Icons installed to $(DESTDIR)/usr/share/pixmaps"; \
24
-		echo "Link(kadu.desktop) installed to $(DESTDIR)/usr/share/applnk/Internet"; \
25
-		echo ""; \
26
-	else \
27
-		echo "";\
28
-		echo "         *******************************************************************"; \
29
-		echo "         *                                                                 *"; \
30
-		echo "         *          You don't have permission to write /usr/share          *"; \
31
-		echo "         *          Icons and link(kadu.desktop) won't be installed        *"; \
32
-		echo "         *                                                                 *"; \
33
-		echo "         *******************************************************************"; \
34
-		echo $(DESTDIR)"";\
35
-	fi;
36
+	echo "[Desktop Entry]" > "$(srcdir)/kadu.desktop"
37
+	echo "Type=Application" >> "$(srcdir)/kadu.desktop"
38
+	echo "Exec=$(bindir)/kadu" >> "$(srcdir)/kadu.desktop"
39
+	echo "Icon=kadu.png" >> "$(srcdir)/kadu.desktop"
40
+	echo "MiniIcon=kadu-16.png" >> "$(srcdir)/kadu.desktop"
41
+	echo "Terminal=0" >> "$(srcdir)/kadu.desktop"
42
+	echo "Name=Kadu" >> "$(srcdir)/kadu.desktop"
43
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
44
+	$(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/kadu.png"
45
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps
46
+	$(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/kadu.png"
47
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/22x22/apps
48
+	$(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/22x22/apps/kadu.png"
49
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps
50
+	$(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/kadu.png"
51
 
52
 uninstall-local:
53
 	rm -f "$(DESTDIR)/$(includedir)/kadu"/*.h
54
 	rm -f "$(DESTDIR)/usr/share/applnk/Internet/kadu.desktop"
55
-	rm -f "$(DESTDIR)/usr/share/pixmaps/kadu-48.png"
56
-	rm -f "$(DESTDIR)/usr/share/pixmaps/kadu.png"
57
-	rm -f "$(DESTDIR)/usr/share/pixmaps/kadu-16.png"
58
+	rm -f "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/kadu.png"
59
+	rm -f "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/kadu.png"
60
+	rm -f "$(DESTDIR)$(datadir)/icons/hicolor/22x22/apps/kadu.png"
61
+	rm -f "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/kadu.png"
62
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
63
 # Otherwise a system limit (for SysV at least) may be exceeded.
64
 .NOEXPORT:
(-)/usr/ports/polish/kadu/files/patch-configure (-51 lines)
Lines 1-51 Link Here
1
--- configure.orig	Tue Aug  9 22:53:04 2005
2
+++ configure	Wed Aug 10 00:03:04 2005
3
@@ -4111,20 +4111,14 @@
4
 cat >>conftest.$ac_ext <<_ACEOF
5
 /* end confdefs.h.  */
6
 
7
-int
8
-main ()
9
+#include <execinfo.h>
10
+int main()
11
 {
12
-
13
-		#include <execinfo.h>
14
-		int main()
15
-		{
16
-			char* data;
17
-			backtrace(&data, 100);
18
-		}
19
-
20
-  ;
21
+  char* data;
22
+  backtrace(&data, 100);
23
   return 0;
24
 }
25
+
26
 _ACEOF
27
 rm -f conftest.$ac_objext conftest$ac_exeext
28
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29
@@ -4179,18 +4173,11 @@
30
 cat >>conftest.$ac_ext <<_ACEOF
31
 /* end confdefs.h.  */
32
 
33
-int
34
-main ()
35
+#include <execinfo.h>
36
+int main ()
37
 {
38
-
39
-		#include <execinfo.h>
40
-		int main()
41
-		{
42
-			char* data;
43
-			backtrace(&data, 100);
44
-		}
45
-
46
-  ;
47
+  char* data;
48
+  backtrace(&data, 100);
49
   return 0;
50
 }
51
 _ACEOF
(-)/usr/ports/polish/kadu/files/patch-kadu_Makefile.in (+56 lines)
Line 0 Link Here
1
--- kadu/Makefile.in	Tue Oct 11 02:16:57 2005
2
+++ kadu/Makefile.in	Tue Oct 18 20:35:30 2005
3
@@ -517,35 +517,24 @@
4
 install-data-local:
5
 	$(mkinstalldirs) "$(DESTDIR)/$(includedir)/kadu/"
6
 	$(INSTALL_DATA) *.h "$(DESTDIR)/$(includedir)/kadu/"
7
-	@if test -w "$(DESTDIR)$(datadir)"; then \
8
-		$(mkinstalldirs) "$(DESTDIR)$(datadir)/applnk/Internet/"; \
9
-		echo "[Desktop Entry]" > "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
10
-		echo "Type=Application" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
11
-		echo "Exec=$(bindir)/kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
12
-		echo "Icon=kadu.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
13
-		echo "MiniIcon=kadu-16.png" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
14
-		echo "Terminal=0" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
15
-		echo "Name=Kadu" >> "$(DESTDIR)$(datadir)/applnk/Internet/kadu.desktop"; \
16
-		$(mkinstalldirs) "$(DESTDIR)$(datadir)/pixmaps/"; \
17
-		$(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-48.png"; \
18
-		$(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu.png"; \
19
-		$(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-24.png"; \
20
-		$(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-22.png"; \
21
-		$(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/pixmaps/kadu-16.png"; \
22
-		echo ""; \
23
-		echo "Icons installed to $(DESTDIR)$(datadir)/pixmaps"; \
24
-		echo "Link(kadu.desktop) installed to $(DESTDIR)$(datadir)/applnk/Internet"; \
25
-		echo ""; \
26
-	else \
27
-		echo "";\
28
-		echo "         *******************************************************************"; \
29
-		echo "         *                                                                 *"; \
30
-		echo "         *          You don't have permission to write $(datadir)          *"; \
31
-		echo "         *          Icons and link(kadu.desktop) won't be installed        *"; \
32
-		echo "         *                                                                 *"; \
33
-		echo "         *******************************************************************"; \
34
-		echo $(DESTDIR)"";\
35
-	fi;
36
+	echo "[Desktop Entry]" > "$(srcdir)/kadu.desktop"
37
+	echo "Encoding=UTF-8" >> "$(srcdir)/kadu.desktop"
38
+	echo "Categories=Application;Network;" >> "$(srcdir)/kadu.desktop"
39
+	echo "Type=Application" >> "$(srcdir)/kadu.desktop"
40
+	echo "Exec=kadu" >> "$(srcdir)/kadu.desktop"
41
+	echo "Icon=kadu.png" >> "$(srcdir)/kadu.desktop"
42
+	echo "Terminal=false" >> "$(srcdir)/kadu.desktop"
43
+	echo "Name=Kadu" >> "$(srcdir)/kadu.desktop"
44
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps
45
+	$(INSTALL_DATA) hi48-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/kadu.png"
46
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/32x32/apps
47
+	$(INSTALL_DATA) hi32-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/32x32/apps/kadu.png"
48
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/24x24/apps
49
+	$(INSTALL_DATA) hi24-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/24x24/apps/kadu.png"
50
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/22x22/apps
51
+	$(INSTALL_DATA) hi22-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/22x22/apps/kadu.png"
52
+	$(mkinstalldirs) $(DESTDIR)$(datadir)/icons/hicolor/16x16/apps
53
+	$(INSTALL_DATA) hi16-app-kadu.png "$(DESTDIR)$(datadir)/icons/hicolor/16x16/apps/kadu.png"
54
 
55
 uninstall-local:
56
 	rm -f "$(DESTDIR)/$(includedir)/kadu"/*.h
(-)/usr/ports/polish/kadu/files/patch-modules_Makefile.in (+12 lines)
Line 0 Link Here
1
--- modules/Makefile.in	Tue Oct 11 02:16:57 2005
2
+++ modules/Makefile.in	Tue Oct 18 19:34:54 2005
3
@@ -295,7 +295,8 @@
4
 		if test -d translations; then \
5
 			cd translations && \
6
 			for trans in *.ts; do \
7
-				if [ ! -e $${trans//\ts/qm} ] || test $$trans -nt $${trans//\ts/qm}; then \
8
+				trans_qm="$$(echo $${trans} | sed -e 's/\.ts$$/\.qm/')"; \
9
+				if [ ! -e $${trans_qm} ] || test $$trans -nt $${trans_qm}; then \
10
 					$(QT_LRELEASE_DIR)/lrelease $$trans; \
11
 				fi; \
12
 			done && \
(-)/usr/ports/polish/kadu/pkg-plist (-9 / +5 lines)
Lines 553-572 Link Here
553
%%DATADIR%%/translations/qt_fr.qm
553
%%DATADIR%%/translations/qt_fr.qm
554
%%DATADIR%%/translations/qt_it.qm
554
%%DATADIR%%/translations/qt_it.qm
555
%%DATADIR%%/translations/qt_pl.qm
555
%%DATADIR%%/translations/qt_pl.qm
556
share/applications/kadu.desktop
556
share/icons/hicolor/16x16/apps/kadu.png
557
share/icons/hicolor/16x16/apps/kadu.png
557
share/icons/hicolor/22x22/apps/kadu.png
558
share/icons/hicolor/22x22/apps/kadu.png
559
share/icons/hicolor/24x24/apps/kadu.png
558
share/icons/hicolor/32x32/apps/kadu.png
560
share/icons/hicolor/32x32/apps/kadu.png
559
share/icons/hicolor/48x48/apps/kadu.png
561
share/icons/hicolor/48x48/apps/kadu.png
560
@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
562
@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
561
@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
563
@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
562
@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true
564
@unexec rmdir %D/share/icons/hicolor/22x22/apps 2>/dev/null || true
563
@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true
565
@unexec rmdir %D/share/icons/hicolor/22x22 2>/dev/null || true
566
@unexec rmdir %D/share/icons/hicolor/24x24/apps 2>/dev/null || true
567
@unexec rmdir %D/share/icons/hicolor/24x24 2>/dev/null || true
564
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
568
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
565
@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
569
@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
566
@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
570
@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
567
@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
571
@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
568
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
572
@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
569
@unexec rmdir %D/share/icons 2>/dev/null || true
573
@unexec rmdir %D/share/icons 2>/dev/null || true
574
@unexec rmdir %D/share/applications 2>/dev/null || true
570
@dirrm %%DATADIR%%/translations
575
@dirrm %%DATADIR%%/translations
571
@dirrm %%DATADIR%%/themes/sounds/default
576
@dirrm %%DATADIR%%/themes/sounds/default
572
@dirrm %%DATADIR%%/themes/sounds
577
@dirrm %%DATADIR%%/themes/sounds
Lines 587-598 Link Here
587
@dirrm %%DATADIR%%
592
@dirrm %%DATADIR%%
588
@dirrm include/kadu/modules
593
@dirrm include/kadu/modules
589
@dirrm include/kadu
594
@dirrm include/kadu
590
@cwd %%LOCALBASE%%
591
share/applnk/Internet/kadu.desktop
592
@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
593
@unexec rmdir %D/share/applnk 2>/dev/null || true
594
@cwd %%X11BASE%%
595
share/gnome/apps/Internet/kadu.desktop
596
@unexec rmdir %D/share/gnome/apps/Internet 2>/dev/null || true
597
@unexec rmdir %D/share/gnome/apps 2>/dev/null || true
598
@unexec rmdir %D/share/gnome 2>/dev/null || true

Return to bug 87666