Both manpages and manual.html are shipped as is, they are not built.
Since we don't install anything else, further HTML pages need no
building and asciidoc is not required/used.
Using the port's install-doc-man target simplifies things.
Builds and pacakges fine without asciidoc installed, no PLIST change.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/tig/Makefile,v
retrieving revision 1.31
diff -u -p -r1.31 Makefile
--- Makefile 20 Nov 2019 10:26:29 -0000 1.31
+++ Makefile 1 Apr 2020 13:03:09 -0000
@@ -18,30 +18,28 @@ WANTLIB += c curses iconv
MASTER_SITES = https://github.com/jonas/tig/releases/download/tig-$V/
-BUILD_DEPENDS = textproc/asciidoc \
- textproc/xmlto
+BUILD_DEPENDS = textproc/xmlto
RUN_DEPENDS = devel/git
LIB_DEPENDS = converters/libiconv
USE_GMAKE = Yes
-ALL_TARGET = all doc-man doc-html
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-libiconv=${LOCALBASE} DOCBOOK2PDF=false
MAKE_FLAGS = V=1
-FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/tig
+FAKE_FLAGS = mandir=${PREFIX}/man \
+ sysconfdir=${PREFIX}/share/examples/tig \
+
+FAKE_TARGET = install install-doc-man
NO_TEST = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tig
${INSTALL_DATA} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/tig
- ${INSTALL_MAN} ${WRKSRC}/doc/tig.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/doc/tigrc.5 ${PREFIX}/man/man5
- ${INSTALL_MAN} ${WRKSRC}/doc/tigmanual.7 ${PREFIX}/man/man7
.include <bsd.port.mk>
No comments:
Post a Comment