aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/kermit/Makefile28
-rw-r--r--comms/kermit/pkg-plist20
2 files changed, 46 insertions, 2 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 6084b375c32a..f81ed9821f70 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -19,7 +19,31 @@ MANCOMPRESSED= yes
post-install:
@${MKDIR} ${PREFIX}/share/examples/kermit
- ${INSTALL_DATA} ${FILESDIR}/dot.kermrc ${PREFIX}/share/examples/kermit
- @${CAT} ${PKGDIR}/DESCR
+ @${MKDIR} ${PREFIX}/share/doc/kermit
+ ${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${PREFIX}/share/doc/kermit/READ.ME
+ @for file in ckuaaa.txt ckermit2.txt ckcbwr.txt ckubwr.txt \
+ ckuins.txt telnet.txt security.txt iksd.txt ckcplm.txt \
+ ckccfg.txt ; \
+ do \
+ echo Installing ${PREFIX}/share/doc/kermit/$${file} ... ; \
+ ${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/share/doc/kermit/; \
+ done
+ @set -- \
+ ckermit.ini dot.kermrc \
+ ckermod.ini dot.mykermrc \
+ ckurzsz.ini dot.rzszkermrc \
+ ckermit.kdd dot.kdd \
+ ckermit.knd dot.knd \
+ ckermit.ksd dot.ksd \
+ ckedemo.ksc ckedemo.ksc \
+ ckepage.ksc ckepage.ksc \
+ ckevt.ksc ckevt.ksc \
+ iksdpy iksdpy ; \
+ while [ $$# -gt 1 ] ; \
+ do \
+ file=$$1; dst=$$2 ; shift ; shift ; \
+ echo Installing $${file} as ${PREFIX}/share/examples/kermit/$${dst} ... ; \
+ ${INSTALL_DATA} ${WRKSRC}/$${file} ${PREFIX}/share/examples/kermit/$${dst}; \
+ done
.include <bsd.port.mk>
diff --git a/comms/kermit/pkg-plist b/comms/kermit/pkg-plist
index 919eef638254..ba6881dd7e3a 100644
--- a/comms/kermit/pkg-plist
+++ b/comms/kermit/pkg-plist
@@ -1,2 +1,22 @@
bin/kermit
+share/doc/kermit/READ.ME
+share/doc/kermit/ckuaaa.txt
+share/doc/kermit/ckermit2.txt
+share/doc/kermit/ckcbwr.txt
+share/doc/kermit/ckubwr.txt
+share/doc/kermit/ckuins.txt
+share/doc/kermit/telnet.txt
+share/doc/kermit/security.txt
+share/doc/kermit/iksd.txt
+share/doc/kermit/ckcplm.txt
+share/doc/kermit/ckccfg.txt
share/examples/kermit/dot.kermrc
+share/examples/kermit/dot.mykermrc
+share/examples/kermit/dot.rzszkermrc
+share/examples/kermit/dot.kdd
+share/examples/kermit/dot.knd
+share/examples/kermit/dot.ksd
+share/examples/kermit/ckedemo.ksc
+share/examples/kermit/ckepage.ksc
+share/examples/kermit/ckevt.ksc
+share/examples/kermit/iksdpy