diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-08 07:53:01 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-01-08 07:53:01 +0000 |
commit | 8b8bf0cb92a67818dff314044a2c9aba9daf9ec4 (patch) | |
tree | cf4907996329102eb6203538bde8c8c79805918c /news/suck | |
parent | Libstocks is a C library which can be used to fetch stocks quotes. (diff) |
- Added more examples
Notes
Notes:
svn path=/head/; revision=52749
Diffstat (limited to 'news/suck')
-rw-r--r-- | news/suck/Makefile | 15 | ||||
-rw-r--r-- | 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 <bsd.port.post.mk> 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 |