pkgsrc/chat/irssi/Makefile
2020-08-31 18:06:29 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.100 2020/08/31 18:06:41 wiz Exp $
DISTNAME= ${IRSSI_DISTNAME}
PKGREVISION= 5
CATEGORIES= chat
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.irssi.org/
COMMENT= Secure and modular IRC client with text mode user interface
LICENSE= gnu-gpl-v2
.include "../../mk/bsd.prefs.mk"
.include "Makefile.common"
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
TEST_TARGET= check
CONFIGURE_ARGS+= --with-proxy \
--sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/irssi
CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
OPSYSVARS+= MODULEEXT
MODULEEXT.Darwin= bundle
MODULEEXT.*= so
PLIST_SUBST+= MODULEEXT=${MODULEEXT}
INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR}
.include "options.mk"
.include "../../devel/glib2/buildlink3.mk"
post-install:
${INSTALL_DATA} ${WRKSRC}/irssi-config ${DESTDIR}${IRSSI_CONFIG}
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/terminfo.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"