diff options
author | tnn <tnn@pkgsrc.org> | 2008-04-14 05:45:23 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-04-14 05:45:23 +0000 |
commit | 3065a26ccc011439e46cb4be22f7bbe0dfc46ca9 (patch) | |
tree | 8971d02e9f78afd7f2bc59d022e3c41c7d770af3 /chat/pidgin/Makefile | |
parent | 848c47e46009b9b9f887781b92213fc45e72fba7 (diff) | |
download | pkgsrc-3065a26ccc011439e46cb4be22f7bbe0dfc46ca9.tar.gz |
PR pkg/38381: jmcneill: Install pidgin.desktop.
Also depend on intltool. Bump rev.
Diffstat (limited to 'chat/pidgin/Makefile')
-rw-r--r-- | chat/pidgin/Makefile | 12 |
1 files changed, 10 insertions, 2 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" |