git: eb64f8ad82f2 - main - devel/gengetopt: Remove makeinfo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Oct 2023 10:11:04 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=eb64f8ad82f297be34c230ce62ddb34324d01457
commit eb64f8ad82f297be34c230ce62ddb34324d01457
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-21 09:03:16 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-21 10:10:50 +0000
devel/gengetopt: Remove makeinfo
The dist comes with an info file pre-built so no need to regenerate the
info file.
---
devel/gengetopt/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile
index b053fe0f4fdb..62cfa71b6d8c 100644
--- a/devel/gengetopt/Makefile
+++ b/devel/gengetopt/Makefile
@@ -10,7 +10,7 @@ WWW= https://www.gnu.org/software/gengetopt/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= makeinfo tar:xz
+USES= tar:xz
USE_CXXSTD= c++14
GNU_CONFIGURE= yes
@@ -32,6 +32,9 @@ DOC_EXAMPLES= README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h \
TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \
test_manual_help_cmd.ggo test_manual_help_cmd.h
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.in
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/