aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-22 18:36:15 +0800
committermiwi <miwi@FreeBSD.org>2014-02-22 18:36:15 +0800
commitdf67c8ef7ee89ba3e122de5306009659599961d2 (patch)
tree7237982d84735c490e9cf2f71d01f60de11beb58 /textproc
parent562f3592abbc651575d45f886738587fc43d42db (diff)
downloadfreebsd-ports-gnome-df67c8ef7ee89ba3e122de5306009659599961d2.tar.gz
freebsd-ports-gnome-df67c8ef7ee89ba3e122de5306009659599961d2.tar.zst
freebsd-ports-gnome-df67c8ef7ee89ba3e122de5306009659599961d2.zip
- Stage support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/ruby-format/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/textproc/ruby-format/Makefile b/textproc/ruby-format/Makefile
index 265052dcd8e7..41672c71a232 100644
--- a/textproc/ruby-format/Makefile
+++ b/textproc/ruby-format/Makefile
@@ -16,18 +16,16 @@ USE_RUBY= yes
NO_BUILD= yes
-NO_STAGE= yes
post-patch:
${RUBY} -i.orig -pe 'gsub(/"(format_test\.pl)/, "\"./\\1")' ${WRKSRC}/test_format.rb
do-install:
- ${INSTALL_DATA} ${WRKSRC}/format.rb ${RUBY_SITELIBDIR}/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}/test
+ ${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/format.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/test
.for f in test_format.rb format_test.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor
- ${INSTALL_DATA} ${WRKSRC}/test/* ${RUBY_MODEXAMPLESDIR}/test/
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/test/
.include <bsd.port.mk>