aboutsummaryrefslogtreecommitdiff
path: root/japanese/ng-devel
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ng-devel')
-rw-r--r--japanese/ng-devel/Makefile5
-rw-r--r--japanese/ng-devel/pkg-plist20
2 files changed, 13 insertions, 12 deletions
diff --git a/japanese/ng-devel/Makefile b/japanese/ng-devel/Makefile
index d9285cd39624..b54c06193aaa 100644
--- a/japanese/ng-devel/Makefile
+++ b/japanese/ng-devel/Makefile
@@ -20,13 +20,14 @@ GNU_CONFIGURE= yes
MYPORTDOCS= CHANGES.1_3 CHANGES.1_4 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \
README.Ng README.SKG
LATEST_LINK= ng-devel
+DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ja/ng
+ ${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/ja/ng/${file}.euc-jp
+ ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}/${file}.euc-jp
.endfor
.endif
diff --git a/japanese/ng-devel/pkg-plist b/japanese/ng-devel/pkg-plist
index 5ece9a804ba5..228c1a0d527b 100644
--- a/japanese/ng-devel/pkg-plist
+++ b/japanese/ng-devel/pkg-plist
@@ -1,11 +1,11 @@
bin/ng
-share/doc/ja/ng/CHANGES.1_3.euc-jp
-share/doc/ja/ng/CHANGES.1_4.euc-jp
-share/doc/ja/ng/CHANGES.doc.euc-jp
-share/doc/ja/ng/Ng.FAQ.euc-jp
-share/doc/ja/ng/Ng.doc.euc-jp
-share/doc/ja/ng/Ng.ref.euc-jp
-share/doc/ja/ng/Ng.tut.euc-jp
-share/doc/ja/ng/README.Ng.euc-jp
-share/doc/ja/ng/README.SKG.euc-jp
-@dirrm share/doc/ja/ng
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.1_3.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.1_4.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.doc.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/Ng.FAQ.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/Ng.doc.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/Ng.ref.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/Ng.tut.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/README.Ng.euc-jp
+%%PORTDOCS%%%%DOCSDIR%%/README.SKG.euc-jp
+%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%