From 649cf63c8e086264e85d693120759237087f33d0 Mon Sep 17 00:00:00 2001 From: dinoex Date: Tue, 8 Jan 2002 07:53:01 +0000 Subject: - Added more examples --- news/suck/Makefile | 15 ++++++++++----- news/suck/pkg-plist | 6 ++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/news/suck/Makefile b/news/suck/Makefile index 7d35b675844b..2faaa61d034d 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -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 diff --git a/news/suck/pkg-plist b/news/suck/pkg-plist index edf36867a6f9..4f807823ffcf 100644 --- a/news/suck/pkg-plist +++ b/news/suck/pkg-plist @@ -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 -- cgit