aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-25 17:08:06 +0800
committermiwi <miwi@FreeBSD.org>2014-02-25 17:08:06 +0800
commite5824f8cf8cd66441b829cd6e9f657a6920adde2 (patch)
treea5a36921ec0857a083a7a5b0bc778e71dd1d3752 /www
parent1db7138d85529b8a0a3531ff12a63a99a6ccb368 (diff)
downloadfreebsd-ports-gnome-e5824f8cf8cd66441b829cd6e9f657a6920adde2.tar.gz
freebsd-ports-gnome-e5824f8cf8cd66441b829cd6e9f657a6920adde2.tar.zst
freebsd-ports-gnome-e5824f8cf8cd66441b829cd6e9f657a6920adde2.zip
- Stage support
Diffstat (limited to 'www')
-rw-r--r--www/ruby-amazon/Makefile21
1 files changed, 5 insertions, 16 deletions
diff --git a/www/ruby-amazon/Makefile b/www/ruby-amazon/Makefile
index ac1ef4099e5e..9471b88bf056 100644
--- a/www/ruby-amazon/Makefile
+++ b/www/ruby-amazon/Makefile
@@ -20,25 +20,14 @@ USE_RUBY_SETUP= yes
DOCS= NEWS README TODO
EXAMPLES= example/*
-RUBY_REQUIRE= Ruby > 180
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if !defined(RUBY_PROVIDED)
-IGNORE= only works with Ruby 1.8.0 or later
-.endif
-
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}
+ ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
.endfor
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>