git: 3608bf47d83d - main - irc/ircII: Moved man to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Feb 2024 11:20:44 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3608bf47d83da405caca40eebf79b75c43a1a0ca
commit 3608bf47d83da405caca40eebf79b75c43a1a0ca
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-24 11:04:15 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-24 11:19:09 +0000
irc/ircII: Moved man to share/man
Approved by: portmgr (blanket)
---
irc/ircII/Makefile | 5 +++--
irc/ircII/pkg-plist | 6 +++---
2 files changed, 6 insertions(+), 5 deletions(-)
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/: