Hey Tobias,
Tobias Ulmer [Fri, Oct 24, 2008 at 11:48:47PM +0200] wrote:
>a very handy (imho) ncurses based git repo browser aka gitk for the
>console junkie
>
>tested on i386 with linux and drm repos
>
I think we should also install the manpages and the manual.
diff --git a/devel/tig/Makefile b/devel/tig/Makefile
index 22aabf8..45444d3 100644
--- a/devel/tig/Makefile
+++ b/devel/tig/Makefile
@@ -23,4 +23,10 @@ CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-libiconv=${LOCALBASE}
NO_REGRESS = Yes
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tig
+ ${INSTALL_DATA} ${WRKBUILD}/manual.* ${PREFIX}/share/doc/tig
+ ${INSTALL_MAN} ${WRKBUILD}/tig.1 ${PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKBUILD}/tigrc.5 ${PREFIX}/man/man5
+
.include <bsd.port.mk>
diff --git a/devel/tig/pkg/PLIST b/devel/tig/pkg/PLIST
index 987be07..5dc27b4 100644
--- a/devel/tig/pkg/PLIST
+++ b/devel/tig/pkg/PLIST
@@ -1,2 +1,7 @@
@comment $OpenBSD$
@bin bin/tig
[EMAIL PROTECTED] man/man1/tig.1
[EMAIL PROTECTED] man/man5/tigrc.5
+share/doc/tig/
+share/doc/tig/manual.html
+share/doc/tig/manual.txt
I'll commit this.
Regards,
Bernd