aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ruby-evas
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-12-07 01:17:38 +0800
committerknu <knu@FreeBSD.org>2002-12-07 01:17:38 +0800
commit9c46f078394d114e50ad01ff921a88b74dda7eb1 (patch)
tree4810246f6e2ebdc6787c76cd4552ffabb88ae682 /graphics/ruby-evas
parent1900d9b4804ade641a7bbef2252af134e5f2ba8f (diff)
downloadfreebsd-ports-gnome-9c46f078394d114e50ad01ff921a88b74dda7eb1.tar.gz
freebsd-ports-gnome-9c46f078394d114e50ad01ff921a88b74dda7eb1.tar.zst
freebsd-ports-gnome-9c46f078394d114e50ad01ff921a88b74dda7eb1.zip
Introduce a knob RUBY_NO_RD_HTML and enable it by default on alpha. This
replaces the non-working NOPORTDOCS workaround and fixes build on the alpha, where rd2 coredumps. Tested on: the axp cluster Approved by: kris
Diffstat (limited to 'graphics/ruby-evas')
-rw-r--r--graphics/ruby-evas/Makefile17
-rw-r--r--graphics/ruby-evas/pkg-plist2
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/ruby-evas/Makefile b/graphics/ruby-evas/Makefile
index f627917b13f5..78e85cd03302 100644
--- a/graphics/ruby-evas/Makefile
+++ b/graphics/ruby-evas/Makefile
@@ -19,22 +19,25 @@ LIB_DEPENDS= evas.6:${PORTSDIR}/graphics/evas
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-USE_RUBY_RDTOOL= yes
+
+RUBY_RD_FILES= # defined
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${BUILD_WRKSRC}
INSTALL_TARGET= site-install
-DOCS= README doc/evas.rd doc/evas.html
+DOCS= README doc/evas.*
+
+post-install: doc-install
+
+.include <bsd.port.mk>
-post-build:
+doc-install:
.if !defined(NOPORTDOCS)
+.if !defined(RUBY_NO_RD_HTML)
cd ${WRKSRC}/doc; ${MAKE}
.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${CP} -R ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
@@ -42,5 +45,3 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
-
-.include <bsd.port.mk>
diff --git a/graphics/ruby-evas/pkg-plist b/graphics/ruby-evas/pkg-plist
index 6d1605225e34..ea641fbcff11 100644
--- a/graphics/ruby-evas/pkg-plist
+++ b/graphics/ruby-evas/pkg-plist
@@ -9,6 +9,6 @@
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/nonblock.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/evas.html
+%%PORTDOCS%%%%RUBY_RD_HTML_FILES%%%%RUBY_MODDOCDIR%%/evas.html
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/evas.rd
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%