blob: 44686bfc4eabe0a918f8ac27cbfb92ea4bf7a17e (
plain) (
blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# $FreeBSD$
PORTNAME= irssi
DISTVERSION= 1.3-dev-344
DISTVERSIONSUFFIX= -gf57dcfe9
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= irc
MAINTAINER= dor.bsd@xm0.uk
COMMENT= Modular IRC client with many features
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
# Until upstream makes a new release disable cpe
USES= gettext-runtime gnome meson localbase:ldflags ncurses \
perl5 pkgconfig ssl
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_TAGNAME= f57dcfe
MESON_ARGS= -Dinstall-glib=no -Ddisable-gregex=no -Dstatic-dependency=no \
-Dwith-fuzzer=no -Dwithout-textui=no
# Default linker (bfd) in FreeBSD 11 breaks compilation
LDFLAGS_FreeBSD_11= -fuse-ld=lld
# Force OpenSSL from base
CPPFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl ${LDFLAGS_${OPSYS}_${OSREL:R}}
OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY TRUECOLOR UTF8PROC
OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY TRUECOLOR
OPTIONS_SUB= yes
BOT_DESC= Bot support
CAPSICUM_DESC= Capsicum support
OTR_DESC= OTR (off-the-record) support
TRUECOLOR_DESC= True color support
UTF8PROC_DESC= utf8proc support
BOT_MESON_YES= with-bot
CAPSICUM_MESON_YES= with-capsicum
OTR_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libotr.so:security/libotr
OTR_MESON_YES= with-otr
PERL_MESON_YES= with-perl
PROXY_MESON_YES= with-proxy
TRUECOLOR_MESON_YES= enable-true-color
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_MESON_NO= disable-utf8proc
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MPERL}
USE_PERL5= build
.endif
post-install-PERL-off:
@${RM} -r ${STAGEDIR}${DATADIR}/scripts
post-install:
${INSTALL_DATA} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
.include <bsd.port.mk>
|