summaryrefslogtreecommitdiff
path: root/irc/irssi/Makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-29 18:10:06 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2020-11-29 18:10:06 +0000
commiteb1f805caabfd657b236844a1cd87d60e471e2f5 (patch)
treeff69d31a131031696ad310c811ce02645d50d225 /irc/irssi/Makefile
parentdevel/gh: Update to 1.3.0 (diff)
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
Notes
Notes: svn path=/head/; revision=556594
Diffstat (limited to 'irc/irssi/Makefile')
-rw-r--r--irc/irssi/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index 3e9574777271..44686bfc4eab 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -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>