aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
Diffstat (limited to 'comms')
-rw-r--r--comms/kermit/Makefile3
-rw-r--r--comms/kermit/pkg-plist28
2 files changed, 17 insertions, 14 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 6fe99631177..88f84d2b858 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kermit
PORTVERSION= 8.0.209
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
ftp://ftp.icm.edu.pl/pub/kermit/archives/
@@ -43,6 +44,7 @@ MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit
${INSTALL_MAN} ${WRKSRC}/ckuker.nr ${PREFIX}/man/man1/kermit.1
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ckaaaa.txt ${DOCSDIR}/READ.ME
@for file in COPYING.TXT ckcbwr.txt ckccfg.txt ckcplm.txt \
@@ -51,6 +53,7 @@ do-install:
${ECHO} "Installing ${DOCSDIR}/$${file} ..." ; \
${INSTALL_DATA} ${WRKSRC}/$${file} ${DOCSDIR}; \
done
+.endif
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc
${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc
diff --git a/comms/kermit/pkg-plist b/comms/kermit/pkg-plist
index 371d9c42cfe..a46dd3a7f0c 100644
--- a/comms/kermit/pkg-plist
+++ b/comms/kermit/pkg-plist
@@ -1,16 +1,16 @@
@comment $FreeBSD$
bin/kermit
-share/doc/kermit/COPYING.TXT
-share/doc/kermit/READ.ME
-share/doc/kermit/ckcbwr.txt
-share/doc/kermit/ckccfg.txt
-share/doc/kermit/ckcplm.txt
-share/doc/kermit/ckermit70.txt
-share/doc/kermit/ckermit80.txt
-share/doc/kermit/ckubwr.txt
-share/doc/kermit/ckuins.txt
-share/doc/kermit/ckututor.txt
-share/examples/kermit/dot.kermrc
-share/examples/kermit/dot.mykermrc
-@dirrm share/doc/kermit
-@dirrm share/examples/kermit
+%%PORTDOCS%%%%DOCSDIR%%/COPYING.TXT
+%%PORTDOCS%%%%DOCSDIR%%/READ.ME
+%%PORTDOCS%%%%DOCSDIR%%/ckcbwr.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckccfg.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckcplm.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckermit70.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckermit80.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckubwr.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckuins.txt
+%%PORTDOCS%%%%DOCSDIR%%/ckututor.txt
+%%EXAMPLESDIR%%/dot.kermrc
+%%EXAMPLESDIR%%/dot.mykermrc
+@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%