1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/irc/irssi/Makefile
Neel Chauhan 10cd350704 irc/irssi: Revert to 1.2.2
The reason for the revert is complaints on IRC and questions to the maintainer
via email.

This commit:

  - Restores the port to what it was before 1.3
  - Bumps PORTEPOCH and PORTREVISION to 2
    - These were both at 1 on the previous 1.2.2 package
  - Fixes a minor issue when compiling with OTR (--with-otr being passed twice)
  - Includes a patch for a glib related issue where pushing ctrl+space could break the client

This commit brings the port back inline with the current release version of
irssi as advertised on their download page (1.2.2 client + glib patch).

PR:		254237
Submitted by:	David O'Rourke <dor.bsd@xm0.uk> (maintainer)
2021-03-15 17:38:14 +00:00

71 lines
2.0 KiB
Makefile

# $FreeBSD$
PORTNAME= irssi
PORTVERSION= 1.2.2
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES?= irc
MASTER_SITES= https://github.com/irssi/irssi/releases/download/${PORTVERSION}/
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= autoreconf cpe gettext-runtime gmake gnome libtool localbase \
ncurses pkgconfig tar:xz
USE_GNOME= glib20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= BOT CAPSICUM DOCS OTR PERL PROXY SOCKS TRUECOLOR \
UTF8PROC
OPTIONS_DEFAULT= BOT CAPSICUM PERL PROXY SOCKS TRUECOLOR
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-libotr-inc-prefix=${PREFIX}/include
OTR_CONFIGURE_OFF= --with-otr=no
OTR_CONFIGURE_WITH= otr
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= True color support
TRUECOLOR_CONFIGURE_ENABLE= true-color
UTF8PROC_DESC= utf8proc support
UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_CONFIGURE_ENABLE= utf8proc
.if defined(WITHOUT_SSL)
CONFIGURE_ARGS+= --disable-ssl
.else
USES+= ssl
.endif
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
.include <bsd.port.mk>