summaryrefslogtreecommitdiffstats
path: root/polish/kadu
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-01-26 15:23:17 +0000
committervs <vs@FreeBSD.org>2005-01-26 15:23:17 +0000
commit9abdcbb8f73b305ebc6479b087940e6a639f21d4 (patch)
treef0c79f4c701fd3b388e87cf9f0a3fcf78d6375fa /polish/kadu
parent6b28875f31f57e8cad3a2f9db4970d48d8a87484 (diff)
downloadFreeBSD-ports-9abdcbb8f73b305ebc6479b087940e6a639f21d4.zip
FreeBSD-ports-9abdcbb8f73b305ebc6479b087940e6a639f21d4.tar.gz
Fix packaging (PORTREV-bump so the package gets better KDE support)
PR: ports/75998 Submitted by: maintainer Additional hints by: lofi@
Diffstat (limited to 'polish/kadu')
-rw-r--r--polish/kadu/Makefile8
-rw-r--r--polish/kadu/pkg-plist12
2 files changed, 11 insertions, 9 deletions
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index 60568d7..a27f0cf 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kadu
PORTVERSION= 0.3.9
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= polish net
MASTER_SITES= http://www.kadu.net/download/stable/
@@ -42,11 +43,6 @@ PLIST_SUB+= GNOME:=""
.else
PLIST_SUB+= GNOME:="@comment "
.endif
-.if exists(${LOCALBASE}/lib/libkdecore.so)
-PLIST_SUB+= KDE:=""
-.else
-PLIST_SUB+= KDE:="@comment "
-.endif
pre-everything::
@${ECHO_MSG}
@@ -60,8 +56,6 @@ post-install:
.if ${HAVE_GNOME:Mgnomehier}!=""
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${X11BASE}/share/gnome/apps/Internet
.endif
-.if exists(${LOCALBASE}/lib/libkdecore.so)
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${LOCALBASE}/share/applnk/Internet
-.endif
.include <bsd.port.post.mk>
diff --git a/polish/kadu/pkg-plist b/polish/kadu/pkg-plist
index 7779766..874a692 100644
--- a/polish/kadu/pkg-plist
+++ b/polish/kadu/pkg-plist
@@ -435,6 +435,14 @@ share/kadu/translations/qt_pl.qm
share/icons/hicolor/16x16/apps/kadu.png
share/icons/hicolor/32x32/apps/kadu.png
share/icons/hicolor/48x48/apps/kadu.png
+@unexec rmdir %D/share/icons/hicolor/16x16/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/32x32 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true
+@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true
+@unexec rmdir %D/share/icons 2>/dev/null || true
@dirrm share/kadu/translations
@dirrm share/kadu/themes/sounds/default
@dirrm share/kadu/themes/sounds
@@ -451,7 +459,7 @@ share/icons/hicolor/48x48/apps/kadu.png
@dirrm share/kadu
@dirrm include/kadu/modules
@dirrm include/kadu
-%%KDE:%%@cwd %%LOCALBASE%%
-%%KDE:%%share/applnk/Internet/kadu.desktop
+@cwd %%LOCALBASE%%
+share/applnk/Internet/kadu.desktop
%%GNOME:%%@cwd %%X11BASE%%
%%GNOME:%%share/gnome/apps/Internet/kadu.desktop
OpenPOWER on IntegriCloud