diff options
author | naddy <naddy@FreeBSD.org> | 2003-04-07 22:17:51 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2003-04-07 22:17:51 +0800 |
commit | 6e82170d1cf5a557366de5021e3bcc69dc33ee80 (patch) | |
tree | 79a5017524ee9af9bc7bc84ce6722b71e9bb7fa5 | |
parent | 1086b60179f7c6534d1da61c51724d028bf1c6b6 (diff) | |
download | freebsd-ports-gnome-6e82170d1cf5a557366de5021e3bcc69dc33ee80.tar.gz freebsd-ports-gnome-6e82170d1cf5a557366de5021e3bcc69dc33ee80.tar.zst freebsd-ports-gnome-6e82170d1cf5a557366de5021e3bcc69dc33ee80.zip |
Support NOPORTDOCS.
PR: 50671
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
-rw-r--r-- | comms/kermit/Makefile | 3 | ||||
-rw-r--r-- | comms/kermit/pkg-plist | 28 |
2 files changed, 17 insertions, 14 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile index 6fe99631177d..88f84d2b858f 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 371d9c42cfe2..a46dd3a7f0c5 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%% |