readme.md contains a fair bit of details about tg's config.py which
otherwise requries a browser to learn about.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/tg/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    9 Jun 2021 10:44:05 -0000       1.1.1.1
+++ Makefile    27 Aug 2021 20:57:01 -0000
@@ -3,6 +3,7 @@
 COMMENT =      ncurses Telegram client
 
 MODPY_EGG_VERSION =    0.17.0
+REVISION =             0
 
 DISTNAME =     tg-${MODPY_EGG_VERSION}
 
@@ -20,5 +21,11 @@ MODPY_SETUPTOOLS =   Yes
 NO_TEST =              Yes
 
 RUN_DEPENDS =          net/py-telegram${MODPY_FLAVOR}
+
+DOCDIR =               ${PREFIX}/share/doc/tg
+
+post-install:
+       ${INSTALL_DATA_DIR} ${DOCDIR}/
+       ${INSTALL_DATA} ${WRKSRC}/readme.md ${DOCDIR}/
 
 .include <bsd.port.mk>
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/MESSAGE 27 Aug 2021 20:57:02 -0000
@@ -0,0 +1,3 @@
+fzf is required to create groups and secret chats
+(used for single and multiple user selection):
+       # pkg_add fzf
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/tg/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   9 Jun 2021 10:44:05 -0000       1.1.1.1
+++ pkg/PLIST   27 Aug 2021 20:58:16 -0000
@@ -33,3 +33,5 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/tg/update_handlers.py
 lib/python${MODPY_VERSION}/site-packages/tg/utils.py
 lib/python${MODPY_VERSION}/site-packages/tg/views.py
+share/doc/tg/
+share/doc/tg/readme.md

Reply via email to