Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2020 18:10:06 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556594 - head/irc/irssi
Message-ID:  <202011291810.0ATIA6h7024952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sun Nov 29 18:10:06 2020
New Revision: 556594
URL: https://svnweb.freebsd.org/changeset/ports/556594

Log:
  irc/irssi: Fix Perl support option
  
  Make Perl a run time option only when Perl option is selected. Perl is needed to
  build always.
  
  PR:	251406
  Submitted by:	dor.bsd@xm0.uk (maintainer)
  Reported by:	daniel.engberg.lists@pyret.net

Modified:
  head/irc/irssi/Makefile
  head/irc/irssi/pkg-plist

Modified: head/irc/irssi/Makefile
==============================================================================
--- head/irc/irssi/Makefile	Sun Nov 29 17:50:13 2020	(r556593)
+++ head/irc/irssi/Makefile	Sun Nov 29 18:10:06 2020	(r556594)
@@ -3,6 +3,7 @@
 PORTNAME=	irssi
 DISTVERSION=	1.3-dev-344
 DISTVERSIONSUFFIX=	-gf57dcfe9
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES?=	irc
 
@@ -52,7 +53,16 @@ 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:
-	@${MV} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/irssi.conf ${STAGEDIR}${PREFIX}/etc/irssi.conf.sample
 
 .include <bsd.port.mk>

Modified: head/irc/irssi/pkg-plist
==============================================================================
--- head/irc/irssi/pkg-plist	Sun Nov 29 17:50:13 2020	(r556593)
+++ head/irc/irssi/pkg-plist	Sun Nov 29 18:10:06 2020	(r556594)
@@ -275,16 +275,15 @@ man/man1/irssi.1.gz
 %%DATADIR%%/help/whois
 %%DATADIR%%/help/whowas
 %%DATADIR%%/help/window
-%%DATADIR%%/scripts/autoop.pl
-%%DATADIR%%/scripts/autorejoin.pl
-%%DATADIR%%/scripts/buf.pl
-%%DATADIR%%/scripts/dns.pl
-%%DATADIR%%/scripts/kills.pl
-%%DATADIR%%/scripts/mail.pl
-%%DATADIR%%/scripts/mlock.pl
-%%DATADIR%%/scripts/quitmsg.pl
-%%DATADIR%%/scripts/scriptassist.pl
-%%DATADIR%%/scripts/usercount.pl
+%%PERL%%%%DATADIR%%/scripts/autoop.pl
+%%PERL%%%%DATADIR%%/scripts/autorejoin.pl
+%%PERL%%%%DATADIR%%/scripts/buf.pl
+%%PERL%%%%DATADIR%%/scripts/dns.pl
+%%PERL%%%%DATADIR%%/scripts/kills.pl
+%%PERL%%%%DATADIR%%/scripts/mail.pl
+%%PERL%%%%DATADIR%%/scripts/mlock.pl
+%%PERL%%%%DATADIR%%/scripts/quitmsg.pl
+%%PERL%%%%DATADIR%%/scripts/scriptassist.pl
+%%PERL%%%%DATADIR%%/scripts/usercount.pl
 %%DATADIR%%/themes/colorless.theme
 %%DATADIR%%/themes/default.theme
-@dir lib/irssi/modules



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011291810.0ATIA6h7024952>