blob: baba57610cf5585792c248f2f333dd5ad793de8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.60 2014/02/03 16:38:53 wiz Exp $
COMMENT= Multi-protocol Instant Messaging client GTK frontend
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.10.8 (finch)
.include "../../chat/libpurple/Makefile.common"
USE_TOOLS+= msgfmt intltool
PKGCONFIG_OVERRIDE+= gaim.pc.in
PKGCONFIG_OVERRIDE+= libpurple/purple.pc.in
PKGCONFIG_OVERRIDE+= pidgin/pidgin.pc.in
CONFIGURE_ARGS+= --enable-gtkui
BUILD_DIRS= pidgin
INSTALLATION_DIRS= share/applications
# 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 || \
ln -s ${BUILDLINK_DIR}/lib/libpurple.la ${WRKSRC}/libpurple/.
cd ${WRKSRC} && ${BUILD_MAKE_CMD} pidgin.desktop
INSTALL_DIRS= pidgin doc
post-install:
${INSTALL_DATA} ${WRKSRC}/pidgin.desktop \
${DESTDIR}${PREFIX}/share/applications
.include "../../chat/libpurple/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|