summaryrefslogtreecommitdiff
path: root/irc/irssi/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-22 18:33:12 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-22 18:33:12 +0000
commit0ad4e394fd87ab12b39f130c9555f050519f6034 (patch)
tree54f1a12598dc1e4cdf54eea5630bc8e88ce10974 /irc/irssi/Makefile
parentmail/mutt: Update to 2.0.2 (diff)
irc/irssi: Update to snapshot 1.3 (20201114)
Includes various bug fixes including ones related to Glib and SSL/TLS PR: 249910 Submitted by: daniel.engberg.lists@pyret.net Approved by: dor.bsd@xm0.uk (maintainer)
Notes
Notes: svn path=/head/; revision=556069
Diffstat (limited to 'irc/irssi/Makefile')
-rw-r--r--irc/irssi/Makefile81
1 files changed, 36 insertions, 45 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 40f57dd7df21..1814f50972cb 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -1,11 +1,10 @@
# $FreeBSD$
PORTNAME= irssi
-PORTVERSION= 1.2.2
-PORTREVISION= 1
+DISTVERSION= 1.3-dev-344
+DISTVERSIONSUFFIX= -gf57dcfe9
PORTEPOCH= 1
CATEGORIES?= irc
-MASTER_SITES= https://github.com/irssi/irssi/releases/download/${PORTVERSION}/
MAINTAINER= dor.bsd@xm0.uk
COMMENT= Modular IRC client with many features
@@ -13,56 +12,48 @@ COMMENT= Modular IRC client with many features
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf cpe gettext-runtime gmake gnome libtool localbase \
- ncurses pkgconfig tar:xz
+# Until upstream makes a new release disable cpe
+USES= gettext-runtime gnome meson localbase:ldflags ncurses \
+ pkgconfig ssl
USE_GNOME= glib20
+USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
+USE_GITHUB= yes
+GH_TAGNAME= f57dcfe
-OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY SOCKS TRUECOLOR UTF8PROC
-OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY SOCKS TRUECOLOR
+MESON_ARGS= -Dinstall-glib=no -Ddisable-gregex=no -Dstatic-dependency=no \
+ -Dwith-fuzzer=no -Dwithout-textui=no
-OPTIONS_SUB= yes
-BOT_DESC= Bot support
-BOT_CONFIGURE_WITH= bot
-CAPSICUM_DESC= Capsicum support
-CAPSICUM_CONFIGURE_WITH= capsicum
-OTR_DESC= OTR (off-the-record) support
-OTR_CONFIGURE_ON= --with-otr \
- --with-libotr-inc-prefix=${PREFIX}/include
-OTR_CONFIGURE_OFF= --with-otr=no
-OTR_CONFIGURE_WITH= otr
+# 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 \
- libgpg-error.so:security/libgpg-error \
libotr.so:security/libotr
-PERL_USES= perl5
-PERL_CONFIGURE_ON= --with-perl-lib=site
-PERL_CONFIGURE_OFF= --with-perl=no
-PROXY_CONFIGURE_WITH= proxy
-SOCKS_DESC= Socks proxy support
-SOCKS_CONFIGURE_WITH= socks
-TRUECOLOR_DESC= Truecolor (24bit) support
-TRUECOLOR_CONFIGURE_ENABLE= true-color
-UTF8PROC_DESC= utf8proc support
+OTR_MESON_YES= with-otr
+PERL_USES= perl5
+PERL_MESON_YES= with-perl
+PROXY_MESON_YES= with-proxy
+TRUECOLOR_MESON_YES= enable-true-color
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
-UTF8PROC_CONFIGURE_ENABLE= utf8proc
-
-.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS+= --disable-ssl
-.else
-USES+= ssl
-.endif
+UTF8PROC_MESON_NO= disable-utf8proc
post-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/irssi/modules
- @${MV} ${STAGEDIR}${PREFIX}/etc/irssi.conf \
- ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
-
-post-install-PERL-on:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/Irssi.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/Irc/Irc.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/TextUI/TextUI.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Irssi/UI/UI.so
+ @${MV} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
.include <bsd.port.mk>