From d97ffe8e2356d7ef4fcd6a2da13e8701c225be3d Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 31 Aug 2006 04:03:33 +0000 Subject: [PATCH] - Install examples - Trrn off BETTERENCODING in default to sync with orignal distribution. Submitted by: otsune@gmail.com --- textproc/p5-Plagger/Makefile | 9 ++++++++- textproc/p5-Plagger/pkg-plist | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/textproc/p5-Plagger/Makefile b/textproc/p5-Plagger/Makefile index 1d02ef8546a1..5c2c760ff0e5 100644 --- a/textproc/p5-Plagger/Makefile +++ b/textproc/p5-Plagger/Makefile @@ -7,6 +7,7 @@ PORTNAME= Plagger PORTVERSION= 0.7.10 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= ../by-authors/id/M/MI/MIYAGAWA @@ -37,7 +38,7 @@ BUILD_DEPENDS= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accesso ${SITE_PERL}/HTML/ResolveLink.pm:${PORTSDIR}/www/p5-HTML-ResolveLink \ ${SITE_PERL}/URI/Fetch.pm:${PORTSDIR}/www/p5-URI-Fetch -OPTIONS= BETTERENCODING "Better Encoding detection Support" on \ +OPTIONS= BETTERENCODING "Better Encoding detection Support" off \ PODTESTING "POD Testing Support" off \ COOKIESHARING "Cookie sharing with Firefox Support" off \ LIBERALXML "Liberal XML parsing Support" on \ @@ -436,4 +437,10 @@ MAN3= Plagger.3 Plagger::Cookies.3 \ post-patch: ${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.yaml ${EXAMPLESDIR}/ +.endif + .include diff --git a/textproc/p5-Plagger/pkg-plist b/textproc/p5-Plagger/pkg-plist index 7c76791c9da4..a5269bf006e7 100644 --- a/textproc/p5-Plagger/pkg-plist +++ b/textproc/p5-Plagger/pkg-plist @@ -206,6 +206,20 @@ bin/plagger-ircbot %%SITE_PERL%%/Plagger/Util.pm %%SITE_PERL%%/Plagger/Walker.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plagger/.packlist +%%PORTDOCS%%%%EXAMPLESDIR%%/atode.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/bloglines2gmail.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/iefav2opml.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/irc.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/livedoorreader2gmail.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/planet-old.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/planet.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/podcast.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/rss2email.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/search.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/weather-notify.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/xoxo-planet.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/xoxo2opml.yaml +%%PORTDOCS%%%%EXAMPLESDIR%%/yapcvideo.yaml @dirrm %%SITE_PERL%%/Plagger/TT/Plagger @dirrm %%SITE_PERL%%/Plagger/TT @dirrm %%SITE_PERL%%/Plagger/Rule/Deduped @@ -233,3 +247,4 @@ bin/plagger-ircbot @dirrm %%SITE_PERL%%/Plagger/Cache @dirrm %%SITE_PERL%%/Plagger @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plagger +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%