aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-08 14:23:26 +0800
committerbapt <bapt@FreeBSD.org>2014-04-08 14:23:26 +0800
commit1aec992662f213fc805bafd914e960407c0b2ab1 (patch)
treedea87c09ef3cf667c13d855789e6b03e36e82d13 /japanese
parentd81d145e8e5887d9fb7ab7592efae5dbed9a2c3a (diff)
downloadfreebsd-ports-gnome-1aec992662f213fc805bafd914e960407c0b2ab1.tar.gz
freebsd-ports-gnome-1aec992662f213fc805bafd914e960407c0b2ab1.tar.zst
freebsd-ports-gnome-1aec992662f213fc805bafd914e960407c0b2ab1.zip
Support stage
Diffstat (limited to 'japanese')
-rw-r--r--japanese/p5-Text-ChaSen/Makefile10
-rw-r--r--japanese/p5-Text-ChaSen/pkg-plist2
2 files changed, 5 insertions, 7 deletions
diff --git a/japanese/p5-Text-ChaSen/Makefile b/japanese/p5-Text-ChaSen/Makefile
index 0eddd9d58d45..9647714519be 100644
--- a/japanese/p5-Text-ChaSen/Makefile
+++ b/japanese/p5-Text-ChaSen/Makefile
@@ -12,7 +12,7 @@ DISTNAME= chasen-${CHASEN_VERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= ChaSen library module for Perl5
-LIB_DEPENDS= chasen.2:${PORTSDIR}/japanese/chasen-base
+LIB_DEPENDS= libchasen.so:${PORTSDIR}/japanese/chasen-base
DISTINFO_FILE= ${.CURDIR}/../chasen-base/distinfo
@@ -22,18 +22,16 @@ WRKSRC= ${WRKDIR}/chasen-${CHASEN_VERSION}/perl
USES= perl5
USE_PERL5= configure
CONFIGURE_ENV= PREFIX="${PREFIX}"
-MAN3= Text::ChaSen.3
DOCSDIR= ${PREFIX}/share/doc/chasen
-NO_STAGE= yes
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README.perl
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README.perl
.endif
.include <bsd.port.post.mk>
diff --git a/japanese/p5-Text-ChaSen/pkg-plist b/japanese/p5-Text-ChaSen/pkg-plist
index 114b7d804d71..e7586627ba77 100644
--- a/japanese/p5-Text-ChaSen/pkg-plist
+++ b/japanese/p5-Text-ChaSen/pkg-plist
@@ -1,10 +1,10 @@
+%%PERL5_MAN3%%/Text::ChaSen.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Text/ChaSen.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen/ChaSen.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text
-@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
%%PORTDOCS%%%%DOCSDIR%%/README.perl
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%