aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2000-02-20 18:10:34 +0800
committerjoerg <joerg@FreeBSD.org>2000-02-20 18:10:34 +0800
commit83123aa8411cb76cf9df4268b709b233006eafc1 (patch)
treec39024612f3a808ad2dd50da9ab6d1580c47a4ed /comms
parent35079ed421850f91c7f36e99d06ca8311c004d1c (diff)
downloadfreebsd-ports-gnome-83123aa8411cb76cf9df4268b709b233006eafc1.tar.gz
freebsd-ports-gnome-83123aa8411cb76cf9df4268b709b233006eafc1.tar.zst
freebsd-ports-gnome-83123aa8411cb76cf9df4268b709b233006eafc1.zip
Install kermit documentation and example files correctly. This is
basically what the PR suggested, although i did it somewhat differently. (The PR was related to the previous version of Kermit anyway.) After asking Frank da Cruz again, i did however decide to not run the shipped ckermit.ini (alias .kermrc) by default; the defaults of Kermit version 7 are supposed to fit the needs of most people, so there is no need to run the .ini file for everybody. Those who want it can still find it in the `examples' directory (and Frank suggested users who like to do this can easily run this as a `kerbang' script file instead of starting the plain kermit binary). PR: ports/14894 Submitted by: Oh Junseon <hollywar@holywar.net>
Diffstat (limited to 'comms')
-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