diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-02-20 15:36:33 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-02-20 15:36:33 +0000 |
commit | 0bcd11754bcb9589b7fbe8f6c3cf70a972ac7850 (patch) | |
tree | 88039850342a86912b6b061fba601fa256cf1586 /news | |
parent | 3233729ade6a99be0ac29e3438dcbd944703c1e1 (diff) |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/nntp/Makefile | 12 | ||||
-rw-r--r-- | news/nntp/pkg-message | 3 | ||||
-rw-r--r-- | news/nntp/pkg-plist | 11 |
3 files changed, 26 insertions, 0 deletions
diff --git a/news/nntp/Makefile b/news/nntp/Makefile index c201eb79e3e9..90c4839c9dbe 100644 --- a/news/nntp/Makefile +++ b/news/nntp/Makefile @@ -27,6 +27,8 @@ PLIST_SUB+= NEWSBIN=${NEWSBIN:S=${PREFIX}/==} PLIST_SUB+= NEWSCTL=${NEWSCTL:S=${PREFIX}/==} MODIFY= conf.h Makefile +DOCSFILES1= AUTHORIZE CHANGES README README-conf.h SYSLOG doc/rfc977 +DOCSFILES2= server support xfer xmit NEWSBIN?= ${PREFIX}/news/cnewsbin NEWSCTL?= ${PREFIX}/news/lib @@ -53,5 +55,15 @@ pre-configure: post-install: ${INSTALL_DATA} ${WRKSRC}/overview.fmt ${NEWSCTL}/overview.fmt +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${DOCSFILES1} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ +.endfor +.for i in ${DOCSFILES2} + ${INSTALL_DATA} ${WRKSRC}/${i}/README ${DOCSDIR}/${i}-README +.endfor +.endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/news/nntp/pkg-message b/news/nntp/pkg-message new file mode 100644 index 000000000000..1a76024b4488 --- /dev/null +++ b/news/nntp/pkg-message @@ -0,0 +1,3 @@ + +Create a user "usenet" if you allow nntp to post. + diff --git a/news/nntp/pkg-plist b/news/nntp/pkg-plist index d155111ce20c..efd0da3ec213 100644 --- a/news/nntp/pkg-plist +++ b/news/nntp/pkg-plist @@ -5,3 +5,14 @@ sbin/nntpd @comment just in case anyone wants it %%NEWSBIN%%/shlock %%NEWSCTL%%/overview.fmt +%%PORTDOCS%%share/doc/nntp/AUTHORIZE +%%PORTDOCS%%share/doc/nntp/CHANGES +%%PORTDOCS%%share/doc/nntp/README +%%PORTDOCS%%share/doc/nntp/README-conf.h +%%PORTDOCS%%share/doc/nntp/SYSLOG +%%PORTDOCS%%share/doc/nntp/rfc977 +%%PORTDOCS%%share/doc/nntp/server-README +%%PORTDOCS%%share/doc/nntp/support-README +%%PORTDOCS%%share/doc/nntp/xfer-README +%%PORTDOCS%%share/doc/nntp/xmit-README +%%PORTDOCS%%@dirrm share/doc/nntp |