aboutsummaryrefslogtreecommitdiff
path: root/japanese/mypaedia-fpw-package
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/mypaedia-fpw-package
parent7bfb394b24e6129e0a1a46eaaa0d8189cb87c627 (diff)
downloadports-5fd64909840e7d9d0fb9b531cea3465e7aef6393.tar.gz
ports-5fd64909840e7d9d0fb9b531cea3465e7aef6393.zip
Utilize PORTDOCS and DOCSDIR.
PR: ports/57861 Submitted by: rushani Approved by: taoka (blanket)
Notes
Notes: svn path=/head/; revision=102844
Diffstat (limited to 'japanese/mypaedia-fpw-package')
-rw-r--r--japanese/mypaedia-fpw-package/Makefile6
-rw-r--r--japanese/mypaedia-fpw-package/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/japanese/mypaedia-fpw-package/Makefile b/japanese/mypaedia-fpw-package/Makefile
index 60892db7366e..6896d5dfdf79 100644
--- a/japanese/mypaedia-fpw-package/Makefile
+++ b/japanese/mypaedia-fpw-package/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mypaedia-fpw-package
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/mypaedia/
@@ -22,16 +23,15 @@ NO_BUILD= yes
PLIST_SUB= PKGNAME=${PKGNAME}
PKG_DIR= ${PREFIX}/share/dict/lookup-package
-PORT_DOCDIR= ${PREFIX}/share/doc/${PKGNAME}
do-install:
${MKDIR} ${PKG_DIR}
${INSTALL_DATA} ${WRKSRC}/mypaedia-fpw.el ${PKG_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/extract-mypaedia.pl ${PKG_DIR}
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PORT_DOCDIR}
+ ${MKDIR} ${DOCSDIR}
.for file in ChangeLog README.TXT
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PORT_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/japanese/mypaedia-fpw-package/pkg-plist b/japanese/mypaedia-fpw-package/pkg-plist
index 6269b1260886..3960aeb0bf87 100644
--- a/japanese/mypaedia-fpw-package/pkg-plist
+++ b/japanese/mypaedia-fpw-package/pkg-plist
@@ -1,6 +1,6 @@
share/dict/lookup-package/mypaedia-fpw.el
share/dict/lookup-package/extract-mypaedia.pl
-share/doc/%%PKGNAME%%/ChangeLog
-share/doc/%%PKGNAME%%/README.TXT
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README.TXT
@dirrm share/dict/lookup-package
-@dirrm share/doc/%%PKGNAME%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%