diff options
-rw-r--r-- | japanese/p5-Text-ChaSen/Makefile | 6 | ||||
-rw-r--r-- | japanese/p5-Text-ChaSen/pkg-plist | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/japanese/p5-Text-ChaSen/Makefile b/japanese/p5-Text-ChaSen/Makefile index fc5b0a9fb098..861759771622 100644 --- a/japanese/p5-Text-ChaSen/Makefile +++ b/japanese/p5-Text-ChaSen/Makefile @@ -17,8 +17,6 @@ COMMENT= ChaSen library module for Perl5 LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen-base -BROKEN= does not install - MD5_FILE= ${.CURDIR}/../chasen-base/distinfo CHASEN_VERSION= 2.3.3 @@ -27,6 +25,7 @@ WRKSRC= ${WRKDIR}/chasen-${CHASEN_VERSION}/perl PERL_CONFIGURE= yes CONFIGURE_ENV= PREFIX="${PREFIX}" MAN3= Text::ChaSen.3 +DOCSDIR= ${PREFIX}/share/doc/chasen .include <bsd.port.pre.mk> @@ -34,7 +33,8 @@ PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5- post-install: .if !defined(NOPORTDOCS) - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/chasen/doc/README.perl + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${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 bd62cf284505..114b7d804d71 100644 --- a/japanese/p5-Text-ChaSen/pkg-plist +++ b/japanese/p5-Text-ChaSen/pkg-plist @@ -6,4 +6,5 @@ @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Text @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/ChaSen @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text -%%PORTDOCS%%share/chasen/doc/README.perl +%%PORTDOCS%%%%DOCSDIR%%/README.perl +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% |