diff --git a/irc/ircII/Makefile b/irc/ircII/Makefile index c9309f842104..b5aa292cf070 100644 --- a/irc/ircII/Makefile +++ b/irc/ircII/Makefile @@ -1,5 +1,6 @@ PORTNAME= ircii PORTVERSION= 20210314 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://ircii.warped.com/ @@ -10,6 +11,7 @@ WWW= http://www.eterna.com.au/ircii/ LICENSE= BSD3CLAUSE GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${STAGEDIR}/${PREFIX}/share CONFIGURE_ARGS= --with-warnings DATADIR= ${PREFIX}/share/irc USES= cpe iconv ncurses tar:bzip2 @@ -38,8 +40,7 @@ CPPFLAGS+= -I${ICONV_PREFIX}/include LDFLAGS+= -L${ICONV_PREFIX}/lib post-patch: - @${REINPLACE_CMD} -e '/^mandir =/s/@mandir@/$${DESTDIR}&/' \ - -e '/^LDFLAGS =/s/$$/ ${STRIP} ${ICONV_LIB}/' \ + @${REINPLACE_CMD} -e '/^LDFLAGS =/s/$$/ ${STRIP} ${ICONV_LIB}/' \ -e '/^INCLUDES =/s|$$| -I${ICONV_PREFIX}/include -DHAVE_ICONV_OPEN|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|PREFIX/|${PREFIX}/|' ${WRKSRC}/doc/ircII.1 diff --git a/irc/ircII/pkg-plist b/irc/ircII/pkg-plist index de05a8554683..d2f7e81520ec 100644 --- a/irc/ircII/pkg-plist +++ b/irc/ircII/pkg-plist @@ -1,11 +1,11 @@ %%IRCBUG%%bin/ircbug -%%IRCBUG%%man/man1/ircbug.1.gz +%%IRCBUG%%share/man/man1/ircbug.1.gz bin/irc bin/ircflush libexec/ircio libexec/wserv -man/man1/irc.1.gz -man/man1/ircII.1.gz +share/man/man1/irc.1.gz +share/man/man1/ircII.1.gz %%HELP%%%%DATADIR%%/help/! %%HELP%%%%DATADIR%%/help/.date %%HELP%%%%DATADIR%%/help/: