summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi/Makefile12
-rw-r--r--irc/irssi/pkg-plist21
2 files changed, 21 insertions, 12 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>
diff --git a/irc/irssi/pkg-plist b/irc/irssi/pkg-plist
index d25739eacb27..0d37578458d7 100644
--- a/irc/irssi/pkg-plist
+++ b/irc/irssi/pkg-plist
@@ -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