aboutsummaryrefslogtreecommitdiff
path: root/japanese/wordnet-fpw
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/wordnet-fpw')
-rw-r--r--japanese/wordnet-fpw/Makefile5
-rw-r--r--japanese/wordnet-fpw/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/japanese/wordnet-fpw/Makefile b/japanese/wordnet-fpw/Makefile
index a0cc653cf7fc..1e638da81276 100644
--- a/japanese/wordnet-fpw/Makefile
+++ b/japanese/wordnet-fpw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= wordnet-fpw
PORTVERSION= ${WN_VER}.${WNFPW_VER}
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/wordnet/
DISTNAME= wordnet-${WN_VER}-fpw${WNFPW_VER}
@@ -27,8 +28,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/wordnet/data/honmon ${PREFIX}/share/dict/wordnet-fpw/wordnet/data
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/wordnet-fpw
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/wordnet-fpw
- ${INSTALL_DATA} ${WRKSRC}/readme ${PREFIX}/share/doc/wordnet-fpw
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/japanese/wordnet-fpw/pkg-plist b/japanese/wordnet-fpw/pkg-plist
index 9fc67a3303ee..e9a28b47f21d 100644
--- a/japanese/wordnet-fpw/pkg-plist
+++ b/japanese/wordnet-fpw/pkg-plist
@@ -3,5 +3,5 @@ share/dict/wordnet-fpw/wordnet/data/honmon
@dirrm share/dict/wordnet-fpw/wordnet/data
@dirrm share/dict/wordnet-fpw/wordnet
@dirrm share/dict/wordnet-fpw
-share/doc/wordnet-fpw/readme
-@dirrm share/doc/wordnet-fpw
+%%PORTDOCS%%%%DOCSDIR%%/readme
+%%PORTDOCS%%@dirrm %%DOCSDIR%%