aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polish/kadu/Makefile14
-rw-r--r--polish/kadu/pkg-plist9
2 files changed, 10 insertions, 13 deletions
diff --git a/polish/kadu/Makefile b/polish/kadu/Makefile
index a27f0cfc5cd8..d6df55b7ce52 100644
--- a/polish/kadu/Makefile
+++ b/polish/kadu/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kadu
PORTVERSION= 0.3.9
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= polish net
MASTER_SITES= http://www.kadu.net/download/stable/
@@ -34,16 +34,8 @@ USE_QT_VER= 3
WRKSRC= ${WRKDIR}/${PORTNAME}
-WANT_GNOME= yes
-
.include <bsd.port.pre.mk>
-.if ${HAVE_GNOME:Mgnomehier}!=""
-PLIST_SUB+= GNOME:=""
-.else
-PLIST_SUB+= GNOME:="@comment "
-.endif
-
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} " **************************************************************"
@@ -53,9 +45,9 @@ pre-everything::
@${ECHO_MSG}
post-install:
-.if ${HAVE_GNOME:Mgnomehier}!=""
+ ${MKDIR} ${X11BASE}/share/gnome/apps/Internet
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${X11BASE}/share/gnome/apps/Internet
-.endif
+ ${MKDIR} ${LOCALBASE}/share/applnk/Internet
${INSTALL_DATA} ${WRKSRC}/kadu/kadu.desktop ${LOCALBASE}/share/applnk/Internet
.include <bsd.port.post.mk>
diff --git a/polish/kadu/pkg-plist b/polish/kadu/pkg-plist
index 874a6929fb71..a145f6a3fe81 100644
--- a/polish/kadu/pkg-plist
+++ b/polish/kadu/pkg-plist
@@ -461,5 +461,10 @@ share/icons/hicolor/48x48/apps/kadu.png
@dirrm include/kadu
@cwd %%LOCALBASE%%
share/applnk/Internet/kadu.desktop
-%%GNOME:%%@cwd %%X11BASE%%
-%%GNOME:%%share/gnome/apps/Internet/kadu.desktop
+@unexec rmdir %D/share/applnk/Internet 2>/dev/null || true
+@unexec rmdir %D/share/applnk 2>/dev/null || true
+@cwd %%X11BASE%%
+share/gnome/apps/Internet/kadu.desktop
+@unexec rmdir %D/share/gnome/apps/Internet 2>/dev/null || true
+@unexec rmdir %D/share/gnome/apps 2>/dev/null || true
+@unexec rmdir %D/share/gnome 2>/dev/null || true