diff options
Diffstat (limited to 'irc/irssi')
-rw-r--r-- | irc/irssi/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index ac8f7a55166e..01581d1d49cd 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -17,6 +17,7 @@ COMMENT?= A modular IRC client with many features CONFLICTS= irssi-devel-* USE_BZIP2= yes +USE_REPLACE= yes GNU_CONFIGURE= yes WANT_GNOME= yes @@ -134,6 +135,10 @@ pre-extract: @${ECHO} " WITH_BOT=yes|no Enable BOT support [no]" @${ECHO} "" +post-patch: + @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' -e 's|/etc|${PREFIX}&|' \ + ${WRKSRC}/docs/irssi.1 + pre-configure: @cd ${WRKSRC} && ${MV} irssi.conf irssi.conf.sample || ${TRUE} |