aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-31 04:42:27 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-31 04:42:27 +0000
commit954c7a40bc41461a16d6b6b4d7ed7ed3092e6e5d (patch)
tree93f188135aa5709f083f6bec2f0f232ae97ab340
parent44a745821c46918997937271feec2493959dbccd (diff)
downloadports-954c7a40bc41461a16d6b6b4d7ed7ed3092e6e5d.tar.gz
ports-954c7a40bc41461a16d6b6b4d7ed7ed3092e6e5d.zip
Notes
-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%%