aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-08 00:29:10 +0800
committerbapt <bapt@FreeBSD.org>2014-04-08 00:29:10 +0800
commit79be1276adc5808a2c617f0c4e649893bae8f648 (patch)
tree4563163c54793592b32757ecd8a37a1f69b0287d /www
parent492ba86af98e70576e2085059dc5b49ab5cfa6ad (diff)
downloadfreebsd-ports-gnome-79be1276adc5808a2c617f0c4e649893bae8f648.tar.gz
freebsd-ports-gnome-79be1276adc5808a2c617f0c4e649893bae8f648.tar.zst
freebsd-ports-gnome-79be1276adc5808a2c617f0c4e649893bae8f648.zip
Support stage
Diffstat (limited to 'www')
-rw-r--r--www/ruby-borges/Makefile16
-rw-r--r--www/ruby-borges/pkg-plist34
2 files changed, 20 insertions, 30 deletions
diff --git a/www/ruby-borges/Makefile b/www/ruby-borges/Makefile
index cdc74e703e41..f1b63b2ebc2d 100644
--- a/www/ruby-borges/Makefile
+++ b/www/ruby-borges/Makefile
@@ -11,29 +11,19 @@ DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= A web application framework for Ruby that allows linear programming
+OPTIONS_DEFINE= DOCS EXAMPLES
+
USE_RUBY= yes
USE_RUBY_SETUP= yes
DOCS= BUGS CHANGELOG README
EXAMPLES= data/examples/ruby/borges/*
-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-extract:
# This port is not really RUBY_MODEXAMPLESDIR/RUBY_MODDOCDIR clean
.for d in doc examples
${MV} ${WRKSRC}/data/${d}/ruby/Borges ${WRKSRC}/data/${d}/ruby/borges
${MV} ${WRKSRC}/data/${d}/ruby ${WRKSRC}/data/${d}/${RUBY_NAME}
-.if defined(NOPORTDOCS)
- ${MV} ${WRKSRC}/data/${d} ${WRKSRC}/
-.endif
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/ruby-borges/pkg-plist b/www/ruby-borges/pkg-plist
index 34de6cbf6f08..94a972551815 100644
--- a/www/ruby-borges/pkg-plist
+++ b/www/ruby-borges/pkg-plist
@@ -137,23 +137,23 @@
@dirrm %%RUBY_SITELIBDIR%%/Borges/Component
@dirrm %%RUBY_SITELIBDIR%%/Borges/Callback
@dirrm %%RUBY_SITELIBDIR%%/Borges
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/ObjectSpaceBrowser.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreBanner.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreBrowseFrame.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreCart.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreCheckoutTask.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreFront.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItem.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItemList.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItemView.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreSearchTask.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreSession.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreTask.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/sushi.ico
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/borges-cgi.rb
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/SushiNet
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/ObjectSpaceBrowser.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreBanner.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreBrowseFrame.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreCart.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreCheckoutTask.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreFront.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItem.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItemList.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreItemView.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreSearchTask.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreSession.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/StoreTask.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/SushiNet/sushi.ico
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/borges-cgi.rb
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/SushiNet
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/INSTALL
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/RDoc/classes/ActionCallbackTest.html