diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-01-08 07:53:01 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-01-08 07:53:01 +0000 |
commit | 649cf63c8e086264e85d693120759237087f33d0 (patch) | |
tree | 61f488a180a5b20cfa9ea547ed7a4804ddfa5105 /news | |
parent | 11ba82ab9288a00309000e07a84059effd2377c8 (diff) | |
download | FreeBSD-ports-649cf63c8e086264e85d693120759237087f33d0.zip FreeBSD-ports-649cf63c8e086264e85d693120759237087f33d0.tar.gz |
- Added more examples
Diffstat (limited to 'news')
-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 7d35b67..2faaa61 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 edf3686..4f80782 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 |