aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-22 18:36:29 +0800
committermiwi <miwi@FreeBSD.org>2014-02-22 18:36:29 +0800
commit1521b45a0531054b487bc359c4deb0761c1094d1 (patch)
treedf0d9e53602bab05e4d0be999d4eeafe6d812da1
parentc1635b40de969727bb00b77bf7c113460211c03a (diff)
downloadfreebsd-ports-gnome-1521b45a0531054b487bc359c4deb0761c1094d1.tar.gz
freebsd-ports-gnome-1521b45a0531054b487bc359c4deb0761c1094d1.tar.zst
freebsd-ports-gnome-1521b45a0531054b487bc359c4deb0761c1094d1.zip
- Stage support
-rw-r--r--japanese/ruby-romkan/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/japanese/ruby-romkan/Makefile b/japanese/ruby-romkan/Makefile
index e0872a155181..f434f4c719f6 100644
--- a/japanese/ruby-romkan/Makefile
+++ b/japanese/ruby-romkan/Makefile
@@ -25,29 +25,25 @@ DOCS_EN= ChangeLog \
DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \
${RUBY_RD_HTML_FILES:M*.ja.html}
-NO_STAGE= yes
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${RUBY_SITELIBDIR}/
+ ${MKDIR} ${STAGEDIR}/${RUBY_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/romkan.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
-post-install: doc-install
-
-doc-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja
+post-install:
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja
.for f in ${EXAMPLES_JA}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ja/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ja/
.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}/ja
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja/
.endfor
-.endif
.include <bsd.port.post.mk>