pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/pidgin PR pkg/38381: jmcneill: Install pidgin.des...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/498f9949bb2e
branches:  trunk
changeset: 541039:498f9949bb2e
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Mon Apr 14 05:45:23 2008 +0000

description:
PR pkg/38381: jmcneill: Install pidgin.desktop.
Also depend on intltool. Bump rev.

diffstat:

 chat/pidgin/Makefile |  12 ++++++++++--
 chat/pidgin/PLIST    |   3 ++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (60 lines):

diff -r b1d300144d3e -r 498f9949bb2e chat/pidgin/Makefile
--- a/chat/pidgin/Makefile      Sun Apr 13 23:18:08 2008 +0000
+++ b/chat/pidgin/Makefile      Mon Apr 14 05:45:23 2008 +0000
@@ -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 @@
        # 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 @@
 .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 -r b1d300144d3e -r 498f9949bb2e chat/pidgin/PLIST
--- a/chat/pidgin/PLIST Sun Apr 13 23:18:08 2008 +0000
+++ b/chat/pidgin/PLIST Mon Apr 14 05:45:23 2008 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index