Annotation of pkgsrc/chat/finch/Makefile, revision 1.92
1.92 ! wiz 1: # $NetBSD: Makefile,v 1.91 2023/08/14 05:23:53 wiz Exp $
1.1 gdt 2:
1.4 tnn 3: PKGNAME= finch-${PIDGIN_VERSION}
1.92 ! wiz 4: PKGREVISION= 3
1.1 gdt 5:
1.80 nia 6: COMMENT= Multi-protocol console instant messaging client
1.1 gdt 7:
8: .include "../../chat/libpurple/Makefile.common"
9:
1.17 wiz 10: USE_TOOLS+= intltool msgfmt perl
1.3 joerg 11:
1.1 gdt 12: CONFIGURE_ARGS+= --enable-consoleui
1.64 wiz 13: CONFIGURE_ARGS+= --without-x
1.15 obache 14: CONFIGURE_ENV+= ac_cv_path_pythonpath=
1.1 gdt 15:
16: #CONFIGURE_ARGS+= --disable-plugins
17:
1.11 jlam 18: # The configure script uses an incredibly stupid way to detect if the
19: # ncurses header is present. As such, it needs the exact path to the
20: # ncurses header it will use, so provide the path to the one in
21: # ${BUILDLINK_DIR}.
22: #
23: CONFIGURE_ARGS+= --with-ncurses-headers=${BUILDLINK_DIR}/include
1.10 gdt 24:
1.1 gdt 25: USE_NCURSES= yes # force ncurses, for libpanel
26:
1.11 jlam 27: BUILD_DIRS= finch
1.1 gdt 28:
29: .include "options.mk"
30:
31: pre-build:
32: # XXX Find a cleaner way.
1.19 joerg 33: ${MKDIR} ${WRKSRC}/libpurple/.libs
1.1 gdt 34: ${TEST} -r ${WRKSRC}/libpurple/libpurple.la || \
1.19 joerg 35: ln -s ${BUILDLINK_DIR}/lib/libpurple.la ${WRKSRC}/libpurple
1.1 gdt 36:
1.39 obache 37: INSTALL_DIRS= finch doc
1.1 gdt 38:
1.64 wiz 39: # this was an option, but doesn't seem to be one as of 2.10.12
1.71 rillig 40: .include "../../multimedia/gstreamer1/buildlink3.mk"
41: .include "../../multimedia/gst-plugins1-base/buildlink3.mk"
1.64 wiz 42:
1.14 tnn 43: BUILDLINK_API_DEPENDS.libpurple+= libpurple-${PIDGIN_VERSION}{,nb*}
1.1 gdt 44: .include "../../chat/libpurple/buildlink3.mk"
1.5 gdt 45: .include "../../devel/gettext-lib/buildlink3.mk"
1.1 gdt 46: .include "../../devel/glib2/buildlink3.mk"
1.18 abs 47: .include "../../devel/libidn/buildlink3.mk"
1.74 nia 48: .include "../../devel/libgnt/buildlink3.mk"
1.10 gdt 49: .include "../../devel/ncursesw/buildlink3.mk"
1.1 gdt 50: .include "../../textproc/libxml2/buildlink3.mk"
51: .include "../../mk/bsd.pkg.mk"
CVSweb <[email protected]>