diff options
Diffstat (limited to 'graphics/ruby-evas')
-rw-r--r-- | graphics/ruby-evas/Makefile | 17 | ||||
-rw-r--r-- | graphics/ruby-evas/pkg-plist | 2 |
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%% |