summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authortnn <tnn>2008-04-14 05:45:23 +0000
committertnn <tnn>2008-04-14 05:45:23 +0000
commitc7ee296f0b8420373b68422a0d408390c0f3a0ed (patch)
tree8971d02e9f78afd7f2bc59d022e3c41c7d770af3 /chat
parentd97227ec84d3f22a507993b04705036a2da90726 (diff)
downloadpkgsrc-c7ee296f0b8420373b68422a0d408390c0f3a0ed.tar.gz
PR pkg/38381: jmcneill: Install pidgin.desktop.
Also depend on intltool. Bump rev.
Diffstat (limited to 'chat')
-rw-r--r--chat/pidgin/Makefile12
-rw-r--r--chat/pidgin/PLIST3
2 files changed, 12 insertions, 3 deletions
diff --git a/chat/pidgin/Makefile b/chat/pidgin/Makefile
index 0cb256906a7..5f3a563f699 100644
--- a/chat/pidgin/Makefile
+++ b/chat/pidgin/Makefile
@@ -1,15 +1,16 @@
-# $NetBSD: Makefile,v 1.8 2008/02/02 21:52:52 gdt Exp $
+# $NetBSD: Makefile,v 1.9 2008/04/14 05:45:23 tnn Exp $
#
PKGNAME= pidgin-${PIDGIN_VERSION}
COMMENT= Multi-protocol Instant Messaging client GTK frontend
+PKGREVISION= 1
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../chat/libpurple/Makefile.common"
USE_DIRS+= xdg-1.4
-USE_TOOLS+= msgfmt
+USE_TOOLS+= msgfmt intltool
PKGCONFIG_OVERRIDE+= gaim.pc.in
PKGCONFIG_OVERRIDE+= libpurple/purple.pc.in
@@ -30,6 +31,12 @@ pre-build:
# XXX Find a cleaner way.
${TEST} -r ${WRKSRC}/libpurple/libpurple.la || \
ln -s ${BUILDLINK_DIR}/lib/libpurple.la ${WRKSRC}/libpurple/.
+ cd ${WRKSRC} && ${BUILD_MAKE_CMD} pidgin.desktop
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/applications
+ ${INSTALL_DATA} ${WRKSRC}/pidgin.desktop \
+ ${DESTDIR}${PREFIX}/share/applications
# XXX install pidgin.1 via doc/Makefile
@@ -37,6 +44,7 @@ pre-build:
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
diff --git a/chat/pidgin/PLIST b/chat/pidgin/PLIST
index 65c09835a0e..dc41600c6b8 100644
--- a/chat/pidgin/PLIST
+++ b/chat/pidgin/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2008/03/04 17:25:36 tnn Exp $
+@comment $NetBSD: PLIST,v 1.6 2008/04/14 05:45:23 tnn Exp $
bin/pidgin
include/pidgin/eggtrayicon.h
include/pidgin/gtkaccount.h
@@ -66,6 +66,7 @@ lib/pidgin/timestamp.la
lib/pidgin/timestamp_format.la
lib/pidgin/xmppconsole.la
lib/pkgconfig/pidgin.pc
+share/applications/pidgin.desktop
share/icons/hicolor/16x16/apps/pidgin.png
share/icons/hicolor/22x22/apps/pidgin.png
share/icons/hicolor/24x24/apps/pidgin.png