summaryrefslogtreecommitdiff
path: root/japanese/foldoc-fpw
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-03-03 16:19:47 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-03-03 16:19:47 +0000
commit5fd64909840e7d9d0fb9b531cea3465e7aef6393 (patch)
treec1573b5e90975ed2d31f51a5f01246f0d9b7b1cf /japanese/foldoc-fpw
parentAdd fpc-md5, a Free Pascal module with MD5 hash routines. (diff)
Utilize PORTDOCS and DOCSDIR.
PR: ports/57861 Submitted by: rushani Approved by: taoka (blanket)
Diffstat (limited to 'japanese/foldoc-fpw')
-rw-r--r--japanese/foldoc-fpw/Makefile5
-rw-r--r--japanese/foldoc-fpw/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/japanese/foldoc-fpw/Makefile b/japanese/foldoc-fpw/Makefile
index 70e9be88f911..69931ad69638 100644
--- a/japanese/foldoc-fpw/Makefile
+++ b/japanese/foldoc-fpw/Makefile
@@ -7,6 +7,7 @@
PORTNAME= foldoc-fpw
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/foldoc/
DISTNAME= ${PORTNAME}${PORTVERSION}
@@ -26,8 +27,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/foldoc/gaiji/gai16h ${PREFIX}/share/dict/foldoc-fpw/foldoc/gaiji
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/foldoc-fpw
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/foldoc-fpw
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/foldoc-fpw
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/japanese/foldoc-fpw/pkg-plist b/japanese/foldoc-fpw/pkg-plist
index c1688fa8ac9e..d5d5b0d65d7d 100644
--- a/japanese/foldoc-fpw/pkg-plist
+++ b/japanese/foldoc-fpw/pkg-plist
@@ -5,5 +5,5 @@ share/dict/foldoc-fpw/foldoc/gaiji/gai16h
@dirrm share/dict/foldoc-fpw/foldoc/gaiji
@dirrm share/dict/foldoc-fpw/foldoc
@dirrm share/dict/foldoc-fpw
-share/doc/foldoc-fpw/readme.txt
-@dirrm share/doc/foldoc-fpw
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%