aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Plagger
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2007-10-15 06:45:27 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2007-10-15 06:45:27 +0000
commit74cd87da2b26686421ff434cf16352ef36d07e85 (patch)
treefd22223d6c364097f5dcdd9f490df0850f73e328 /textproc/p5-Plagger
parent0c3ba96a556429e454bad53682401a1ff29a2619 (diff)
downloadports-74cd87da2b26686421ff434cf16352ef36d07e85.tar.gz
ports-74cd87da2b26686421ff434cf16352ef36d07e85.zip
Fix installation problem and add Summary::Japanes supporting.
Notes
Notes: svn path=/head/; revision=201488
Diffstat (limited to 'textproc/p5-Plagger')
-rw-r--r--textproc/p5-Plagger/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/textproc/p5-Plagger/Makefile b/textproc/p5-Plagger/Makefile
index d5c72418ff0e..1bbc0e5d0521 100644
--- a/textproc/p5-Plagger/Makefile
+++ b/textproc/p5-Plagger/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Plagger
PORTVERSION= 0.7.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/M/MI/MIYAGAWA
@@ -102,10 +102,10 @@ OPTIONS= BETTERENCODING "Better Encoding detection Support" on \
FILHTMLSCRB "Filter::HTMLScrubber Support" on \
PLANETINI "Subscription::PlanetINI Support" off \
SUMMARYENG "Summary-English Support" off \
+ SUMJPN "Summary::Japanes" off \
SUMTEXTORG "Summary-TextOriginal Support" off \
# The below are not supported yet due to lack of depending ports
# PRSJPNDATE "Parse Japanese datetime format" off \
-# SUMJPN "Summary::Japanes" off \
.include <bsd.port.pre.mk>
@@ -365,6 +365,10 @@ BUILD_DEPENDS+= ${SITE_PERL}/Config/INI/Simple.pm:${PORTSDIR}/devel/p5-Config-IN
BUILD_DEPENDS+= ${SITE_PERL}/Lingua/EN/Summarize.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Summarize
.endif
+.if defined(WITH_SUMJPN)
+BUILD_DEPENDS+= ${SITE_PERL}/Lingua/JA/Summarize/Extract.pm:${PORTSDIR}/japanese/p5-Lingua-JA-Summarize-Extract
+.endif
+
.if defined(WITH_SUMTEXTORG)
BUILD_DEPENDS+= ${SITE_PERL}/Text/Original.pm:${PORTSDIR}/textproc/p5-Text-Original
.endif
@@ -551,6 +555,7 @@ MAN3= Plagger.3 \
post-patch:
${PERL} -pi -e '$$_ = "" if m|auto_install|' ${WRKSRC}/Makefile.PL
+ ${RM} ${WRKSRC}/lib/Plagger/Plugin/Publish/Feed.pm.orig
post-install:
.if !defined(NOPORTDOCS)