blob: 73b16d3011bc8c21c0c832b45b06acb993a5c20f (
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.104 2022/01/19 22:15:43 nia Exp $
DISTNAME= ${IRSSI_DISTNAME}
PKGREVISION= 3
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"
|