2008-02-02 22:52:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2008/02/02 21:52:52 gdt Exp $
|
2007-07-28 14:12:33 +02:00
|
|
|
#
|
|
|
|
|
2007-08-13 15:22:23 +02:00
|
|
|
PKGNAME= pidgin-${PIDGIN_VERSION}
|
2007-07-28 14:12:33 +02:00
|
|
|
COMMENT= Multi-protocol Instant Messaging client GTK frontend
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-08-04 16:01:01 +02:00
|
|
|
.include "../../chat/libpurple/Makefile.common"
|
2007-07-28 14:12:33 +02:00
|
|
|
|
|
|
|
USE_DIRS+= xdg-1.4
|
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= gaim.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= libpurple/purple.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= pidgin/pidgin.pc.in
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-gevolution
|
|
|
|
CONFIGURE_ARGS+= --enable-gtkui
|
|
|
|
CONFIGURE_ARGS+= --disable-consoleui
|
|
|
|
|
2007-09-15 16:55:01 +02:00
|
|
|
BUILD_DIRS= pidgin
|
2007-07-28 14:12:33 +02:00
|
|
|
|
|
|
|
# includes "Arguments to configure" as string
|
|
|
|
CHECK_WRKREF_SKIP= bin/pidgin
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
# XXX Find a cleaner way.
|
|
|
|
${TEST} -r ${WRKSRC}/libpurple/libpurple.la || \
|
2007-09-25 12:03:52 +02:00
|
|
|
ln -s ${BUILDLINK_DIR}/lib/libpurple.la ${WRKSRC}/libpurple/.
|
2007-07-28 14:12:33 +02:00
|
|
|
|
2008-02-02 22:52:52 +01:00
|
|
|
# XXX install pidgin.1 via doc/Makefile
|
|
|
|
|
2007-07-28 14:12:33 +02:00
|
|
|
.include "../../chat/libpurple/buildlink3.mk"
|
2007-08-30 19:20:06 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2007-07-28 14:12:33 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
|
|
|
.include "../../x11/startup-notification/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|