aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-Text-ChaSen
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2008-12-11 22:42:53 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2008-12-11 22:42:53 +0000
commit2372e3a9edfac6980171592f49f04f8e601f5612 (patch)
tree9ade28406e3e2a756cd28b40edd1892a43239836 /japanese/p5-Text-ChaSen
parent01c8b54c496397b869f39bc82cd7bb5c835c1049 (diff)
downloadports-2372e3a9edfac6980171592f49f04f8e601f5612.tar.gz
ports-2372e3a9edfac6980171592f49f04f8e601f5612.zip
Fix BROKEN.
Utilize DOCSDIR.
Notes
Notes: svn path=/head/; revision=224128
Diffstat (limited to 'japanese/p5-Text-ChaSen')
-rw-r--r--japanese/p5-Text-ChaSen/Makefile6
-rw-r--r--japanese/p5-Text-ChaSen/pkg-plist3
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%%