- Added more examples

This commit is contained in:
Dirk Meyer 2002-01-08 07:53:01 +00:00
parent a68162ee38
commit 8b8bf0cb92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52749
2 changed files with 16 additions and 5 deletions

View file

@ -18,6 +18,9 @@ GNU_CONFIGURE= yes
USE_OPENSSL= yes
.endif
MAN1= suck.1 rpost.1 testhost.1 lmove.1
EX_SCRIPTS= get.news.generic get.news.inn perl_kill.pl perl_xover.pl \
post_filter.pl put.news put.news.pl put.news.sm put.news.sm.pl
EX_DATA= suckkillfile.sample sucknewsrc.sample suckothermsgs.sample
.if defined(NEWSBIN)
PKGNAMESUFFIX= -cnews
@ -51,13 +54,15 @@ post-patch:
@${PERL5} -pi -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \
${WRKSRC}/suck_config.h
post-install:
.if !defined(NOPORTDOCS)
post-install:
${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.inn ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/sample/get.news.generic ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/sample/put.news ${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/sample/*.sample ${EXAMPLESDIR}/
.for i in ${EX_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/sample/${i} ${EXAMPLESDIR}/
.endfor
.for i in ${EX_DATA}
${INSTALL_DATA} ${WRKSRC}/sample/${i} ${EXAMPLESDIR}/
.endfor
.endif
.include <bsd.port.post.mk>

View file

@ -4,7 +4,13 @@ bin/suck
bin/testhost
%%PORTDOCS%%share/examples/suck/get.news.generic
%%PORTDOCS%%share/examples/suck/get.news.inn
%%PORTDOCS%%share/examples/suck/perl_kill.pl
%%PORTDOCS%%share/examples/suck/perl_xover.pl
%%PORTDOCS%%share/examples/suck/post_filter.pl
%%PORTDOCS%%share/examples/suck/put.news
%%PORTDOCS%%share/examples/suck/put.news.pl
%%PORTDOCS%%share/examples/suck/put.news.sm
%%PORTDOCS%%share/examples/suck/put.news.sm.pl
%%PORTDOCS%%share/examples/suck/suckkillfile.sample
%%PORTDOCS%%share/examples/suck/sucknewsrc.sample
%%PORTDOCS%%share/examples/suck/suckothermsgs.sample